-
Book Overview & Buying
-
Table Of Contents
3D Game Development with Microsoft Silverlight 3: Beginner's Guide
By :
In order to provide good feedback to the players, we must animate many independent sprites at the same time, while responding to the players controls. This seems to be a very complex task, involving a lot of code. However, using a good object-oriented design, combined with Silverlight 3's capabilities, we can transform complex game loops into easy-to-understand code.
In this chapter, we will control multiple sprites created on demand. By reading it and following the exercises you will learn how to:
Take advantage of object-oriented programming to work with multiple sprites
Prepare easy-to-understand and well-organized game loops
Create objects on the fly, as needed by the game logic
Control transformations applied to vector-based graphics
Understand the basics of collision detection algorithms
So far, we showed a few raster sprites, and created a simple 2D scene with some animations. We also took advantage of some GPU acceleration...
Change the font size
Change margin width
Change background colour