notes and changed dash behaviour to be horizontal only

This commit is contained in:
Clevertop 2024-08-11 15:30:43 +10:00
parent f1dea7e36d
commit 44de4bd028
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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