diff --git a/README.md b/README.md index 008e75c..5c65df9 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,9 @@ Puzzle game made by Tom for the Playmakers August Jam 2024 ## COMMANDS - [x] Jump - go up! works in the air too -- [x] Dash - Move in direction you are facing for 0.3s +- [ ] Dash - Move in direction you are facing for 0.3s (horizontal only, maybe normalise) - [x] Phase - collider turns off for 1 second (should i make this longer or a toggle perhaps?) +- [ ] Toggle gravity - could also be low gravity? - 2-3 more commands would add more content/puzzle potencial ## BUGS diff --git a/Scripts/Player.gd b/Scripts/Player.gd index 32472ca..81bcfec 100644 --- a/Scripts/Player.gd +++ b/Scripts/Player.gd @@ -98,6 +98,7 @@ func _physics_process(delta): gravity = 0 dash_time -= delta var dash_direction = camera.global_position.direction_to(dash_node.global_position) + dash_direction.y = 0 velocity = dash_direction * SPEED*350 * delta elif dashing: dashing = false