don't autoplay the animations and reset to frame 0
This commit is contained in:
parent
c2d1da5746
commit
7f10c06a0a
@ -52,7 +52,6 @@ extents = Vector2( 5, 10.5 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 7 )
|
||||
animation = "deactivated"
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -42,8 +42,6 @@ extents = Vector2( 5, 5 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 7 )
|
||||
animation = "spin"
|
||||
frame = 4
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -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
|
||||
|
@ -26,8 +26,6 @@ extents = Vector2( 6, 13 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 3 )
|
||||
animation = "chomp"
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -30,8 +30,6 @@ extents = Vector2( 9.5, 9.5 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
frame = 2
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -44,8 +44,6 @@ collision_layer = 4
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
frame = 1
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -64,7 +64,6 @@ extents = Vector2( 5.5, 6 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -43,7 +43,6 @@ extents = Vector2( 5.5, 6 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 4 )
|
||||
animation = "walk"
|
||||
playing = true
|
||||
|
||||
[node name="NormalCollision" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
@ -137,7 +137,6 @@ script = ExtResource( 10 )
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
frames = SubResource( 3 )
|
||||
animation = "idle"
|
||||
playing = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
|
Loading…
Reference in New Issue
Block a user