UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.39k stars 177 forks source link

Sprite Animation node issue #1901

Open PancheteG3D opened 1 week ago

PancheteG3D commented 1 week ago

SpriteAnimationIssue.zip

Hello, I've found a bug in the sprite animation node. The issue is self-explanatory in the MP4 file I've attached here. I've also attached the .blend, so you can test it by yourself. The issue is basically that in a 225 frames in a sprite sheet (15x15 frames), when the frame is 90, the rendered frame jumps to 105. When the frame is 105 it jumps to 120. When the frame is 120, it jumps to 135... (Curiously, these are the last frames of the 6th, 7th 8th, 11th, 12th and 13th files). Thanks for the time taken on it. https://github.com/UPBGE/upbge/assets/66872192/12747bf9-8063-44df-8544-025a3ec5f8aa