Jump to content

Good easy graphics library


Guest spacemonkey

Recommended Posts

Guest spacemonkey

The phone comes with GAPI which is very low level screen access.

If you don't want to do the hard yards coding all your graphics routines... www.gapidraw.com is a nice higher level library that gives you a simple framework for games as well, as in: intialisation, main loop, termination structures already in place.

I've tried it and it goes good on the SPV, not sure how good it would be for full on action games yet but certainly for puzzle / rpg and stuff... perfect it has blitting, alphablended masks, control key tracking etc.

Just one note, the current version in it's default state ups the main thread priority and on the smartphone this means it might not allow calls to interupt gaming... so

http://forums.pocketmatrix.com/viewtopic.php?t=8552

make the change mentioned in this thread to one of the header files and then you'll be fine.

On the simple sample which was blitting a large bitmap which was rotating on screen I was getting about 30fps on my SPV so the performance seems good. (Warning, the simple sample expects a stylus click to exit so you can't quit it on the SPV, have to pull the battery, the other samples exit on button press events so they are fine).

Link to comment
Share on other sites

Guest spacemonkey

I was too lazy to add the exit button cos I only wanted to run it as a reasonably heavy load sample to check that performance was acceptable... never run that app again.

Pity the MFC demo is MFC cos it's a perfect load test but of course won't run on SPV. Can't be bothered fixing it tho, just getting started putting code into the minimal... I think I'm gonna go down the path of some nice little puzzle games cos that's what I want to play ;)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.