Tiled animation duration on the wrong frame? #2344
-
Hello, 2025-01-21.11-09-07.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
If you face any kind of issue, then always supply a sample project, or at the very least, sample resource files (the tilemap/graphics) as well as a code snippet showing how they are used. The reason is that if these things are not provided, then anyone wanting to investigate the issue would first have to figure out how to set it all up; creating the resources, code etc., and that's not even guaranteed to reproduce it. All of this is time wasted, and it's not even related to looking at the actual issue. This is perhaps the reason why developers would take their time replying to posts, or even avoid them altogether (this is with all open source projects, not just Axmol). Just to clarify, I'm not having a go at you about this, but rather pointing out that if you want real help, then that's the best way to get it. |
Beta Was this translation helpful? Give feedback.
-
OK, so the logic isn't correct in If you want a quick fix, change this:
to this:
|
Beta Was this translation helpful? Give feedback.
-
Fixed in #2345 |
Beta Was this translation helpful? Give feedback.
The logic fix was much simpler than I thought it would be, so you can copy the code from the PR too if you prefer. Both fixes would work the same way, it's just the one in the PR makes a lot more sense for anyone reading the code.