online multiplayer chess game (note server currently down)
Diffstat (limited to 'Square.tscn')
| -rw-r--r-- | Square.tscn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Square.tscn b/Square.tscn new file mode 100644 index 0000000..f902da8 --- /dev/null +++ b/Square.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Square.gd" type="Script" id=1] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 381, 394.5 ) + +[node name="Square" type="ColorRect"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +script = ExtResource( 1 ) + +[node name="Squarea" type="Area2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Squarea"] +shape = SubResource( 1 ) + +[connection signal="input_event" from="Squarea" to="." method="_on_Squarea_input_event"] |