O'Reilly logo

Microsoft® XNA™ Unleashed: Graphics and Game Programming for Xbox 360 and Windows by Chad Carter

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 5. Input Devices and Cameras

IN THIS CHAPTER

We created the camera in the last chapter but it did not move. We did not allow any input (other than exiting the demo with the GamePad’s Back button, which the template provides for us). We are going to change that now. We are going to learn how to use our input devices (keyboard, mouse, and game pad controller) by working with our camera. To accomplish this we are going to start a game library that we can utilize in our demos and games. Let’s get started!

Creating a Game Service

Instead of just throwing input and camera code inside of another demo, ...

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