Coding4Fun
10 .NET Programming Projects for Wiimote, World of Warcraft, YouTube and More

Stuck on Page 10!

Latest post Sun, Jun 14 2009 1:12 AM by Sky-Knight. 2 replies.
  • Sun, Jun 14 2009 12:58 AM

    • Sky-Knight
    • Top 10 Contributor
      Male
    • Joined on Sun, Jun 14 2009
    • Phoenix, AZ
    • Posts 2

    Stuck on Page 10!

    I'm currently working through the book going line by line trying to build the Alien Attack project.

    I'm now to page 10, where the book explains an if statement with InputManager.ControlState.Start


    My compiler is throwing "The name 'InputManager' does not exsist in the current context.

    I believe this means I don't have the correct using statements, but the book only lists Xna.Framework, Xna.Framework.Graphics, and Xna.Framework.Content;  I've tried adding Xna.Framework.Input and it's still a no go, google isn't being much help either.


    Any clues as to what I'm doing wrong?  I'm comparing against the source provided and not seeing a difference at this early stage.  I think I'm missing the forest for the trees...

  • Sun, Jun 14 2009 1:01 AM In reply to

    • Brian Peek
    • Top 10 Contributor
      Male
    • Joined on Wed, Jul 16 2008
    • Niskayuna, NY
    • Posts 53

    Re: Stuck on Page 10!

    I replied via email but I want to reply here as well in case anyone else runs into the same issue:

    Have you read and implemented through page 15?  The InputManager is briefly mentioned on page 10, but we don't actually write it until the next section.  Until the class is added to the project and implemented as discussed on pages 12-15, you will get compilation errors.

  • Sun, Jun 14 2009 1:12 AM In reply to

    • Sky-Knight
    • Top 10 Contributor
      Male
    • Joined on Sun, Jun 14 2009
    • Phoenix, AZ
    • Posts 2

    Re: Stuck on Page 10!

    AH HAH! That would make sense. So I'm just being overly anal too soon.

    That's what happens when you get an IT guy who dabbels in programming reading your stuff.

Page 1 of 1 (3 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems