mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Addressed testing feedback.
Particles better.
This commit is contained in:
parent
b9d6bd2fd2
commit
d2d8d43410
@ -202,7 +202,7 @@ void main() {
|
||||
attr = Attr(
|
||||
linear_motion(
|
||||
normalize(vec3(rand0, rand1, rand3)) * 0.3,
|
||||
normalize(vec3(rand4, rand5, rand6)) * 2.0 + grav_vel(earth_gravity)
|
||||
normalize(vec3(rand4, rand5, rand6)) * 4.0 + grav_vel(earth_gravity)
|
||||
),
|
||||
vec3(1.0),
|
||||
vec4(3.5, 3 + rand7, 0, 1),
|
||||
|
@ -350,8 +350,8 @@ impl CharacterAbility {
|
||||
|
||||
pub fn default_block() -> CharacterAbility {
|
||||
CharacterAbility::BasicBlock {
|
||||
buildup_duration: 0.3,
|
||||
recover_duration: 0.2,
|
||||
buildup_duration: 0.35,
|
||||
recover_duration: 0.3,
|
||||
max_angle: 60.0,
|
||||
block_strength: 0.5,
|
||||
energy_cost: 50.0,
|
||||
|
@ -205,7 +205,7 @@ impl ParticleMgr {
|
||||
},
|
||||
Outcome::Block { pos, parry } => {
|
||||
if *parry {
|
||||
self.particles.resize_with(self.particles.len() + 20, || {
|
||||
self.particles.resize_with(self.particles.len() + 10, || {
|
||||
Particle::new(
|
||||
Duration::from_millis(200),
|
||||
time,
|
||||
|
Loading…
Reference in New Issue
Block a user