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

83 lines
3.2 KiB
Text
Raw Normal View History

[gd_scene load_steps=9 format=2]
2023-02-25 14:02:57 +01:00
[ext_resource path="res://Scenes/Scripts/Screen_Menu.gd" type="Script" id=1]
2023-02-25 18:46:29 +01:00
[ext_resource path="res://Assets/skin_assets/menu_font.tres" type="DynamicFont" id=2]
2023-02-25 19:04:42 +01:00
[ext_resource path="res://Assets/tres_button/normal.tres" type="StyleBox" id=3]
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=4]
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=5]
[ext_resource path="res://Assets/windows/window.png" type="Texture" id=6]
[ext_resource path="res://Musics/wav/menu.wav" type="AudioStream" id=7]
[ext_resource path="res://Musics/sound effect/hower.wav" type="AudioStream" id=8]
2023-02-25 14:02:57 +01:00
[node name="Node2D" type="Node2D"]
[node name="Windows" type="Sprite" parent="."]
position = Vector2( 512, 360 )
scale = Vector2( 0.5, 0.5 )
2023-02-25 14:02:57 +01:00
z_index = -2
2023-02-25 19:04:42 +01:00
texture = ExtResource( 6 )
2023-02-25 14:02:57 +01:00
2023-02-26 17:39:03 +01:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 432.0
margin_top = 272.0
margin_right = 568.0
margin_bottom = 504.0
2023-02-25 14:02:57 +01:00
custom_constants/separation = 26
alignment = 1
2023-02-26 17:39:03 +01:00
script = ExtResource( 1 )
2023-02-25 14:02:57 +01:00
2023-02-26 17:39:03 +01:00
[node name="Hover" type="AudioStreamPlayer" parent="VBoxContainer"]
stream = ExtResource( 8 )
volume_db = -7.0
[node name="PlayButton" type="Button" parent="VBoxContainer"]
margin_top = 34.0
margin_right = 136.0
margin_bottom = 71.0
2023-02-26 17:54:18 +01:00
focus_mode = 0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.941176, 0.690196, 0.403922, 1 )
2023-02-25 18:46:29 +01:00
custom_fonts/font = ExtResource( 2 )
2023-02-25 19:04:42 +01:00
custom_styles/hover = ExtResource( 5 )
custom_styles/pressed = ExtResource( 4 )
custom_styles/normal = ExtResource( 3 )
2023-02-25 14:02:57 +01:00
text = "PLAY"
2023-02-26 17:39:03 +01:00
[node name="Help_Button" type="Button" parent="VBoxContainer"]
margin_top = 97.0
margin_right = 136.0
margin_bottom = 134.0
2023-02-26 17:54:18 +01:00
focus_mode = 0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.941176, 0.690196, 0.403922, 1 )
2023-02-25 18:46:29 +01:00
custom_fonts/font = ExtResource( 2 )
2023-02-25 19:04:42 +01:00
custom_styles/hover = ExtResource( 5 )
custom_styles/pressed = ExtResource( 4 )
custom_styles/normal = ExtResource( 3 )
2023-02-25 14:02:57 +01:00
text = "HELP"
2023-02-26 17:39:03 +01:00
[node name="Quit_Button" type="Button" parent="VBoxContainer"]
margin_top = 160.0
margin_right = 136.0
margin_bottom = 197.0
2023-02-26 17:54:18 +01:00
focus_mode = 0
custom_colors/font_color = Color( 1, 1, 1, 1 )
custom_colors/font_color_hover = Color( 0.941176, 0.690196, 0.403922, 1 )
2023-02-25 18:46:29 +01:00
custom_fonts/font = ExtResource( 2 )
2023-02-25 19:04:42 +01:00
custom_styles/hover = ExtResource( 5 )
custom_styles/pressed = ExtResource( 4 )
custom_styles/normal = ExtResource( 3 )
2023-02-25 14:02:57 +01:00
text = "QUIT"
[node name="MenuMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
2023-02-26 17:39:03 +01:00
volume_db = 8.0
autoplay = true
2023-02-26 17:39:03 +01:00
[connection signal="mouse_entered" from="VBoxContainer/PlayButton" to="VBoxContainer" method="_on_PlayButton_mouse_entered"]
[connection signal="pressed" from="VBoxContainer/PlayButton" to="VBoxContainer" method="_on_PlayButton_pressed"]
[connection signal="mouse_entered" from="VBoxContainer/Help_Button" to="VBoxContainer" method="_on_Help_Button_mouse_entered"]
[connection signal="pressed" from="VBoxContainer/Help_Button" to="VBoxContainer" method="_on_Help_Button_pressed"]
[connection signal="mouse_entered" from="VBoxContainer/Quit_Button" to="VBoxContainer" method="_on_Quit_Button_mouse_entered"]
[connection signal="pressed" from="VBoxContainer/Quit_Button" to="VBoxContainer" method="_on_Quit_Button_pressed"]