O'Reilly logo

3D Game Development with Microsoft Silverlight 3 Beginner's Guide by Gastón C. Hillar

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

Time for action—using the gamepad as a mouse

Now, it is time to invite your project manager to control the game using the gamepad's left mini stick in a Silverlight application:

  1. Stay in the SilverlightInvaders2DVector project.
  2. Keep the same configuration previously explained for the gamepad.
  3. Build and run the solution. Click on the button and move the ship to the aliens, using the left mini stick. You will be able to move and stop the ship according to the mouse pointer's position, using the gamepad, as shown in the following picture:
    Time for action—using the gamepad as a mouse
  4. Repeat the experience using the gamepad's POV control to move the ship.

What just happened?

By using the keyboard manager, ...

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