mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
97 lines
2.4 KiB
Plaintext
97 lines
2.4 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://font/roboto.tres" type="DynamicFont" id=1]
|
|
[ext_resource path="res://code/server/network_setup.gd" type="Script" id=2]
|
|
[ext_resource path="res://code/UI.gd" type="Script" id=3]
|
|
|
|
[node name="network_setup" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="multiplayer_configure" type="Control" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 2.5199
|
|
margin_right = 2.5199
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="create_server" type="Button" parent="multiplayer_configure"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -267.5
|
|
margin_top = -202.0
|
|
margin_right = 267.5
|
|
margin_bottom = -26.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Create server"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="join_server" type="Button" parent="multiplayer_configure"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -267.5
|
|
margin_top = 24.0
|
|
margin_right = 267.5
|
|
margin_bottom = 200.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Join server"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="username_text_edit" type="LineEdit" parent="multiplayer_configure"]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -422.5
|
|
margin_top = 117.0
|
|
margin_right = 422.5
|
|
margin_bottom = 221.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
align = 1
|
|
placeholder_text = "Enter username"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="UI" type="CanvasLayer" parent="."]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="start_game" type="Button" parent="UI"]
|
|
margin_left = 27.0
|
|
margin_top = 27.0
|
|
margin_right = 391.0
|
|
margin_bottom = 158.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
text = "Start game"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="device_ip_address" type="Label" parent="UI"]
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = -150.0
|
|
custom_fonts/font = ExtResource( 1 )
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="pressed" from="multiplayer_configure/create_server" to="." method="_on_create_server_pressed"]
|
|
[connection signal="pressed" from="multiplayer_configure/join_server" to="." method="_on_join_server_pressed"]
|
|
[connection signal="pressed" from="UI/start_game" to="." method="_on_start_game_pressed"]
|