My animation file has a large number of animations, say 1000. However they're all like 10, frames. Most of them are stationary images, some of them have a "wobble" effect and nothing else. I'm wondering if this will be inefficient in any way?
I measured the loading time and it seemed ok.
I saw that the setAnimation method that I use iterates through all the animations and searches for the one I want to apply. I can use a hashtable there I guess to make that process more efficient.
Are there any other things I have to worry about ?
For ref I'm using libgdx.
Here's my mertrics view, if that helps
- Postovi: 12
That should have no impact on performance, save for the one issue you already found: finding an animation by name. You can cache them in a map, and then use the
- Postovi: 3078
Mark topic unread • Stranica: 1/1.
Natrag na Runtimes