mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2026-03-22 00:26:23 +00:00
Added working 'esc' button
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
[node name="background_main_menu" type="Sprite" parent="."]
|
||||
position = Vector2( 960, 540 )
|
||||
z_index = -10
|
||||
z_as_relative = false
|
||||
texture = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
@@ -16,3 +15,4 @@ __meta__ = {
|
||||
|
||||
[node name="floor" parent="." instance=ExtResource( 5 )]
|
||||
position = Vector2( 960, 1016 )
|
||||
z_as_relative = false
|
||||
|
||||
@@ -54,6 +54,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
@@ -66,13 +67,15 @@ margin_left = 2.5199
|
||||
margin_right = 2.5199
|
||||
rect_pivot_offset = Vector2( -2200.59, -462.965 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="controls" type="Control" parent="multiplayer_configure"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
@@ -133,10 +136,14 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="return" parent="multiplayer_configure/controls" instance=ExtResource( 9 )]
|
||||
margin_left = 810.0
|
||||
margin_top = 584.0
|
||||
margin_right = 1110.0
|
||||
margin_bottom = 656.0
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -150.0
|
||||
margin_top = 44.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 116.0
|
||||
|
||||
[node name="Label" type="Label" parent="multiplayer_configure/controls/return"]
|
||||
anchor_left = 0.5
|
||||
@@ -161,6 +168,7 @@ __meta__ = {
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
@@ -245,6 +253,7 @@ __meta__ = {
|
||||
|
||||
[node name="background_lobby" type="Node2D" parent="."]
|
||||
z_index = -1
|
||||
z_as_relative = false
|
||||
|
||||
[node name="background_lobby" type="Sprite" parent="background_lobby"]
|
||||
position = Vector2( 960, 540 )
|
||||
@@ -265,21 +274,28 @@ position = Vector2( 0, -603 )
|
||||
[node name="floor" parent="background_lobby" instance=ExtResource( 6 )]
|
||||
position = Vector2( 960, 1016 )
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
layer = 0
|
||||
[node name="lobby_controls" type="Control" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="lobby_controls"]
|
||||
script = ExtResource( 11 )
|
||||
|
||||
[node name="start_game" parent="UI" instance=ExtResource( 9 )]
|
||||
[node name="start_game" parent="lobby_controls" instance=ExtResource( 9 )]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -150.0
|
||||
margin_top = 100.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 172.0
|
||||
margin_left = 790.0
|
||||
margin_top = 620.0
|
||||
margin_right = 1090.0
|
||||
margin_bottom = 692.0
|
||||
|
||||
[node name="Label" type="Label" parent="UI/start_game"]
|
||||
[node name="Label" type="Label" parent="lobby_controls/start_game"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
@@ -294,49 +310,52 @@ text = "START"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="device_ip_address" type="Label" parent="UI"]
|
||||
[node name="device_ip_address" type="Label" parent="lobby_controls"]
|
||||
show_behind_parent = true
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -319.0
|
||||
margin_top = -56.0
|
||||
margin_right = 319.0
|
||||
margin_bottom = 56.0
|
||||
margin_left = 621.0
|
||||
margin_top = 464.0
|
||||
margin_right = 1259.0
|
||||
margin_bottom = 576.0
|
||||
custom_fonts/font = SubResource( 6 )
|
||||
custom_colors/font_color = Color( 0.439216, 0.666667, 1, 0.27451 )
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="text" type="Label" parent="UI"]
|
||||
[node name="text" type="Label" parent="lobby_controls"]
|
||||
show_behind_parent = true
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -116.5
|
||||
margin_top = 60.0
|
||||
margin_right = 116.5
|
||||
margin_bottom = 89.0
|
||||
margin_left = 823.5
|
||||
margin_top = 580.0
|
||||
margin_right = 1056.5
|
||||
margin_bottom = 609.0
|
||||
custom_fonts/font = SubResource( 7 )
|
||||
custom_colors/font_color = Color( 0.439216, 0.666667, 1, 0.27451 )
|
||||
text = "WAITING FOR PLAYERS"
|
||||
align = 1
|
||||
valign = 1
|
||||
__meta__ = {
|
||||
"_edit_lock_": true,
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="menu_button" parent="UI" instance=ExtResource( 4 )]
|
||||
margin_right = 50.0
|
||||
margin_bottom = 50.0
|
||||
[node name="menu_button" parent="lobby_controls" instance=ExtResource( 4 )]
|
||||
margin_right = 60.0
|
||||
margin_bottom = 60.0
|
||||
|
||||
[node name="spawn_locations" type="Node" parent="."]
|
||||
|
||||
@@ -356,4 +375,4 @@ position = Vector2( 1536, 860 )
|
||||
[connection signal="pressed" from="multiplayer_configure/controls/join_server" to="." method="_on_join_server_pressed"]
|
||||
[connection signal="pressed" from="multiplayer_configure/controls/return" to="." method="_on_return_pressed"]
|
||||
[connection signal="pressed" from="multiplayer_configure/popup_screen/panel/confirm" to="." method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="UI/start_game" to="." method="_on_start_game_pressed"]
|
||||
[connection signal="pressed" from="lobby_controls/start_game" to="." method="_on_start_game_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user