Files
DungeonCrawlerWorld/scenes/menu/MainMenu.tscn

130 lines
3.6 KiB
Plaintext

[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"]
[ext_resource type="PackedScene" path="res://scenes/ui/CatalogBrowser.tscn" id="3_catalog"]
[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
content_margin_left = 56.0
content_margin_top = 40.0
content_margin_right = 56.0
content_margin_bottom = 40.0
[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="Layout" type="VBoxContainer" parent="Menu"]
layout_mode = 2
theme_override_constants/separation = 9
[node name="Title" type="Label" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 46)
layout_mode = 2
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
vertical_alignment = 1
[node name="Subtitle" type="Label" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 25)
layout_mode = 2
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
vertical_alignment = 1
[node name="ActionSpacer" type="Control" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 14)
layout_mode = 2
mouse_filter = 2
[node name="NewRunButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "NEW RUN"
[node name="ContinueButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "CONTINUE"
[node name="LoadSlotButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "LOAD SLOT"
[node name="OptionsButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "OPTIONS"
[node name="CatalogButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "CONTENT CATALOG (C)"
[node name="QuitButton" type="Button" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 40)
layout_mode = 2
text = "QUIT"
[node name="StatusSpacer" type="Control" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 6)
layout_mode = 2
mouse_filter = 2
[node name="StatusLabel" type="Label" parent="Menu/Layout"]
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
theme_override_colors/font_color = Color(0.82, 0.9, 1, 1)
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="CharacterCreation" parent="." instance=ExtResource("2_creation")]
[node name="CatalogBrowser" parent="." instance=ExtResource("3_catalog")]