|
| 1 | +[gd_scene load_steps=2 format=3 uid="uid://hjho5n2f8rkf"] |
| 2 | + |
| 3 | +[ext_resource type="Script" path="res://scenes/UI/scripts/EndScreen.cs" id="1_37m3y"] |
| 4 | + |
| 5 | +[node name="CanvasLayer" type="CanvasLayer" node_paths=PackedStringArray("buttons", "TopLabel")] |
| 6 | +process_mode = 2 |
| 7 | +script = ExtResource("1_37m3y") |
| 8 | +buttons = [NodePath("MarginContainer2/VBoxContainer/MarginContainer/Restart"), NodePath("MarginContainer2/VBoxContainer/MarginContainer2/Title"), NodePath("MarginContainer2/VBoxContainer/MarginContainer3/Quit")] |
| 9 | +TopLabel = NodePath("MarginContainer2/VBoxContainer/TopLabel") |
| 10 | + |
| 11 | +[node name="ColorRect" type="ColorRect" parent="."] |
| 12 | +offset_right = 640.0 |
| 13 | +offset_bottom = 360.0 |
| 14 | +color = Color(0.24, 0.24, 0.24, 0.854902) |
| 15 | + |
| 16 | +[node name="MarginContainer2" type="MarginContainer" parent="."] |
| 17 | +anchors_preset = 15 |
| 18 | +anchor_right = 1.0 |
| 19 | +anchor_bottom = 1.0 |
| 20 | +grow_horizontal = 2 |
| 21 | +grow_vertical = 2 |
| 22 | +theme_override_constants/margin_left = 200 |
| 23 | +theme_override_constants/margin_top = 20 |
| 24 | +theme_override_constants/margin_right = 200 |
| 25 | +theme_override_constants/margin_bottom = 20 |
| 26 | + |
| 27 | +[node name="ColorRect" type="ColorRect" parent="MarginContainer2"] |
| 28 | +layout_mode = 2 |
| 29 | +color = Color(0.172833, 0.172833, 0.172833, 0.945) |
| 30 | + |
| 31 | +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer2"] |
| 32 | +layout_mode = 2 |
| 33 | + |
| 34 | +[node name="TopLabel" type="Label" parent="MarginContainer2/VBoxContainer"] |
| 35 | +unique_name_in_owner = true |
| 36 | +layout_mode = 2 |
| 37 | +theme_override_font_sizes/font_size = 20 |
| 38 | +text = "Game Over!" |
| 39 | +horizontal_alignment = 1 |
| 40 | + |
| 41 | +[node name="HSeparator" type="HSeparator" parent="MarginContainer2/VBoxContainer"] |
| 42 | +layout_mode = 2 |
| 43 | + |
| 44 | +[node name="MarginContainer" type="MarginContainer" parent="MarginContainer2/VBoxContainer"] |
| 45 | +layout_mode = 2 |
| 46 | +size_flags_vertical = 3 |
| 47 | +theme_override_constants/margin_left = 20 |
| 48 | +theme_override_constants/margin_top = 20 |
| 49 | +theme_override_constants/margin_right = 20 |
| 50 | +theme_override_constants/margin_bottom = 20 |
| 51 | + |
| 52 | +[node name="Restart" type="Button" parent="MarginContainer2/VBoxContainer/MarginContainer"] |
| 53 | +layout_mode = 2 |
| 54 | +focus_neighbor_top = NodePath("../../MarginContainer3/Quit") |
| 55 | +focus_neighbor_bottom = NodePath("../../MarginContainer2/Title") |
| 56 | +text = "Restart" |
| 57 | + |
| 58 | +[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer2/VBoxContainer"] |
| 59 | +layout_mode = 2 |
| 60 | +size_flags_vertical = 3 |
| 61 | +theme_override_constants/margin_left = 20 |
| 62 | +theme_override_constants/margin_top = 20 |
| 63 | +theme_override_constants/margin_right = 20 |
| 64 | +theme_override_constants/margin_bottom = 20 |
| 65 | + |
| 66 | +[node name="Title" type="Button" parent="MarginContainer2/VBoxContainer/MarginContainer2"] |
| 67 | +layout_mode = 2 |
| 68 | +focus_neighbor_top = NodePath("../../MarginContainer/Restart") |
| 69 | +focus_neighbor_bottom = NodePath("../../MarginContainer3/Quit") |
| 70 | +text = "Quit To Title" |
| 71 | + |
| 72 | +[node name="MarginContainer3" type="MarginContainer" parent="MarginContainer2/VBoxContainer"] |
| 73 | +layout_mode = 2 |
| 74 | +size_flags_vertical = 3 |
| 75 | +theme_override_constants/margin_left = 20 |
| 76 | +theme_override_constants/margin_top = 20 |
| 77 | +theme_override_constants/margin_right = 20 |
| 78 | +theme_override_constants/margin_bottom = 20 |
| 79 | + |
| 80 | +[node name="Quit" type="Button" parent="MarginContainer2/VBoxContainer/MarginContainer3"] |
| 81 | +layout_mode = 2 |
| 82 | +focus_neighbor_top = NodePath("../../MarginContainer2/Title") |
| 83 | +focus_neighbor_bottom = NodePath("../../MarginContainer/Restart") |
| 84 | +text = "Quit Game" |
0 commit comments