online multiplayer chess game (note server currently down)
Diffstat (limited to 'Square.tscn')
-rw-r--r--Square.tscn19
1 files changed, 9 insertions, 10 deletions
diff --git a/Square.tscn b/Square.tscn
index 76e168a..aa172e8 100644
--- a/Square.tscn
+++ b/Square.tscn
@@ -26,28 +26,25 @@ shader = SubResource( 2 )
shader_param/amt = 1.0
shader_param/color = Color( 0.431373, 0.584314, 0.388235, 0.639216 )
-[node name="MarginContainer" type="MarginContainer"]
+[node name="Square" type="ColorRect"]
margin_right = 40.0
margin_bottom = 40.0
+focus_mode = 1
script = ExtResource( 1 )
-[node name="BackgroundSquare" type="ColorRect" parent="."]
-margin_right = 40.0
-margin_bottom = 40.0
-mouse_filter = 2
-
[node name="MoveIndicator" type="ColorRect" parent="."]
visible = false
-margin_right = 40.0
-margin_bottom = 40.0
+anchor_right = 1.0
+anchor_bottom = 1.0
mouse_filter = 2
[node name="CircleHolder" type="CenterContainer" parent="."]
-margin_right = 40.0
-margin_bottom = 40.0
+anchor_right = 1.0
+anchor_bottom = 1.0
mouse_filter = 2
[node name="Circle" type="TextureRect" parent="CircleHolder"]
+visible = false
material = SubResource( 3 )
margin_left = 20.0
margin_top = 20.0
@@ -56,3 +53,5 @@ margin_bottom = 20.0
mouse_filter = 2
texture = ExtResource( 2 )
expand = true
+
+[connection signal="focus_exited" from="." to="." method="_focus_exited"]