Distributing Your Finished Game
|Platform||Source Code Visible||Format||Windows User Requirements|
|Windows||No||.zip or other compressed format||
If you would like to share your XNA Game Studio Express game with other Windows users, but do not want to share your source code and assets, you can create an installable package that contains your game binaries and the necessary redistributable files.
Sharing to Another Windows User
You may package XNA Game Studio Express game projects only for the Windows platform. Use this method for distributing your compiled game code and asset files.
To compile your game binaries for distribution
- In XNA Game Studio Express, open the project you want to package.
From the Build menu, click Build Solution.
This creates the necessary files needed to run your game on other computers.
- Package all files located in the appropriate output directory of your project, using an installation package tool of your choice.
Notes for Independent Publishing
In addition to the requirements listed in the previous table, there are additional software prerequisites that must be installed on a player's machine if the computer does not have XNA Game Studio Express installed. If these files are not installed and the player's machine does not have XNA Game Studio Express installed, your game will not run.
You are responsible for installation of the following software packages on the player's machine.
- The .NET Framework 2.0 Redistributable.
The XNA Framework Redistributable corresponding to the version your game was built against.
Tip You can find this version number by loading your project in XNA Game Studio Express and clicking the project node in Solution Explorer. The XNA Framework Version property is visible in the Property pane.
The following files from the DirectX 9.0c Redistributable.
The total size of these files is around 4 MB.