Time for action – creating projects
Download
2403_08_GRAPHICPACK.zip
from the book's website, and extract the contents to a temporary folder. Leave this folder open in Windows Explorer.Inside Visual Studio, select New Project... from the File menu.
Create a new Windows Game (4.0) project called
Gemstone
Hunter
.Right-click on the Gemstone Hunter Content project, and add a new folder called
Textures
.Switch back to the Windows Explorer window, and highlight the
Sprites
folder, as well as the three .PNG files (Gem.png
,PlatformTiles.png
, andTitleScreen.png
). Right-click on one of the highlighted files and select Copy.Switch back to the Visual Studio window, right-click on the Textures folder in the content project, and select Paste. This should result in a Sprites folder under Textures folder and all three images being added to your project.
Right-click on the Gemstone HunterContent project, and add a new folder called
Fonts
.Create a new
SpriteFont
object calledPericles8
in theFonts
folder...