Disable loop for dead animation
This commit is contained in:
parent
9501104d53
commit
bc72c1ef01
6 changed files with 30 additions and 32 deletions
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_jyf0d")
|
"texture": SubResource("AtlasTexture_jyf0d")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_rrkc6")
|
"texture": SubResource("AtlasTexture_rrkc6")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_qpspw")
|
"texture": SubResource("AtlasTexture_qpspw")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_ftvcv")
|
"texture": SubResource("AtlasTexture_ftvcv")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,10 +286,8 @@ script = ExtResource("1_vqyfw")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_2gjkv")
|
sprite_frames = SubResource("SpriteFrames_2gjkv")
|
||||||
animation = &"right_dead"
|
animation = &"back"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
frame = 2
|
|
||||||
frame_progress = 0.575532
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
position = Vector2(-0.992983, 1.00696)
|
position = Vector2(-0.992983, 1.00696)
|
||||||
|
|
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_erk8i")
|
"texture": SubResource("AtlasTexture_erk8i")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_gcbhh")
|
"texture": SubResource("AtlasTexture_gcbhh")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_8djft")
|
"texture": SubResource("AtlasTexture_8djft")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_mwimp")
|
"texture": SubResource("AtlasTexture_mwimp")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,7 +286,7 @@ script = ExtResource("1_7h4t3")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_nh3e1")
|
sprite_frames = SubResource("SpriteFrames_nh3e1")
|
||||||
animation = &"right_dead"
|
animation = &"back_dead"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
|
|
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_3skrt")
|
"texture": SubResource("AtlasTexture_3skrt")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_jskih")
|
"texture": SubResource("AtlasTexture_jskih")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_akp2h")
|
"texture": SubResource("AtlasTexture_akp2h")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_868x7")
|
"texture": SubResource("AtlasTexture_868x7")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,7 +286,7 @@ script = ExtResource("1_00y7u")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_ny71s")
|
sprite_frames = SubResource("SpriteFrames_ny71s")
|
||||||
animation = &"right_dead"
|
animation = &"back_dead"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
|
|
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_wbr8g")
|
"texture": SubResource("AtlasTexture_wbr8g")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_gpwgv")
|
"texture": SubResource("AtlasTexture_gpwgv")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_jn1cs")
|
"texture": SubResource("AtlasTexture_jn1cs")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_lwnf4")
|
"texture": SubResource("AtlasTexture_lwnf4")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,7 +286,7 @@ script = ExtResource("1_4wu2v")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_5yy3x")
|
sprite_frames = SubResource("SpriteFrames_5yy3x")
|
||||||
animation = &"right_dead"
|
animation = &"back_dead"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
|
|
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_dtdui")
|
"texture": SubResource("AtlasTexture_dtdui")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_g6dcp")
|
"texture": SubResource("AtlasTexture_g6dcp")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_dldss")
|
"texture": SubResource("AtlasTexture_dldss")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_r0dp7")
|
"texture": SubResource("AtlasTexture_r0dp7")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,7 +286,7 @@ script = ExtResource("1_m5a36")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_3g1io")
|
sprite_frames = SubResource("SpriteFrames_3g1io")
|
||||||
animation = &"right_dead"
|
animation = &"back_dead"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
|
|
|
@ -163,7 +163,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_2fno1")
|
"texture": SubResource("AtlasTexture_2fno1")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"back_dead",
|
"name": &"back_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -197,7 +197,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_yhpyg")
|
"texture": SubResource("AtlasTexture_yhpyg")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"front_dead",
|
"name": &"front_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -231,7 +231,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_77ryy")
|
"texture": SubResource("AtlasTexture_77ryy")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"left_dead",
|
"name": &"left_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
|
@ -265,7 +265,7 @@ animations = [{
|
||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_4etrg")
|
"texture": SubResource("AtlasTexture_4etrg")
|
||||||
}],
|
}],
|
||||||
"loop": true,
|
"loop": false,
|
||||||
"name": &"right_dead",
|
"name": &"right_dead",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
@ -286,7 +286,7 @@ script = ExtResource("1_7wn36")
|
||||||
position = Vector2(9.15527e-05, 0.00012207)
|
position = Vector2(9.15527e-05, 0.00012207)
|
||||||
scale = Vector2(0.09, 0.089)
|
scale = Vector2(0.09, 0.089)
|
||||||
sprite_frames = SubResource("SpriteFrames_ebg80")
|
sprite_frames = SubResource("SpriteFrames_ebg80")
|
||||||
animation = &"right_dead"
|
animation = &"back_dead"
|
||||||
autoplay = "right"
|
autoplay = "right"
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="EnemyBody"]
|
||||||
|
|
Loading…
Reference in a new issue