O'Reilly logo

3D Game Development with Microsoft Silverlight 3 Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Combining Sprites with Backgrounds

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required