Game Development Reference
In-Depth Information
The New Project window
7. You can click on the
Browse
button to open a folder browser window that
you can use to specify the folder you want to save to.
8. Leave the
Create directory for solution
checkbox checked so that Visual
Studio will make a subfolder to put this project in. Your
New Project
window
should look like the previous screenshot.
9. Click on the
OK
button to create the
SlimFramework
project. Visual Studio
will create the project and display the
Class1.cs
file. It is just an empty
class for now.
To make a game, we first need a window to display our game in. So we will start our
framework by creating a simple game window class.
Follow these simple steps:
1. Select the
Class1.cs
file in the
Solution Explorer
pane. The
Solution Ex-
plorer
pane is on the upper-right portion of the Visual Studio window and al-
lows us to see the files in our project.
2. If it is not there, you can access it by opening the
VIEW
menu and choosing
Solution Explorer
to open it.
3. Right-click on the
Class1.cs
file and rename it to
GameWindow.cs
.