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—reproducing videos

Now, we are going to reproduce the video converted to a WMV format with an HD 720p Intranet encoding profile, before starting the game:

  1. Open the 3DInvadersSilverlight project.
  2. Open 3DInvadersSilverlightTestPage.aspx (double-click on it in the Solution Explorer, found under 3DInvadersSilverlight.Web project) and enable hardware acceleration (GPU acceleration).
  3. Create a new sub-folder in the ClientBin folder in the 3DInvadersSilverlight.Web project. Rename it to Media.
  4. Right-click on the previously mentioned folder and select Add | Existing item... from the context menu that appears.
  5. Go to the folder in which you have copied the previously encoded video in the WMV format (C:\Silverlight3D\Invaders3D\Media). Select ...

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