81 lines
2.8 KiB
Plaintext
81 lines
2.8 KiB
Plaintext
[gd_scene format=3 uid="uid://b3dfeupbstcs8"]
|
|
|
|
[ext_resource type="Script" uid="uid://c3l4dvs4hcd5k" path="res://scripts/mainmenu.gd" id="1_5mbse"]
|
|
[ext_resource type="AudioStream" uid="uid://tevbt3p1f7ue" path="res://assets/music & sfx/music/8_bit_dungeon.mp3" id="2_natt5"]
|
|
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="3_r3g3c"]
|
|
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="4_3vvtq"]
|
|
|
|
[node name="mainmenu" type="CanvasLayer" unique_id=48528055]
|
|
script = ExtResource("1_5mbse")
|
|
|
|
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=437917373]
|
|
z_index = -2
|
|
offset_left = 4.0
|
|
offset_top = 2.0
|
|
offset_right = 1277.0
|
|
offset_bottom = 718.0
|
|
texture = ExtResource("3_r3g3c")
|
|
expand_mode = 2
|
|
|
|
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=189171469]
|
|
z_index = -1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 0.47058824)
|
|
|
|
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=829947052]
|
|
visible = false
|
|
stream = ExtResource("2_natt5")
|
|
autoplay = true
|
|
bus = &"Music"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1844679990]
|
|
z_index = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -308.5
|
|
offset_top = -106.0
|
|
offset_right = 308.5
|
|
offset_bottom = 106.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 50
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer" unique_id=2039313375]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("4_3vvtq")
|
|
theme_override_font_sizes/font_size = 64
|
|
text = "Working Title"
|
|
|
|
[node name="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
|
|
custom_minimum_size = Vector2(200, 45)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("4_3vvtq")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Play"
|
|
|
|
[node name="OptionsButton" type="Button" parent="VBoxContainer" unique_id=1460263213]
|
|
custom_minimum_size = Vector2(200, 45)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("4_3vvtq")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Options"
|
|
|
|
[node name="QuitButton" type="Button" parent="VBoxContainer" unique_id=1704957427]
|
|
custom_minimum_size = Vector2(200, 45)
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("4_3vvtq")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Quit"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|