added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
extends Node
func restart_level() -> void:
Global.checkpoint_passed = false
Level.first_load = true
Global.speed_run_timer = 0
Global.speed_run_timer_active = false
Global.reset_values()
AudioManager.main_level_music.stop()
Global.death_load = true
Global.current_level.reload_level()
func quit_to_menu() -> void:
Global.transition_to_scene("res://Scenes/Levels/TitleScreen.tscn")