* Refactor collectable components to C# and update resource scripts for consistency * Update resource paths and refactor properties for consistency * Refactor UI components to inherit from Control and update node paths for consistency * Update node paths and group assignments for consistency across scenes * Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling * Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration * Refactor skill components and update resource paths for consistency; enhance skill management in scenes * Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling * Add next level command and refactor player retrieval in GameManager; update scene files for consistency * Add skill upgrade system and refactor skill components for enhanced functionality; update resource paths and configurations * Enhance ChargeProgressBar and Marketplace functionality; add owner exit handling and update skill button states * Refactor ChargeProgressBar and SkillManager; update skill handling and improve component interactions * Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://wmw6gaisyrvx"]
|
|
|
|
[ext_resource type="Script" uid="uid://u4qfsx4w72dv" path="res://scripts/UI/GameOverScreen.cs" id="1_w4aho"]
|
|
[ext_resource type="PackedScene" uid="uid://cl00e2ocomk3m" path="res://scenes/main_menu.tscn" id="2_brh6h"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mtg1b"]
|
|
bg_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="GameOverScreen" type="Control" node_paths=PackedStringArray("GameOverPanel", "RestartButton", "MainMenuButton")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_w4aho")
|
|
GameOverPanel = NodePath(".")
|
|
RestartButton = NodePath("PanelContainer/MarginContainer/VBoxContainer/RestartLevelButton")
|
|
MainMenuButton = NodePath("PanelContainer/MarginContainer/VBoxContainer/MenuButton")
|
|
MainMenuScene = ExtResource("2_brh6h")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_mtg1b")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 16
|
|
theme_override_constants/margin_top = 32
|
|
theme_override_constants/margin_right = 16
|
|
theme_override_constants/margin_bottom = 16
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "GAME_OVER"
|
|
horizontal_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 32)
|
|
layout_mode = 2
|
|
|
|
[node name="RestartLevelButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "RESTART_LEVEL_BUTTON"
|
|
flat = true
|
|
|
|
[node name="MenuButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "GO_TO_MENU_BUTTON"
|
|
flat = true
|