godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.48k stars 1.53k forks source link

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

Closed Calinou closed 4 months ago

Calinou commented 4 months ago

This was missed in the upgrade to 4.0, which reset loop mode properties in Animation.

Preview

Before

https://github.com/godotengine/godot-demo-projects/assets/180032/6b4fab77-3dc1-40f0-a8a1-0668d740cadd

After (this PR)

Mob animation fix isn't shown on the video, as it was recorded before I pushed an update to this PR.

https://github.com/godotengine/godot-demo-projects/assets/180032/eabd68b6-a048-4310-8f6f-6ac7c1a07ced

Calinou commented 4 months ago

You should do this on mob too

Done. Thanks for the reminder :slightly_smiling_face: