O'Reilly logo

Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours by Jonathan S. Harbour

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

Hour 21. Finite State Gameplay

What You’ll Learn in This Hour:

Finite state gameplay

Finite state theory

State-driven game entity behavior

Adaptive states: rudimentary A.I.

Testing game state

This hour begins work on the first stage of a sample game that will demonstrate all the concepts covered up to this point in the book. The first stage of the game will see the game screens developed and displayed based on the current state, as well as early state-based behaviors for gameplay objects. The game is an interesting take on the space theme we’ve been using all along. There will be a black hole and gameplay will revolve around it—literally!

Finite State Gameplay in Theory

Finite state refers to a condition that will have a limited number ...

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