summaryrefslogtreecommitdiff
path: root/MoveTile.tscn
blob: b376cd084a397fa596fd13afff7ea7ad35ad803b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[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"]