chessgame/MoveTile.tscn

31 lines
766 B
Text
Raw Normal View History

2023-02-17 11:37:23 -08:00
[gd_scene load_steps=3 format=2]
[ext_resource path="res://MoveTile.gd" type="Script" id=1]
[sub_resource type="RectangleShape2D" id=1]
[node name="MoveTile" type="Node2D" groups=[
"tile",
]]
script = ExtResource( 1 )
[node name="Rect" type="ColorRect" parent="."]
margin_left = -64.0
margin_top = -64.0
margin_right = 64.0
margin_bottom = 64.0
mouse_filter = 2
color = Color( 0.301961, 0.717647, 0.964706, 0.54902 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Area2D" type="Area2D" parent="Rect"]
position = Vector2( 64, 64 )
scale = Vector2( 6.4, 6.4 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Rect/Area2D"]
shape = SubResource( 1 )
[connection signal="input_event" from="Rect/Area2D" to="." method="_on_Area2D_input_event"]