-
Notifications
You must be signed in to change notification settings - Fork 0
/
NetworkSetup.tscn
46 lines (40 loc) · 1.3 KB
/
NetworkSetup.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[gd_scene load_steps=3 format=2]
[ext_resource path="res://resources/base_dynamicfont.tres" type="DynamicFont" id=1]
[ext_resource path="res://NetworkSetup.gd" type="Script" id=2]
[node name="NetworkSetup" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
[node name="MultiplayerConfigure" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -20.0
margin_top = -20.0
margin_right = 20.0
margin_bottom = 20.0
[node name="CreateServerButton" type="Button" parent="MultiplayerConfigure"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -298.0
margin_top = -80.0
margin_right = 238.0
margin_bottom = 40.0
custom_fonts/font = ExtResource( 1 )
text = "Create Server"
[node name="JoinServerButton" type="Button" parent="MultiplayerConfigure"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -298.0
margin_top = 70.0
margin_right = 238.0
margin_bottom = 190.0
custom_fonts/font = ExtResource( 1 )
text = "Join Server"
[connection signal="pressed" from="MultiplayerConfigure/CreateServerButton" to="." method="_on_CreateServerButton_pressed"]
[connection signal="pressed" from="MultiplayerConfigure/JoinServerButton" to="." method="_on_JoinServerButton_pressed"]