added freeze frame after death

This commit is contained in:
pennyrigate 2023-01-17 19:25:15 -05:00
parent 62c91bb21f
commit f4dda0ab1b
8 changed files with 53 additions and 5 deletions

View file

@ -53,7 +53,7 @@ func _physics_process(delta):
Game.change_map(load("res://maps/level_select.tscn"))
#Debug 2
if Input.is_action_just_pressed("debug_2"):
Engine.set_target_fps(1)
Game.freeze_frame(1.0)
func print(text):
lines += 1