Hi Tilo,

Thank you VERY much!!  I really do appreciate your insight!
It's very hard to find information on this topic...even within the
Palm community.  I've bought several Palm programming books, but 
very few even touch the topic of Palm animation.

I've considered using Razor for my animation, but I try my best to
stay away from C++ whenever possible.  :)  Have you considered
releasing a version of Razor in C?  Obviously I hate to reinvent
the wheel!

Thank again for taking the time to help me!  :)

Robert Purcell, [EMAIL PROTECTED]
BapSoft, http://www.bapsoft.com



--- In [EMAIL PROTECTED], Tilo Christ <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> Use 2 offscreen windows. Make one the size of the screen 
> (160x160). This one is there for double-buffering, which 
> avoids flickering. Make another one the size of your car. 
> This one is used to store the background of the car before 
> you actually draw the car.
> 
> The order is:
> ==============
> 1. Draw background to offscreen window #1
> 2. save background behind car in window #2
> 3. Draw car to window #1
> 4. Copy Window #1 to current screen
> 5. Restore background behind car to window #2
> 6. Determine new position of car
> 7. Goto step 2
> 
> You can enhance speed by making step 4 "smart", i.e. don't 
> copy the entire window, but just the changed region.
> 
> If you need source code examples for any of the above steps 
> you should look at http://www.tilo-christ.de/Razor
> 
> Hope that helps,
> Tilo
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to