feat: add run creation lifecycle
This commit is contained in:
@@ -0,0 +1,122 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/presentation/menu/main_menu.gd" id="1_menu"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/menu/CharacterCreation.tscn" id="2_creation"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBox_menu"]
|
||||
bg_color = Color(0.025, 0.04, 0.075, 0.96)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.25, 0.48, 0.62, 0.9)
|
||||
corner_radius_top_left = 8
|
||||
corner_radius_top_right = 8
|
||||
corner_radius_bottom_right = 8
|
||||
corner_radius_bottom_left = 8
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_menu")
|
||||
|
||||
[node name="Backdrop" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.005, 0.008, 0.02, 1)
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Menu" type="PanelContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -245.0
|
||||
offset_top = -255.0
|
||||
offset_right = 245.0
|
||||
offset_bottom = 255.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBox_menu")
|
||||
|
||||
[node name="Title" type="Label" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_top = 40.0
|
||||
offset_right = 490.0
|
||||
offset_bottom = 86.0
|
||||
theme_override_colors/font_color = Color(0.96, 0.84, 0.44, 1)
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "DUNGEON CRAWLER WORLD"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Subtitle" type="Label" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_top = 91.0
|
||||
offset_right = 490.0
|
||||
offset_bottom = 116.0
|
||||
theme_override_colors/font_color = Color(0.7, 0.82, 0.94, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "THE DUNGEON AWAITS"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="NewRunButton" type="Button" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 144.0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 184.0
|
||||
text = "NEW RUN"
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 193.0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 233.0
|
||||
text = "CONTINUE"
|
||||
|
||||
[node name="LoadSlotButton" type="Button" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 242.0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 282.0
|
||||
text = "LOAD SLOT"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 291.0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 331.0
|
||||
text = "OPTIONS"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 120.0
|
||||
offset_top = 340.0
|
||||
offset_right = 370.0
|
||||
offset_bottom = 380.0
|
||||
text = "QUIT"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="Menu"]
|
||||
layout_mode = 0
|
||||
offset_left = 40.0
|
||||
offset_top = 410.0
|
||||
offset_right = 450.0
|
||||
offset_bottom = 454.0
|
||||
theme_override_colors/font_color = Color(0.82, 0.9, 1, 1)
|
||||
horizontal_alignment = 1
|
||||
autowrap_mode = 2
|
||||
|
||||
[node name="CharacterCreation" parent="." instance=ExtResource("2_creation")]
|
||||
Reference in New Issue
Block a user