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 skill levels

Your project manager wants you to add four skill levels to the game:

  • Rookie
  • Beginner
  • Intermediate
  • Advanced

Each skill level has to define different parameters for the game. The player must be able to select the desired skill level and the game must consider its related parameter values.

Now, we are going to create an XML file to define some values for a few parameters:

  1. Stay in the 3DInvadersSilverlight project.
  2. Right-click on 3DInvadersSilverlight (the main project) in the Solution Explorer and select Add | New item... from the context menu that appears. A dialog box will then appear.
  3. Select XML File from the list, enter the name SkillLevels.xml for this new file, and click on Add. A new item will be added to the 3DInvadersSilverlight ...

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