151 lines
4.8 KiB
Text
151 lines
4.8 KiB
Text
|
[gd_scene load_steps=6 format=3 uid="uid://dmopqu5t30e8x"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://bt6i47nujjqup" path="res://Assets/Sprites/MainMenu/Background.png" id="1_pxgey"]
|
||
|
[ext_resource type="Script" path="res://Scripts/Startmenu.gd" id="1_wtm2v"]
|
||
|
[ext_resource type="Texture2D" uid="uid://dbgm84o2dmo70" path="res://Assets/Sprites/Common/button.png" id="3_67741"]
|
||
|
[ext_resource type="FontFile" uid="uid://c63bc80eb1jbi" path="res://Assets/Fonts/alagard.ttf" id="4_dux0d"]
|
||
|
[ext_resource type="AudioStream" uid="uid://6nl4lyjdsai8" path="res://Assets/Music/Visager_-_Royal_Entrance_Loop.mp3" id="5_h3jfm"]
|
||
|
|
||
|
[node name="Startmenu" 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_wtm2v")
|
||
|
|
||
|
[node name="TextureRect" type="TextureRect" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
texture = ExtResource("1_pxgey")
|
||
|
|
||
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_constants/margin_left = 5
|
||
|
theme_override_constants/margin_top = 5
|
||
|
theme_override_constants/margin_right = 5
|
||
|
theme_override_constants/margin_bottom = 5
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||
|
layout_mode = 2
|
||
|
size_flags_horizontal = 4
|
||
|
size_flags_vertical = 8
|
||
|
|
||
|
[node name="TextureButton" type="TextureButton" parent="MarginContainer/HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
texture_normal = ExtResource("3_67741")
|
||
|
|
||
|
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/TextureButton"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -47.5
|
||
|
offset_top = -15.5
|
||
|
offset_right = 47.5
|
||
|
offset_bottom = 15.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_colors/font_color = Color(0.941176, 0.709804, 0.254902, 1)
|
||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("4_dux0d")
|
||
|
text = "Start Game"
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="TextureButton2" type="TextureButton" parent="MarginContainer/HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
texture_normal = ExtResource("3_67741")
|
||
|
|
||
|
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/TextureButton2"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -47.5
|
||
|
offset_top = -15.5
|
||
|
offset_right = 47.5
|
||
|
offset_bottom = 15.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_colors/font_color = Color(0.941176, 0.709804, 0.254902, 1)
|
||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("4_dux0d")
|
||
|
text = "Guide
|
||
|
"
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="TextureButton3" type="TextureButton" parent="MarginContainer/HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
texture_normal = ExtResource("3_67741")
|
||
|
|
||
|
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/TextureButton3"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -47.5
|
||
|
offset_top = -15.5
|
||
|
offset_right = 47.5
|
||
|
offset_bottom = 15.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_colors/font_color = Color(0.941176, 0.709804, 0.254902, 1)
|
||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("4_dux0d")
|
||
|
text = "Credits
|
||
|
"
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="TextureButton4" type="TextureButton" parent="MarginContainer/HBoxContainer"]
|
||
|
layout_mode = 2
|
||
|
texture_normal = ExtResource("3_67741")
|
||
|
|
||
|
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/TextureButton4"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -47.5
|
||
|
offset_top = -15.5
|
||
|
offset_right = 47.5
|
||
|
offset_bottom = 15.5
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
theme_override_colors/font_color = Color(0.941176, 0.709804, 0.254902, 1)
|
||
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("4_dux0d")
|
||
|
text = "Quit"
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource("5_h3jfm")
|
||
|
volume_db = -15.0
|
||
|
autoplay = true
|
||
|
|
||
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton" to="." method="start"]
|
||
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton2" to="." method="guide"]
|
||
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton3" to="." method="credits"]
|
||
|
[connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton4" to="." method="exit"]
|