#15, z afrlmeSunday, 05. June 2016, 01:18 hodinky 9 years ago
WebP format is really recommended for optimization purposes. I actually use it for all images, including static objects & backgrounds.
I was going to say that another nice method for reducing loading times of animations is to split them up into multiple animations, but that's pretty pointless seeing as animations now load frame by frame.
The best thing to do is simply reduce the amount of animation frames you use, as a lot of the time, people seem to think they need 5 million frames for each animation to make them look super smooth, when in fact you can emulate smoothness by controlling the pause values between each frame. I also highly recommend removing all duplicated frames (by that I am talking about the image files that are exactly the same as another animation frame). They are pointless resource wasters; especially when you could simply add in an animation frame & link it to the same image used in another frame.
Scaling unimportant animations with Lua script is another method that allows you to save resources. Basically you should do this for environmental animations, such as weather effects, particles & background animations that don't need to be super sharp looking.
P.S: to my knowledge, preload should be working in 4.2.5. Having said that, it's not a feature I personally use as I optimize all my animations / images with webp format & various Lua tricks.