I must create a game with J2SE with 2D graphics for low-prestation hardware (e.g. 256MB Ram, max 512MB processor) but I don’t know how to minimize the prestation of the game for this kind of hardware, i hope that anyone can help me.
Thank you
just keep the draw calls to a reasonable number, say about a 100 draws per frame.
If using more, try dirty pixels techniques to limit redraws.
The limitation is not in itself crippling, look at C64 games as example of what can be done with 64 meg RAM.
Most games it’s the rendering that takes time, logic is 1% of the load.
You could also build it as an event driven game, rather then active rendering. When an event occurres you clear the section of the screen where the event occurred and then redraw what’s new. On games with very few changes to the graphics over time, like Civilization, this is very efficient and will leave the CPU idle for most of it’s time.