This commit is contained in:
pennyrigate 2025-07-17 23:20:13 -04:00
parent 97a97192de
commit 268b392a3b
9 changed files with 126 additions and 6 deletions

View file

@ -153,10 +153,10 @@ func tally_scores() -> void:
#Go to new map
func change_map(map: PackedScene) -> void:
func change_map(map: PackedScene,fade:float = Options.transition_speed_secs) -> void:
get_tree().paused = true
can_pause = false
Fade.fade_out(Options.transition_speed_secs)
Fade.fade_out(fade)
yield(Fade, "fade_finished")
can_pause = true
# save deaths