You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
3.2 KiB
102 lines
3.2 KiB
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scripts/menus/main_menu.gd" type="Script" id=2]
|
|
[ext_resource path="res://assets/icons/massiveMultiplayer.png" type="Texture" id=3]
|
|
[ext_resource path="res://assets/icons/singleplayer.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/icons/wrench.png" type="Texture" id=5]
|
|
[ext_resource path="res://assets/icons/power.png" type="Texture" id=6]
|
|
[ext_resource path="res://assets/icons/question.png" type="Texture" id=7]
|
|
|
|
|
|
[node name="main_menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -0.857361
|
|
margin_right = -0.857361
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="menu" type="Panel" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -155.0
|
|
margin_top = -132.5
|
|
margin_right = 155.0
|
|
margin_bottom = 132.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="menu"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="multiplayer" type="Button" parent="menu/VBoxContainer"]
|
|
margin_right = 310.0
|
|
margin_bottom = 63.0
|
|
focus_neighbour_top = NodePath("../quit")
|
|
focus_neighbour_bottom = NodePath("../practice")
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
text = "MULTIPLAYER"
|
|
icon = ExtResource( 3 )
|
|
flat = true
|
|
|
|
[node name="practice" type="Button" parent="menu/VBoxContainer"]
|
|
margin_top = 67.0
|
|
margin_right = 310.0
|
|
margin_bottom = 130.0
|
|
focus_neighbour_top = NodePath("../multiplayer")
|
|
focus_neighbour_bottom = NodePath("../settings")
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
text = "PRACTISE"
|
|
icon = ExtResource( 4 )
|
|
flat = true
|
|
|
|
[node name="settings" type="Button" parent="menu/VBoxContainer"]
|
|
margin_top = 134.0
|
|
margin_right = 310.0
|
|
margin_bottom = 197.0
|
|
focus_neighbour_top = NodePath("../practice")
|
|
focus_neighbour_bottom = NodePath("../quit")
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
text = "SETTINGS"
|
|
icon = ExtResource( 5 )
|
|
flat = true
|
|
|
|
[node name="quit" type="Button" parent="menu/VBoxContainer"]
|
|
margin_top = 201.0
|
|
margin_right = 310.0
|
|
margin_bottom = 265.0
|
|
focus_neighbour_top = NodePath("../settings")
|
|
focus_neighbour_bottom = NodePath("../multiplayer")
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
text = "QUIT"
|
|
icon = ExtResource( 6 )
|
|
flat = true
|
|
|
|
[node name="error_dialog" type="AcceptDialog" parent="."]
|
|
margin_right = 138.0
|
|
margin_bottom = 84.0
|
|
window_title = "ALERT"
|
|
dialog_text = "Server disconnected!"
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -62.0
|
|
margin_top = -56.0
|
|
icon = ExtResource( 7 )
|
|
flat = true
|
|
[connection signal="pressed" from="menu/VBoxContainer/multiplayer" to="." method="_on_multiplayer_pressed"]
|
|
[connection signal="pressed" from="menu/VBoxContainer/multiplayer" to="." method="_on_online_pressed"]
|
|
[connection signal="pressed" from="menu/VBoxContainer/practice" to="." method="_on_practice_pressed"]
|
|
[connection signal="pressed" from="menu/VBoxContainer/settings" to="." method="_on_settings_pressed"]
|
|
[connection signal="pressed" from="menu/VBoxContainer/quit" to="." method="_on_quit_pressed"]
|