08-26-2009 02:15 PM
Hello fellow developers,
for a game I am currently working on I use net.rim.device.api.ui.Graphics to draw the game's graphics.
I really have to fight for steady framerates and performance at times, which makes me wonder if theres any performance difference in using net.rim.device.api.ui.Graphics and javax.microedition.lcdui.Graphics?
The reason I wonder I've seen games with lost of explosions / things going on and don't know they maintain a steady framerate. Maybe someone has some interesting tipps on this issue.
08-26-2009 05:08 PM
I've used both of these classes in the past and with my experience, they are the very similar. Of course the frame rate depends on what you are drawing on the screen.
The only downside of using the javax.microedition.lcdui.Graphics is that you cannot use all of the specific RIM API's. I'd stick with the net.rim.device.api.ui.Graphics.