#15, by afrlmeSunday, 19. July 2015, 13:43 10 years ago
Manually preloaded animations need to be manually unloaded. Animations regularly loaded will get added to the cache until they are removed at end of scene or get pushed aside to make space for newer animations, I think.
As for character animations: I believe that the standard animations (idle, talk & walk) for your playable character (not sure about npc characters) are stored in the cache indefinitely. If your character has tons of character animations, I don't really think it's a good idea to preload the character as it will store animations from all outfits associated with that character to the cache (according to the action parts page of the wiki manual - I wrote the page, but I think I mostly rewrote in my own words what it said on the old 2d wiki).
The case in question in this thread will more likely than not have been lag caused by too many animations on the screen (playing / loading) at the same time. If the system lags then it will still cause slow-down in animations currently on the screen & you will probably experience the mouse cursor moving / jerking slowly across the screen if you try moving it while lag is occurring. All in all it's all down to optimizing your game, to the best of your, or your teams ability, whether that's by scaling down animation sprites, reducing the amount of frames in certain animations, converting images / animations to webp or removing certain non-important animations, images & openGL shader effects entirely, is up to you to figure out what works best for your game. It is after all, all about compromise. Is this specific feature vital to your game? or can it work without it?