Browse Source

Fix player and mob animations not looping in Squash the Creeps (#1020)

This was missed in the upgrade to 4.0, which reset loop mode properties
in Animation.
Hugo Locurcio 8 months ago
parent
commit
71eea49eba

+ 1 - 1
3d/squash_the_creeps/Main.tscn

@@ -129,7 +129,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
 curve = SubResource("5")
 
 [node name="SpawnLocation" type="PathFollow3D" parent="SpawnPath"]
-transform = Transform3D(-4.37113e-08, 0, -0.999999, 0, 1, 0, 0.999999, 0, -4.37113e-08, 14, 0, -15)
+transform = Transform3D(-4.37113e-08, 0, 0.999999, 0, 1, 0, -0.999999, 0, -4.37113e-08, 14, 0, -15)
 rotation_mode = 1
 cubic_interp = false
 loop = false

+ 1 - 0
3d/squash_the_creeps/Mob.tscn

@@ -11,6 +11,7 @@ size = Vector3(0.418579, 0.569824, 0.833984)
 
 [sub_resource type="Animation" id="2"]
 length = 1.2
+loop_mode = 1
 tracks/0/type = "value"
 tracks/0/imported = false
 tracks/0/enabled = true

+ 1 - 0
3d/squash_the_creeps/Player.tscn

@@ -16,6 +16,7 @@ radius = 0.2
 
 [sub_resource type="Animation" id="3"]
 length = 1.2
+loop_mode = 1
 tracks/0/type = "value"
 tracks/0/imported = false
 tracks/0/enabled = true