Starting to work on motion through acceleration

This commit is contained in:
2018-10-10 14:24:43 +02:00
parent 467aed4374
commit c80e5286a5
4 changed files with 33 additions and 13 deletions
+6
View File
@@ -11,3 +11,9 @@ pub const JUMP_SPEED: Vector2<f32> = Vector2 { x: 0.0, y: -12.5 * 32.0 };
/// The maximum vertical speed.
pub const MAXIMUM_VERTICAL_SPEED: f32 = 10.0 * 32.0;
/// The maximul walking speed.
pub const MAXIMUM_WALKING_SPEED: f32 = 2.5 * 32.0;
/// The maximum running speed.
pub const MAXIMUM_RUNNING_SPEED: f32 = 5.0 * 32.0;