145 lines
5.7 KiB
Plaintext
145 lines
5.7 KiB
Plaintext
[gd_scene load_steps=18 format=2]
|
|
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Settings_Button_Normal.png" type="Texture" id=1]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Continue_Button_Hover.png" type="Texture" id=2]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Credits_Button_Normal.png" type="Texture" id=3]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Continue_Button_Normal.png" type="Texture" id=4]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/New_Game_Button_Normal.png" type="Texture" id=5]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Continue_Button_Disabled.png" type="Texture" id=6]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/New_Game_Button_Hover.png" type="Texture" id=7]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Normal.png" type="Texture" id=8]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Credits_Button_Hover.png" type="Texture" id=9]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Settings_Button_Hover.png" type="Texture" id=10]
|
|
[ext_resource path="res://Sprites/Menus/Menu Buttons/Quit_Button_Hover.png" type="Texture" id=11]
|
|
[ext_resource path="res://Sprites/Menus/Main Menu/Main_Menu_Background.png" type="Texture" id=12]
|
|
[ext_resource path="res://Resources/Ash.tres" type="DynamicFontData" id=13]
|
|
[ext_resource path="res://GUI/Main Menu.gd" type="Script" id=14]
|
|
[ext_resource path="res://Music/Main_Menu.mp3" type="AudioStream" id=15]
|
|
[ext_resource path="res://Sounds/Menu_Button_Hover.wav" type="AudioStream" id=16]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 20
|
|
use_mipmaps = true
|
|
extra_spacing_bottom = 15
|
|
font_data = ExtResource( 13 )
|
|
|
|
[node name="Main Menu" type="CanvasLayer"]
|
|
script = ExtResource( 14 )
|
|
|
|
[node name="Background" type="TextureRect" parent="."]
|
|
texture = ExtResource( 12 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Menu" type="CenterContainer" parent="."]
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = 310.0
|
|
margin_bottom = 170.0
|
|
rect_min_size = Vector2( 300, 160 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Menu Elements" type="VBoxContainer" parent="Menu"]
|
|
margin_left = 42.0
|
|
margin_top = 10.0
|
|
margin_right = 257.0
|
|
margin_bottom = 149.0
|
|
alignment = 2
|
|
|
|
[node name="Title" type="Label" parent="Menu/Menu Elements"]
|
|
margin_right = 215.0
|
|
margin_bottom = 40.0
|
|
rect_min_size = Vector2( 0, 40 )
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Embodiment"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="Menu Options" type="VBoxContainer" parent="Menu/Menu Elements"]
|
|
margin_top = 44.0
|
|
margin_right = 215.0
|
|
margin_bottom = 139.0
|
|
|
|
[node name="Continue" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
|
margin_right = 215.0
|
|
margin_bottom = 15.0
|
|
|
|
[node name="Continue Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Continue"]
|
|
margin_left = 73.0
|
|
margin_right = 141.0
|
|
margin_bottom = 15.0
|
|
disabled = true
|
|
texture_normal = ExtResource( 4 )
|
|
texture_hover = ExtResource( 2 )
|
|
texture_disabled = ExtResource( 6 )
|
|
|
|
[node name="New Game" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
|
margin_top = 19.0
|
|
margin_right = 215.0
|
|
margin_bottom = 34.0
|
|
|
|
[node name="New Game Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/New Game"]
|
|
margin_left = 66.0
|
|
margin_right = 149.0
|
|
margin_bottom = 15.0
|
|
texture_normal = ExtResource( 5 )
|
|
texture_hover = ExtResource( 7 )
|
|
|
|
[node name="Settings" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
|
margin_top = 38.0
|
|
margin_right = 215.0
|
|
margin_bottom = 57.0
|
|
|
|
[node name="Settings Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Settings"]
|
|
margin_left = 77.0
|
|
margin_right = 138.0
|
|
margin_bottom = 19.0
|
|
texture_normal = ExtResource( 1 )
|
|
texture_hover = ExtResource( 10 )
|
|
|
|
[node name="Credits" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
|
margin_top = 61.0
|
|
margin_right = 215.0
|
|
margin_bottom = 76.0
|
|
|
|
[node name="Credits Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Credits"]
|
|
margin_left = 82.0
|
|
margin_right = 133.0
|
|
margin_bottom = 15.0
|
|
texture_normal = ExtResource( 3 )
|
|
texture_hover = ExtResource( 9 )
|
|
|
|
[node name="Quit" type="CenterContainer" parent="Menu/Menu Elements/Menu Options"]
|
|
margin_top = 80.0
|
|
margin_right = 215.0
|
|
margin_bottom = 95.0
|
|
|
|
[node name="Quit Button" type="TextureButton" parent="Menu/Menu Elements/Menu Options/Quit"]
|
|
margin_left = 90.0
|
|
margin_right = 124.0
|
|
margin_bottom = 15.0
|
|
texture_normal = ExtResource( 8 )
|
|
texture_hover = ExtResource( 11 )
|
|
|
|
[node name="BGM" type="AudioStreamPlayer" parent="."]
|
|
pause_mode = 2
|
|
stream = ExtResource( 15 )
|
|
volume_db = -12.0
|
|
autoplay = true
|
|
|
|
[node name="Menu Button Hover" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 16 )
|
|
volume_db = -16.0
|
|
|
|
[connection signal="mouse_entered" from="Menu/Menu Elements/Menu Options/Continue/Continue Button" to="." method="_on_continue_button_mouse_entered"]
|
|
[connection signal="mouse_entered" from="Menu/Menu Elements/Menu Options/New Game/New Game Button" to="." method="_on_new_game_button_mouse_entered"]
|
|
[connection signal="pressed" from="Menu/Menu Elements/Menu Options/New Game/New Game Button" to="." method="_on_new_game_button_pressed"]
|
|
[connection signal="mouse_entered" from="Menu/Menu Elements/Menu Options/Settings/Settings Button" to="." method="_on_settings_button_mouse_entered"]
|
|
[connection signal="mouse_entered" from="Menu/Menu Elements/Menu Options/Credits/Credits Button" to="." method="_on_credits_button_mouse_entered"]
|
|
[connection signal="pressed" from="Menu/Menu Elements/Menu Options/Credits/Credits Button" to="." method="_on_credits_button_pressed"]
|
|
[connection signal="mouse_entered" from="Menu/Menu Elements/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_mouse_entered"]
|
|
[connection signal="pressed" from="Menu/Menu Elements/Menu Options/Quit/Quit Button" to="." method="_on_quit_button_pressed"]
|