spaceship/ui/menus/DevMenu.tscn
Loïc Wisniewski 571f01dc31 Add a free-costs sandbox tool
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
2026-09-04 22:34:36 +02:00

197 lines
5.1 KiB
Text

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://ui/IconButton.gd" id="icon_button"]
[ext_resource type="Script" path="res://ui/menus/DevMenu.gd" id="menu_script"]
[node name="DevMenu" 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.96)
[node name="Content" type="Control" parent="."]
layout_mode = 0
offset_right = 720.0
offset_bottom = 1280.0
[node name="TitleLabel" type="Label" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_left = 24.0
offset_top = 34.0
offset_right = -160.0
offset_bottom = 92.0
theme_override_font_sizes/font_size = 38
text = "DEV MENU"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SubtitleLabel" type="Label" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_left = 24.0
offset_top = 96.0
offset_right = -24.0
offset_bottom = 138.0
theme_override_colors/font_color = Color(0.55, 0.78, 0.86, 1)
theme_override_font_sizes/font_size = 20
text = "Changes apply to this play-test immediately"
horizontal_alignment = 1
[node name="CloseButton" type="Control" parent="Content"]
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("icon_button")
icon = 1
glow_color = Color(0.55, 0.6, 1, 1)
[node name="RuleTop" type="ColorRect" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_left = 32.0
offset_top = 151.0
offset_right = -32.0
offset_bottom = 153.0
color = Color(0.25, 0.85, 1, 0.55)
[node name="FleetSummary" type="Label" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_left = 40.0
offset_top = 162.0
offset_right = -40.0
offset_bottom = 202.0
theme_override_font_sizes/font_size = 24
text = "CURRENT FLEET"
horizontal_alignment = 1
vertical_alignment = 1
[node name="FleetRows" type="VBoxContainer" parent="Content"]
anchor_right = 1.0
offset_left = 42.0
offset_top = 208.0
offset_right = -42.0
offset_bottom = 820.0
theme_override_constants/separation = 7
[node name="RuleBottom" type="ColorRect" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_left = 32.0
offset_top = 836.0
offset_right = -32.0
offset_bottom = 838.0
color = Color(0.45, 0.9, 0.55, 0.55)
[node name="ToolsTitle" type="Label" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
offset_top = 850.0
offset_bottom = 888.0
theme_override_font_sizes/font_size = 23
text = "SANDBOX TOOLS"
horizontal_alignment = 1
[node name="ToolButtons" type="HBoxContainer" parent="Content"]
anchor_right = 1.0
offset_left = 24.0
offset_top = 896.0
offset_right = -24.0
offset_bottom = 1012.0
theme_override_constants/separation = 52
alignment = 1
[node name="UnlockSkills" type="Control" parent="Content/ToolButtons"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
script = ExtResource("icon_button")
icon = 18
glow_color = Color(0.45, 0.9, 0.55, 1)
[node name="UnlimitedResources" type="Control" parent="Content/ToolButtons"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
script = ExtResource("icon_button")
icon = 29
glow_color = Color(1, 0.78, 0.25, 1)
[node name="FreeCosts" type="Control" parent="Content/ToolButtons"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
script = ExtResource("icon_button")
icon = 28
glow_color = Color(0.55, 0.75, 1, 1)
[node name="StartWave" type="Control" parent="Content/ToolButtons"]
custom_minimum_size = Vector2(116, 116)
layout_mode = 2
script = ExtResource("icon_button")
icon = 24
glow_color = Color(1, 0.45, 0.2, 1)
[node name="ToolLabels" type="HBoxContainer" parent="Content"]
anchor_right = 1.0
offset_left = 24.0
offset_top = 1018.0
offset_right = -24.0
offset_bottom = 1114.0
theme_override_constants/separation = 8
alignment = 1
[node name="UnlockLabel" type="Label" parent="Content/ToolLabels"]
custom_minimum_size = Vector2(160, 92)
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "UNLOCK ALL\nSKILLS"
horizontal_alignment = 1
vertical_alignment = 1
[node name="UnlimitedLabel" type="Label" parent="Content/ToolLabels"]
custom_minimum_size = Vector2(160, 92)
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "UNLIMITED\nRESOURCES\nOFF"
horizontal_alignment = 1
vertical_alignment = 1
[node name="FreeCostsLabel" type="Label" parent="Content/ToolLabels"]
custom_minimum_size = Vector2(160, 92)
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "FREE\nCOSTS\nOFF"
horizontal_alignment = 1
vertical_alignment = 1
[node name="WaveLabel" type="Label" parent="Content/ToolLabels"]
custom_minimum_size = Vector2(160, 92)
layout_mode = 2
theme_override_font_sizes/font_size = 20
text = "START ENEMY\nWAVE"
horizontal_alignment = 1
vertical_alignment = 1
[node name="StatusLabel" type="Label" parent="Content"]
mouse_filter = 2
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 32.0
offset_top = -158.0
offset_right = -32.0
offset_bottom = -40.0
theme_override_colors/font_color = Color(0.55, 0.9, 1, 1)
theme_override_font_sizes/font_size = 23
text = ""
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2