Public repository for MUR pre alpha
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.
 
 
 
 
 

120 lines
3.3 KiB

[gd_scene load_steps=10 format=2]
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
[ext_resource path="res://scripts/menu/main.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/cpu.png" type="Texture" id=7]
[ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=8]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.85098, 0.670588, 0.188235, 1 )
[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 = -201.5
margin_right = 155.0
margin_bottom = 201.5
grow_horizontal = 2
grow_vertical = 2
[node name="online" type="Button" parent="menu"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -0.857422
margin_top = -194.725
margin_right = -0.857422
margin_bottom = -138.725
text = "Multiplayer"
icon = ExtResource( 3 )
flat = true
[node name="practice" type="Button" parent="menu"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_top = -132.154
margin_bottom = -76.154
text = "Practice"
icon = ExtResource( 4 )
flat = true
[node name="settings" type="Button" parent="menu"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -0.572113
margin_top = -66.128
margin_right = -0.572113
margin_bottom = -10.128
text = "Settings"
icon = ExtResource( 5 )
flat = true
[node name="quit" type="Button" parent="menu"]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = -0.572113
margin_top = 132.872
margin_right = -0.572113
margin_bottom = 188.872
text = "Quit"
icon = ExtResource( 6 )
flat = true
[node name="debug" type="Panel" parent="menu"]
margin_top = 193.0
margin_right = 309.0
margin_bottom = 327.0
custom_styles/panel = SubResource( 1 )
[node name="debug_label" type="Label" parent="menu/debug"]
anchor_right = 1.0
margin_top = 3.0
margin_bottom = 60.0
text = "debug
localhost:8128"
align = 1
valign = 1
[node name="quick_host" type="Button" parent="menu/debug"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 16.3244
margin_top = 1.68341
margin_right = 145.324
margin_bottom = 57.6834
text = "Host"
icon = ExtResource( 7 )
[node name="quick_join" type="Button" parent="menu/debug"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = 161.885
margin_top = 2.32294
margin_right = 290.885
margin_bottom = 58.3229
text = "Join"
icon = ExtResource( 8 )
[connection signal="pressed" from="menu/online" to="." method="_on_online_pressed"]
[connection signal="pressed" from="menu/practice" to="." method="_on_practice_pressed"]
[connection signal="pressed" from="menu/settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="menu/quit" to="." method="_on_quit_pressed"]
[connection signal="pressed" from="menu/debug/quick_host" to="." method="_on_quick_host_pressed"]
[connection signal="pressed" from="menu/debug/quick_join" to="." method="_on_quick_join_pressed"]