Summary


This hour built on your knowledge of sprite animation by expanding the sprite support in the game engine to support frame-animated sprites . Frame animation allows you to change the appearance of a sprite, which can be used to achieve a variety of different effects. This hour demonstrated how to use animated sprites to make the moving guys in the Battle Office game appear to run across the game screen. You could also make similar modifications to the Henway game so that the chicken appears to be running, or maybe change the car images so that their brake lights come on every once in a while. Regardless of how you use them, animated sprites can add significantly to the allure of games .

The next hour continues along the same path of improving games with better graphics effects by showing you how to create interesting backgrounds. You've grown accustomed to seeing backgrounds that are just a fixed image, but how about a space background complete with twinkling stars? Read on to find out how it's done.



Sams Teach Yourself Game Programming in 24 Hours
Sams Teach Yourself Game Programming in 24 Hours
ISBN: 067232461X
EAN: 2147483647
Year: 2002
Pages: 271

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net