mostly working, need netcode, en passant, and castling
This commit is contained in:
21
Piece.tscn
Normal file
21
Piece.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dyw0vra6it4f6"]
|
||||
|
||||
[ext_resource type="Script" path="res://Piece.gd" id="1_f1vk3"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_v20n7"]
|
||||
size = Vector2(34, 34)
|
||||
|
||||
[node name="Area2D" type="Area2D"]
|
||||
script = ExtResource("1_f1vk3")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture_repeat = 1
|
||||
region_enabled = true
|
||||
region_rect = Rect2(5, 5, 35, 36)
|
||||
metadata/dragging = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_v20n7")
|
||||
|
||||
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
||||
Reference in New Issue
Block a user