godot_pixelorama_importer icon indicating copy to clipboard operation
godot_pixelorama_importer copied to clipboard

Set update mode for "frame" property to UPDATE_DISCRETE.

Open vibrant-reindeer opened this issue 5 months ago • 1 comments

Sets the update mode for "frame" property to UPDATE_DISCRETE. Otherwise there is interpolation from the last frame back to the first. My understanding based on the documentation is that "Clamp loop interpolation" should already prevent this but at least in Godot 4.2.1 it does not:

https://github.com/Technohacker/godot_pixelorama_importer/assets/159484964/b23bf886-23b2-41b2-806a-ddb481ea9912

Whether or not this is a bug in Godot, this works around the problem. I see no drawbacks, since the default update mode UPDATE_CONTINUOUS does not make much sense for frame based animation anyway.

vibrant-reindeer avatar Feb 17 '24 12:02 vibrant-reindeer