GP32 Help wanted with REALLY basic GP32 examples


stickofjoy posted on May 12 2003 said:
how is the gpDraw function working? I can see the two loops that draw the screen in x and y, but where is the call to actually draw the pixels?

me=somesortofnewbie
The gpdraw thing is just a struct (or rather, an array of structs since there is double buffering). The o_buffer in this struct is the framebuffer where the pixels are put. Then the gpSurfaceFlip shows the screen and flips to the other buffer.
 
Last edited by a moderator:
hugofurst posted on May 13 2003 said:
Keep at it - - When if finally "clicks" the rush is intense !
"Wahey! I've been coding for 6 straight hours and the arrows STILL go through walls !!" :D
 
Last edited by a moderator:
I just wrote a simple pong game for the gp32. I've only tested it with geepee32 so dont know how it would really run on the handheld itself. I've made the source code and the gxb file available for download. The source code is documented fairly well in my opinion. Hopefully it'll help all the newbie coders, I doubt it'll help the novice coders :). Anyways, enjoy and here's the link.

The One Player Pong Game
 
Back
Top