Added Level singleton to manage the (un)loading of levels and entrypoints
This commit is contained in:
parent
642e98b44e
commit
71eae88a33
7 changed files with 80 additions and 22 deletions
|
@ -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
|
||||
|
|
Reference in a new issue