I was just using the pg.h and pg.c from hello world, but people have been saying I need to start using the Gu.
I've downloaded and installed libpng and zlib, now is there any pre-made files for blitting images, and hopefully transparency?
If there isn't, how about a good tutorial?
I've looked in the include files, and found a bit, but not much. I have also looked at samples/gu/blit, but that's a lot of code just to blit a random image...
Good tutorial for the gu?
The code in sample/gu is pretty minimal, though the blit code is a bit over-complex by in trying to optimise by transferring in cache-friendly chunks.
You could consider using PSPGL. It has a somewhat higher-level interface for interfacing to the graphics hardware, and I wrote a simple sprite library layered on top of it to demonstrate its use for 2D graphics.
See http://www.goop.org/psp/gl and http://hg.goop.org/pspgl/libsprite?cmd= ... p;type=zip for the sprite code. http://goop.org/psp/gl/sprite-test.zip is a demo of it in action.
You could consider using PSPGL. It has a somewhat higher-level interface for interfacing to the graphics hardware, and I wrote a simple sprite library layered on top of it to demonstrate its use for 2D graphics.
See http://www.goop.org/psp/gl and http://hg.goop.org/pspgl/libsprite?cmd= ... p;type=zip for the sprite code. http://goop.org/psp/gl/sprite-test.zip is a demo of it in action.