Files
RuinAdventurer/Scenes/MainMenu.tscn
T

151 lines
5.1 KiB
Plaintext

[gd_scene format=3 uid="uid://dlommaelbbw2b"]
[ext_resource type="Script" uid="uid://dda0bhhqspbr0" path="res://Scripts/UI/Menus/MainMenu.cs" id="1_tt5f1"]
[ext_resource type="Texture2D" uid="uid://ban872p4eh4gi" path="res://Assets/Images/RobotSymbol.png" id="2_853f1"]
[ext_resource type="Texture2D" uid="uid://dt84awx33mulb" path="res://Assets/Images/ResearchSymbol.png" id="3_df05h"]
[ext_resource type="Texture2D" uid="uid://dm0w2gtcsa5l4" path="res://Assets/Images/Items/Batteryv1Symbol.png" id="4_8um5k"]
[ext_resource type="Texture2D" uid="uid://qqprre8xl8gv" path="res://Assets/Images/Items/Dynamov2Symbol.png" id="5_xim88"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bnhvo"]
bg_color = Color(0.24115604, 0.24115607, 0.24115595, 1)
border_width_top = 1
border_width_bottom = 1
border_color = Color(0.025273602, 0.38374466, 0.4973219, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tt5f1"]
bg_color = Color(0.46618086, 0.4661808, 0.4661808, 1)
border_width_top = 1
border_width_bottom = 1
border_color = Color(0.025273602, 0.38374466, 0.4973219, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[node name="MainMenu" type="Control" unique_id=622011874]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_tt5f1")
[node name="Decoration" type="Control" parent="." unique_id=252748481]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureRect" type="TextureRect" parent="Decoration" unique_id=175718935]
layout_mode = 0
offset_left = 19.0
offset_top = 960.0
offset_right = 51.0
offset_bottom = 992.0
scale = Vector2(3, 3)
texture = ExtResource("2_853f1")
[node name="TextureRect2" type="TextureRect" parent="Decoration" unique_id=1274351412]
layout_mode = 0
offset_left = 1730.0001
offset_top = 51.0
offset_right = 1770.0001
offset_bottom = 91.0
scale = Vector2(3, 3)
texture = ExtResource("3_df05h")
[node name="TextureRect3" type="TextureRect" parent="Decoration" unique_id=1496393482]
layout_mode = 0
offset_left = 517.0
offset_top = 264.0
offset_right = 557.0
offset_bottom = 304.0
scale = Vector2(3, 3)
texture = ExtResource("4_8um5k")
[node name="TextureRect4" type="TextureRect" parent="Decoration" unique_id=606748204]
layout_mode = 0
offset_left = 1443.0
offset_top = 538.0
offset_right = 1483.0
offset_bottom = 578.0
scale = Vector2(3, 3)
texture = ExtResource("5_xim88")
[node name="Panel" type="Panel" parent="." unique_id=167014122]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=546163427]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -4.0
offset_top = -126.5
offset_right = 4.0
offset_bottom = 126.5
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer" unique_id=1309259619]
layout_mode = 2
theme_override_constants/separation = 40
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/VBoxContainer" unique_id=195514567]
layout_mode = 2
bbcode_enabled = true
text = "[font_size=50]Ruin Adventurer[/font_size]"
fit_content = true
scroll_active = false
autowrap_mode = 0
horizontal_alignment = 1
[node name="Spacer" type="Panel" parent="CenterContainer/VBoxContainer" unique_id=1075556994]
layout_mode = 2
[node name="btnPlay" type="Button" parent="CenterContainer/VBoxContainer" unique_id=452402808]
layout_mode = 2
custom_minimum_size = Vector2(220, 42)
theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
text = "Start Game"
[node name="btnLoad" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
custom_minimum_size = Vector2(220, 42)
theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
text = "Load Game"
[node name="btnOptions" type="Button" parent="CenterContainer/VBoxContainer" unique_id=891656915]
layout_mode = 2
custom_minimum_size = Vector2(220, 42)
theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
text = "Options"
[node name="btnExit" type="Button" parent="CenterContainer/VBoxContainer" unique_id=2025231658]
layout_mode = 2
custom_minimum_size = Vector2(220, 42)
theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
text = "Exit Game"
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnPlay" to="." method="OnPlayPressed"]
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnLoad" to="." method="OnLoadPressed"]
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnExit" to="." method="OnQuitPressed"]