Refactor scene structure and resource paths; add death and game over screens

This commit is contained in:
2025-05-10 02:33:49 +02:00
parent 04cce84c6c
commit a95d96dcc9
38 changed files with 486 additions and 88 deletions

View File

@@ -1,15 +1,21 @@
[gd_scene load_steps=2 format=3 uid="uid://wmw6gaisyrvx"]
[gd_scene load_steps=3 format=3 uid="uid://wmw6gaisyrvx"]
[ext_resource type="Script" uid="uid://bkd7o2u4psu4p" path="res://scripts/ui/game_over_screen.gd" id="1_v1o0m"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mtg1b"]
bg_color = Color(0, 0, 0, 1)
[node name="GameOverScreen" type="Control"]
[node name="GameOverScreen" type="Control" node_paths=PackedStringArray("game_over_screen", "restart_button", "main_menu_button")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_v1o0m")
game_over_screen = NodePath(".")
restart_button = NodePath("PanelContainer/MarginContainer/VBoxContainer/RestartLevelButton")
main_menu_button = NodePath("PanelContainer/MarginContainer/VBoxContainer/MenuButton")
[node name="PanelContainer" type="PanelContainer" parent="."]
layout_mode = 1