[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animation Codes



Hi,

I have added another new sample code for teaching animation. The goal
is to do something smooth and flicker free (if possible) without doing
advance technique like page flipping.

You can check it in http://virtualgs.larwe.com/Virtual_GS_Programming/Pacman.html

The result is a familiar screen you might have known.

The new code uses clock tick to keep the speed at steady speed
regardless of the emulated GS speed. I tested under 2.8MHz, 9MHz, and
more (not sure what speed, but I set Sweet16 to 40MHz). Under 2.8MHz I
still see serious flicker, but it works fine on 9MHz or more.

I have also update the Bouncing Mac demo to use clock tick to reduce
flicker. You can get the source code for these and more at
http://virtualgs.larwe.com (Virtual GS Programming) site.