online multiplayer chess game (note server currently down)
Diffstat (limited to 'Square.tscn')
-rw-r--r--Square.tscn31
1 files changed, 20 insertions, 11 deletions
diff --git a/Square.tscn b/Square.tscn
index de3771e..68bff26 100644
--- a/Square.tscn
+++ b/Square.tscn
@@ -26,24 +26,33 @@ shader = SubResource( 2 )
shader_param/amt = 1.0
shader_param/color = Color( 0.431373, 0.584314, 0.388235, 0.639216 )
-[node name="Square" type="ColorRect"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_right = -1180.0
-margin_bottom = -780.0
+[node name="MarginContainer" type="MarginContainer"]
+margin_right = 40.0
+margin_bottom = 40.0
script = ExtResource( 1 )
-[node name="CircleHolder" type="CenterContainer" parent="."]
+[node name="BackgroundSquare" type="ColorRect" parent="."]
+margin_right = 40.0
+margin_bottom = 40.0
+mouse_filter = 2
+
+[node name="CircleHolder" type="CenterContainer" parent="BackgroundSquare"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
-[node name="Circle" type="TextureRect" parent="CircleHolder"]
+[node name="Circle" type="TextureRect" parent="BackgroundSquare/CircleHolder"]
material = SubResource( 3 )
-margin_left = 121.0
-margin_top = 10.0
-margin_right = 121.0
-margin_bottom = 10.0
+margin_left = 20.0
+margin_top = 20.0
+margin_right = 20.0
+margin_bottom = 20.0
mouse_filter = 2
texture = ExtResource( 2 )
expand = true
+
+[node name="MoveIndicator" type="ColorRect" parent="."]
+visible = false
+margin_right = 40.0
+margin_bottom = 40.0
+mouse_filter = 2