title screen
This commit is contained in:
parent
2fd199612b
commit
d464e0499b
12 changed files with 147 additions and 7 deletions
|
|
@ -119,6 +119,7 @@ func _process_cam_shake(delta: float) -> void:
|
|||
%Camera3D.position += v * .5
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if not Level.is_active(): return
|
||||
match state:
|
||||
State.NORMAL: _process_movement(delta)
|
||||
State.DASHING: _process_dash()
|
||||
|
|
@ -146,4 +147,4 @@ func damage(damager: Node3D) -> void:
|
|||
|
||||
if health == 0:
|
||||
pass
|
||||
#get_tree().reload_current_scene()
|
||||
get_tree().reload_current_scene()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue