PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Sprite handling?

Ok, as I progress further into my game, I have just now come to the point where I want to add a sprite.

My game currently uses a very old fashioned Palm game game flow. It draws a bunch of FillRects, then moves the backbuffer over a few pixels to the left (for a scrolling effect), then draws in the new space now made from scrolling (on the right side) some more FillRects. This process basically allows for a realtime "tunnel" effect.

Problem is, now I want to add a sprite that will go through the tunnel. But since I *dont* clear the backbuffer on each ProcessNextFrame, my "sprite" will land up smearing as the backbuffer gets copied to the left.

In GBA dev, a sprite is rendered seperate from the background. Is there some way to seperate my GapiDraw "sprite" from the FillRect/BltFast'd "background"?

I'm using GapiDraw 3.01 for the Palm.

-Fraggler