Refactor death screen logic; update level resource scene path and add new levels to game manager

This commit is contained in:
2025-05-17 00:33:27 +02:00
parent 19e2953181
commit 913e2039a7
13 changed files with 510 additions and 302 deletions

View File

@@ -2,4 +2,4 @@ class_name LevelResource
extends Resource
@export var level_name: String
@export var scene_path: PackedScene
@export var scene_path: String

View File

@@ -58,5 +58,5 @@ func on_timeout() -> void:
if gm.get_lives() == 0:
return
get_tree().reload_current_scene()