Increase player speed
This commit is contained in:
parent
9e16c22eb5
commit
e816846d19
@ -74,8 +74,8 @@ pub fn player_movement(
|
||||
let translation = &mut transform.translation;
|
||||
let delta_seconds = time.delta_seconds();
|
||||
|
||||
translation.x += delta_seconds * direction.x * 100.0;
|
||||
translation.y += delta_seconds * direction.y * 100.0;
|
||||
translation.x += delta_seconds * direction.x * 300.0;
|
||||
translation.y += delta_seconds * direction.y * 300.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user