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

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

  1. Stay in the SilverlightInvaders2DVector project.
  2. Build and run the solution. Click on the button and move the ship to the aliens, using the right mini stick. You will be able to move and stop the ship with great accuracy, using the gamepad, as shown in the following picture:
    Time for action—using the gamepad
  3. Now, use the gamepad's four action buttons to control the ship's movement.

What just happened?

Many Silverlight developers had told your project manager that it was impossible to use a gamepad to control a Silverlight application. For ...

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