From 71eea49ebabdc4af4c5d7dc8f8bbbcc11898de90 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 6 Mar 2024 23:08:05 +0100 Subject: [PATCH] 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. --- 3d/squash_the_creeps/Main.tscn | 2 +- 3d/squash_the_creeps/Mob.tscn | 1 + 3d/squash_the_creeps/Player.tscn | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/3d/squash_the_creeps/Main.tscn b/3d/squash_the_creeps/Main.tscn index 3bd5bc1d86..ba6855af54 100644 --- a/3d/squash_the_creeps/Main.tscn +++ b/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 diff --git a/3d/squash_the_creeps/Mob.tscn b/3d/squash_the_creeps/Mob.tscn index e48e0c78b9..8033619da7 100644 --- a/3d/squash_the_creeps/Mob.tscn +++ b/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 diff --git a/3d/squash_the_creeps/Player.tscn b/3d/squash_the_creeps/Player.tscn index bfe82c2b3d..89025e5528 100644 --- a/3d/squash_the_creeps/Player.tscn +++ b/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