online multiplayer chess game (note server currently down)
Diffstat (limited to 'Square.tscn')
-rw-r--r--Square.tscn13
1 files changed, 12 insertions, 1 deletions
diff --git a/Square.tscn b/Square.tscn
index f902da8..6018f08 100644
--- a/Square.tscn
+++ b/Square.tscn
@@ -1,6 +1,7 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://Square.gd" type="Script" id=1]
+[ext_resource path="res://circle.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 381, 394.5 )
@@ -8,12 +9,22 @@ extents = Vector2( 381, 394.5 )
[node name="Square" type="ColorRect"]
anchor_right = 1.0
anchor_bottom = 1.0
+margin_right = -800.0
+margin_bottom = -800.0
mouse_filter = 2
script = ExtResource( 1 )
[node name="Squarea" type="Area2D" parent="."]
+collision_mask = 0
+monitoring = false
+monitorable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Squarea"]
+visible = false
shape = SubResource( 1 )
+[node name="Circle" type="Sprite" parent="."]
+position = Vector2( 9, 51 )
+texture = ExtResource( 2 )
+
[connection signal="input_event" from="Squarea" to="." method="_on_Squarea_input_event"]