Refactor gameplay menus into owned scenes
This commit is contained in:
parent
46196a1adb
commit
a17fe88197
50 changed files with 3449 additions and 3619 deletions
63
ui/menus/PlanningMenu.tscn
Normal file
63
ui/menus/PlanningMenu.tscn
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/IconButton.gd" id="10"]
|
||||
[ext_resource type="Script" path="res://ui/PlanningPanel.gd" id="35"]
|
||||
[ext_resource type="Script" path="res://ui/menus/PlanningMenu.gd" id="menu_script"]
|
||||
|
||||
[node name="PlanningMenu" type="Control" groups=["modal_menus"]]
|
||||
visible = false
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource("menu_script")
|
||||
|
||||
[node name="Backdrop" type="ColorRect" parent="."]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color(0.03, 0.03, 0.08, 0.94)
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="."]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = 20.0
|
||||
offset_right = -200.0
|
||||
offset_bottom = 82.0
|
||||
text = "Planning Center"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Panel" type="Control" parent="."]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
offset_left = 40.0
|
||||
offset_top = 120.0
|
||||
offset_right = -40.0
|
||||
offset_bottom = -180.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource("35")
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="."]
|
||||
mouse_filter = 2
|
||||
anchor_right = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 32.0
|
||||
offset_top = -160.0
|
||||
offset_right = -32.0
|
||||
offset_bottom = -24.0
|
||||
theme_override_font_sizes/font_size = 28
|
||||
autowrap_mode = 2
|
||||
horizontal_alignment = 1
|
||||
text = ""
|
||||
|
||||
[node name="CloseButton" type="Control" parent="."]
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -140.0
|
||||
offset_top = 20.0
|
||||
offset_right = -24.0
|
||||
offset_bottom = 136.0
|
||||
script = ExtResource("10")
|
||||
icon = 1
|
||||
glow_color = Color(0.62, 0.74, 0.92, 1)
|
||||
Loading…
Reference in a new issue