don't autoplay the animations and reset to frame 0

This commit is contained in:
2022-11-10 00:20:26 -03:00
parent c2d1da5746
commit 7f10c06a0a
9 changed files with 1 additions and 14 deletions

View File

@@ -25,13 +25,12 @@ animations = [ {
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 6.5, 7 )
[node name="Goomba" type="KinematicBody2D"]
[node name="Goomba" type="KinematicBody2D" groups=["Enemy"]]
collision_layer = 4
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 4 )
animation = "walk"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false