O'Reilly logo

Microsoft® XNA® Game Studio 4.0: Learn Programming Now! by Rob Miles

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 12. Games, Objects, and State

In this chapter, you will

  • Discover a better way to structure your programs.

  • Add some bread that you can use to bash the cheese around on your screen.

  • Give yourself some targets to hit the cheese at.

Introduction

You have the basis of a little game at the moment. You know how to place objects on the screen and manage their movement. You also know how to make sure that the games you create work with different display sizes and resolutions. In this chapter, you develop the game play further, add some more sprites, and create a game that has proper game-play.

Adding Bread to Your Game

You can continue working on the 03 Overscan Bouncing Cheese sample code that you were using in Chapter 11. You need to add some bread ...

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