Hi all,
I’m developing space-shooter style game and I’m using a 3D program to generate some very neat animations for the game. After adding many animations to the game, it started to freeze a heck of alot during game play, and it’ll remain frozen (i.e. I have to shut down the process).
This might have something to do with the fact that each animation is a good 120 frames of PNG images with alpha transparency. A couple of things which have already been done:
- The images are compressed as much as possible in terms of size.
- All of the images are only loaded ONCE and are stored as a static “animation” object which is cloned each time the animation needs to occur.
- The heap size of the JVM is already being raised to 256 MB, which is pretty darn high!
So if anyone has any suggestions regarding faster, more effecient proper animation it would be greatly appreicated.
Thanks guys!