Chapter 15. Creating Game Components

In this chapter, you will

  • Find out what turns an object into a component.

  • See how Microsoft XNA really uses components to make game creation easy.

  • Experiment with artificial intelligence (AI) in a game.

  • Turn “Bread and Cheese” into an arcade-quality game.

Introduction

You now know a lot about how programs are made. You have traveled all the way from performing simple calculations with your programs to creating complex game objects that show high cohesion (that is, they can look after themselves) and low coupling (that is, they interact in the simplest manner possible). In this chapter, you are going to find out how to take a high-level view of your programs and use this perspective to create software components that ...

Get Microsoft® XNA® Game Studio 4.0: Learn Programming Now! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.