Door connections
This commit is contained in:
parent
c613eac80f
commit
0143c01c1e
6 changed files with 54 additions and 5 deletions
|
@ -13,10 +13,11 @@ collision_layer = 0
|
|||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Collider" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 16, 0 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
position = Vector2( -6, 0 )
|
||||
position = Vector2( 10, 0 )
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_Door_body_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue