online multiplayer chess game (note server currently down)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[gd_scene load_steps=5 format=2]

[ext_resource path="res://ui/main.tres" type="Theme" id=1]
[ext_resource path="res://ui/StartMenu.gd" type="Script" id=2]
[ext_resource path="res://ui/Settings.tscn" type="PackedScene" id=3]
[ext_resource path="res://ui/Lobby.tscn" type="PackedScene" id=4]

[node name="StartMenu" type="Control" groups=["control"]]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 )
script = ExtResource( 2 )
timer_length = 2.8
nice_colors = [ Color( 0.784314, 0.427451, 0.427451, 1 ), Color( 0.913725, 0.847059, 0.403922, 1 ), Color( 0.380392, 0.741176, 0.647059, 1 ), Color( 0.321569, 0.368627, 0.858824, 1 ), Color( 0.843137, 0.133333, 0.133333, 1 ), Color( 0.109804, 0.160784, 0.564706, 1 ), Color( 0.376471, 0.796078, 0.317647, 1 ), Color( 0.8, 0.364706, 0.588235, 1 ), Color( 0.984314, 0.858824, 0.282353, 1 ), Color( 0.164706, 0.0862745, 0.247059, 1 ) ]

[node name="ColorRect" type="ColorRect" parent="." groups=["control"]]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
color = Color( 0, 0, 0, 1 )

[node name="MainButtons" type="VBoxContainer" parent="ColorRect" groups=["control"]]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -192.0
margin_top = -224.0
margin_right = 196.0
margin_bottom = 412.0

[node name="multiplayer" type="Button" parent="ColorRect/MainButtons" groups=["control"]]
margin_left = 36.0
margin_right = 351.0
margin_bottom = 106.0
focus_mode = 0
size_flags_horizontal = 4
enabled_focus_mode = 0
text = "multiplayer"

[node name="settings" type="Button" parent="ColorRect/MainButtons" groups=["control"]]
margin_left = 75.0
margin_top = 121.0
margin_right = 313.0
margin_bottom = 227.0
focus_mode = 0
size_flags_horizontal = 4
enabled_focus_mode = 0
text = "settings"

[node name="local" type="Button" parent="ColorRect/MainButtons" groups=["control"]]
visible = false
margin_left = 113.0
margin_top = 242.0
margin_right = 275.0
margin_bottom = 348.0
rect_min_size = Vector2( 100, 0 )
focus_mode = 0
size_flags_horizontal = 4
enabled_focus_mode = 0
text = "local"

[node name="quit" type="Button" parent="ColorRect/MainButtons" groups=["control"]]
margin_left = 123.0
margin_top = 242.0
margin_right = 265.0
margin_bottom = 348.0
focus_mode = 0
size_flags_horizontal = 4
enabled_focus_mode = 0
text = "exit"

[node name="Settings" parent="ColorRect" instance=ExtResource( 3 )]
visible = false

[node name="Lobby" parent="ColorRect" groups=["control"] instance=ExtResource( 4 )]
visible = false

[node name="Tween" type="Tween" parent="."]

[node name="Timer" type="Timer" parent="."]
one_shot = true

[connection signal="pressed" from="ColorRect/MainButtons/multiplayer" to="." method="_on_multiplayer_pressed"]
[connection signal="pressed" from="ColorRect/MainButtons/settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="ColorRect/MainButtons/local" to="." method="_on_local_pressed"]
[connection signal="pressed" from="ColorRect/MainButtons/quit" to="." method="_on_quit_pressed"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]