make goomba stompable
This commit is contained in:
parent
2a9f4fe500
commit
770dff36ee
@ -25,7 +25,7 @@ animations = [ {
|
|||||||
[sub_resource type="RectangleShape2D" id=5]
|
[sub_resource type="RectangleShape2D" id=5]
|
||||||
extents = Vector2( 6.5, 7 )
|
extents = Vector2( 6.5, 7 )
|
||||||
|
|
||||||
[node name="Goomba" type="KinematicBody2D" groups=["Enemy"]]
|
[node name="Goomba" type="KinematicBody2D" groups=["Enemy", "Stompable"]]
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
|
Loading…
Reference in New Issue
Block a user