Instructions - .NET - Visual Studio 2005

This article shows you how to get started creating a SwinGame using the C#.NET or VB.NET Template version of the SwinGame SDK.

Requirements
You will need to following to use the .NET Template version of SwinGame.
 * Visual Studio 2005 or 2008 (works with both express and professional)
 * Microsoft .NET Framework 2.0
 * The SwinGame .NET Template (either C# or VB) SDK - see download

Instructional Video
Watch the video of process for installing, compiling, and starting your game.

Installing
Installing the template only requires that you put the zip file that you downloaded into your My Documents\Visual Studio 2005\Templates\ProjectTemplates\ folder for Visual Studio 2005, or My Documents\Visual Studio 2008\Templates\ProjectTemplates\ folder for Visual Studio 2008.

Starting a Game
Open Visual Studio, and click File > New > Project.

For C#, Select the C# Language and Click the SwinGame C#.NET Project Template. For VB, Select the Visual Basic/Basic Language and Click the SwinGame VB.NET Project Template.



Enter your desired Project name, and the location it is to be saved and click.

Building the Game
To Build the game, Click Build > Build Solution

Running the Game
To Run the game, either Click Debug > Start Debugging, or goto the bin folder in your game project folder, and run the exe manually.

That's all. You have now setup SwinGame and are ready to create your own games.

Distributing your Game
When your game is complete you can distribute it by packaging up all of the files in the bin folder. These can then be distributed to anyone running Windows. They run the game by double clicking the executable. They do not need to install anything to run the game.

To Run this game on Mac or Unix you will need to follow the Mono Instructions, because you'll need Mono to run the game on Mac or Unix, the packing script for Mac application, and the Mac/Unix Libraries.

Enjoy programming with SwinGame!

Also See
Compiling SwinGame SDK for Visual Basic .NET and C# .NET (YouTube)