Added Level singleton to manage the (un)loading of levels and entrypoints

This commit is contained in:
ChaoticByte 2024-09-27 21:30:35 +02:00
parent 642e98b44e
commit 71eae88a33
No known key found for this signature in database
7 changed files with 80 additions and 22 deletions

View file

@ -34,3 +34,6 @@ func _physics_process(delta: float) -> void:
velocity.y = jump_velocity
jumps += 1
move_and_slide()
func reset_physics():
velocity = Vector2.ZERO