Skip to content

Commit

Permalink
Fix player and mob animations not looping in Squash the Creeps (#1020)
Browse files Browse the repository at this point in the history
This was missed in the upgrade to 4.0, which reset loop mode properties
in Animation.
  • Loading branch information
Calinou authored Mar 6, 2024
1 parent 98e9176 commit 71eea49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 3d/squash_the_creeps/Main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions 3d/squash_the_creeps/Mob.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions 3d/squash_the_creeps/Player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71eea49

Please sign in to comment.