Easy Question (I hope)

A PocketC native palm library offering native forms and assorted utilities

Postby guilly on Mon Jun 30, 2003 8:36 am

So, let's say I have got a picture background and, i.e. a walking man. What technique should I use to make the man move around the screen without erasing the picture background? (I say, it IS a picture, not a simple color background).

I thought of many uses with the Buffer functions, but I'm still TOO novice to have figured out the how to.

Thank you every body! :)
Posts: 3
Joined: Mon Jun 30, 2003 8:32 am

Postby jstadolnik on Mon Jun 30, 2003 12:39 pm

I would suggest using a single or double buffering approach. Double buffering is a bit slower, but is smoother (has less flicker). See the graphics.c file in the PToolbox release (in the sample_code directory).


The PToolboxLib guy.
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to Pocket Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest