XNA UK User Group
A helping hand for bedroom coders throughout the land.

UK User Group Credits Component

The credits component is a small(ish) assembly that can be included with your game and displayed before your game starts.

The component will display the XNA UKUG logo, our sponsors logos and enable you to customize some credit text so that you can credit any artists or composers whose competition entries you have used in your game.

Getting The Assembly 

You can download the assembly from here. Unzip the .dll and put it somewhere on your drive.

Using The Splash Screen

Open your game project in Visual Studio. Within the Solution Explorer window, expand your game project, right click on the References folder and select Add References...

In the Add References dialogue, select the Browse tab then find and select the XNA-UK-Splash.dll that you just downloaded. Then hit OK.

Now you just need to add a small bit of code to the entry point of your game. Usually this is in the program.cs file of your game project.

Just before the code that starts your game add lines like this:

XNAUKUG.Splash.SplashScreen splash = new XNAUKUG.Splash.SplashScreen(new XNAUKUG.Splash.Contributor[]
{
    new XNAUKUG.Splash.Contributor("Fred Dibnah", "Programmer", "fred@dibnah.com"),
    new XNAUKUG.Splash.Contributor("Felicity Kendal", "Designer", "felicity@kendal.com"),
    new XNAUKUG.Splash.Contributor("Paris Hilton", "Engine Coder", "paris@hilton.com"),
    new XNAUKUG.Splash.Contributor("Paul Freenish", "Game Coder", "paul@freenish.com"),
    new XNAUKUG.Splash.Contributor("Ginger Robertson", "Graphics Artist", ""),
    new XNAUKUG.Splash.Contributor("Gary Pride", "Graphics Artist", "gary@pride.com"),
    new XNAUKUG.Splash.Contributor("Robin Leavings", "Sounds & Music", "rob@soundfx.net"),
    new XNAUKUG.Splash.Contributor("Sugar Ray", "Concept Art", ""),
});
splash.Show();

You should add a Contributor for each person you want to credit. The name and title must be given but the email is optional.