Game Development for Xbox 360, PC + Windows Phone 7

Oh, The Vagueness!!

rated by 0 users
Answered (Verified) This post has 1 verified answer | 1 Reply | 2 Followers

Top 10 Contributor
Male
6 Posts
AirStyle120 posted on 7 Jul 2010 6:35 PM

Hello,

I have a problem:

In Chapter 5, you tell us about creating a game service and making a game component for the InputHandler interface. However, the book was vague, and I don't know where to put any of the code. I tried creating a class called "InputHandler", but it said that one already exists, and I don't want to replace anything. Currently I'm just adding the stuff to the FPS class, but I don't know if that's right or not. The info for code implementation starts on page 85 in Chapter 5.

Question of the day:

"Where do I put it all?"

Answered (Verified) Verified Answer

Top 10 Contributor
Male
135 Posts

If you have any question where the code should go from the text then you can grab source code from the CD and see exactly where I put it.  For the input handler, you should definitely put it in the InputHandler.cs file and not the FPS.cs.

 

Page 1 of 1 (2 items) | RSS
© 2011 Chad Carter. All rights reserved.