space now increments height
This commit is contained in:
@@ -36,7 +36,8 @@ fn move_player_from_input(
|
||||
input: Res<ButtonInput<KeyCode>>,
|
||||
level_walls: Res<LevelWalls>,
|
||||
) {
|
||||
let movement_direction = if input.just_pressed(KeyCode::KeyW) {
|
||||
let movement_direction =
|
||||
if input.just_pressed(KeyCode::KeyW) || input.just_pressed(KeyCode::Space) {
|
||||
GridCoords::new(0, 1)
|
||||
} else if input.just_pressed(KeyCode::KeyA) {
|
||||
GridCoords::new(-1, 0)
|
||||
|
||||
Reference in New Issue
Block a user