make goomba stompable

This commit is contained in:
Chris Cromer 2022-11-19 23:08:24 -03:00
parent 2a9f4fe500
commit 770dff36ee

View File

@ -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="."]