This repository has been archived on 2023-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Boups/Scenes/menu.tscn
2023-02-25 18:46:29 +01:00

66 lines
2.4 KiB
Text
Executable file

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Assets/windows.png" type="Texture" id=1]
[ext_resource path="res://Assets/skin_assets/menu_font.tres" type="DynamicFont" id=2]
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=3]
[ext_resource path="res://Assets/tres_button/normal.tres" type="StyleBox" id=4]
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=5]
[ext_resource path="res://Scenes/Screen_Menu.gd" type="Script" id=6]
[node name="Node2D" type="Node2D"]
[node name="Windows" type="Sprite" parent="."]
position = Vector2( 512, 360 )
z_index = -2
texture = ExtResource( 1 )
[node name="MenuButton" type="MenuButton" parent="."]
margin_left = 480.0
margin_top = 232.0
margin_right = 584.0
margin_bottom = 392.0
script = ExtResource( 6 )
[node name="VBoxContainer" type="VBoxContainer" parent="MenuButton"]
margin_left = -24.0
margin_top = 40.0
margin_right = 76.0
margin_bottom = 203.0
custom_constants/separation = 26
alignment = 1
[node name="PlayButton" type="Button" parent="MenuButton/VBoxContainer"]
margin_right = 100.0
margin_bottom = 37.0
custom_colors/font_color = Color( 0.34902, 0.313726, 0.313726, 1 )
custom_fonts/font = ExtResource( 2 )
custom_styles/hover = ExtResource( 3 )
custom_styles/pressed = ExtResource( 5 )
custom_styles/normal = ExtResource( 4 )
text = "PLAY"
[node name="Help_Button" type="Button" parent="MenuButton/VBoxContainer"]
margin_top = 63.0
margin_right = 100.0
margin_bottom = 100.0
custom_colors/font_color = Color( 0.34902, 0.313726, 0.313726, 1 )
custom_fonts/font = ExtResource( 2 )
custom_styles/hover = ExtResource( 3 )
custom_styles/pressed = ExtResource( 5 )
custom_styles/normal = ExtResource( 4 )
text = "HELP"
[node name="Quit_Button" type="Button" parent="MenuButton/VBoxContainer"]
margin_top = 126.0
margin_right = 100.0
margin_bottom = 163.0
custom_colors/font_color = Color( 0.34902, 0.313726, 0.313726, 1 )
custom_fonts/font = ExtResource( 2 )
custom_styles/hover = ExtResource( 3 )
custom_styles/pressed = ExtResource( 5 )
custom_styles/normal = ExtResource( 4 )
text = "QUIT"
[connection signal="pressed" from="MenuButton/VBoxContainer/PlayButton" to="MenuButton" method="_on_PlayButton_pressed"]
[connection signal="pressed" from="MenuButton/VBoxContainer/Help_Button" to="MenuButton" method="_on_Help_Button_pressed"]
[connection signal="pressed" from="MenuButton/VBoxContainer/Quit_Button" to="MenuButton" method="_on_Quit_Button_pressed"]