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
[gd_scene load_steps=5 format=2]

[ext_resource path="res://ui/theme/main.theme" type="Theme" id=1]
[ext_resource path="res://ui/barbutton/BarButton.theme" type="Theme" id=2]
[ext_resource path="res://ui/confirm/confirm.gd" type="Script" id=4]
[ext_resource path="res://ui/ubuntu-bold-regular.tres" type="DynamicFont" id=6]

[node name="Confirm" type="WindowDialog"]
margin_right = 400.0
margin_bottom = 150.0
rect_min_size = Vector2( 400, 150 )
theme = ExtResource( 1 )
custom_fonts/title_font = ExtResource( 6 )
popup_exclusive = true
script = ExtResource( 4 )

[node name="H" type="HBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 0
alignment = 1

[node name="yes" type="Button" parent="H"]
margin_left = 100.0
margin_top = 25.0
margin_right = 200.0
margin_bottom = 125.0
rect_min_size = Vector2( 100, 100 )
focus_mode = 0
mouse_default_cursor_shape = 2
size_flags_vertical = 4
theme = ExtResource( 2 )
text = ""

[node name="no" type="Button" parent="H"]
margin_left = 200.0
margin_top = 25.0
margin_right = 300.0
margin_bottom = 125.0
rect_min_size = Vector2( 100, 100 )
focus_mode = 0
mouse_default_cursor_shape = 2
size_flags_vertical = 4
theme = ExtResource( 2 )
text = ""

[connection signal="pressed" from="H/yes" to="." method="_pressed" binds= [ true ]]
[connection signal="pressed" from="H/no" to="." method="_pressed" binds= [ false ]]