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