Glen Moyes – To Those Learning 3D

I was going through some of the Blender Beginners Tutorials trying to gather a list for those getting started in Blender, What I did find was this really good article.

Link to Glen Moyes – Articles – To Those Learning 3D

The article is a good starting point for anyone who wants to get into 3d design, wether it be for game development or just 3d art. I would suggest this article as a good read to any just starting out.

Go and have a read and let me know what you think.

Cross Post from Virtual Realm – Mykre’s Space

XNA Resources – On Screen Keyboard

Over the last few weeks the guys over at XNA Resources have been working on an on screen text input component. This Keyboard simulates that one that is available on the 360, now you can use it in both your windows and 360 games/applications. The component also detects what video mode you are in and loads the required resources… 

Link to XNA Resources – XNA Tutorials, GSE Tutorials, XNA News, Game Studio Express News

Available in the download is the full source for the component. Great work guys keep it up….

Cross Post from Virtual Realm – Mykre’s Space

Tutorial 02 – Turning Your XNA App into a Starter Kit

One of features of the Visual Studio 2005 range is the ability to use Starter kits. With Starter kits you are able to load up a complete project or application and use it as a base for another application. It is also a good way to publish base projects that are shipped with SDKs or complete SDK Systems. At the moment several systems are using this method, for example the Dot Net Nuke portal system ships the base site as a Starter kit which you can customize and publish to your own site. In relation to game programming the XNA System Ships with one Starter kit “Space war”, and the Torque X Game Engine from Garage Games ships with several base applications in Starter kit form, we have also been told that more Starter kits will start to roll from Microsoft.

One of my hopes is that over the next few months we will start to see community based starter kits being published on various sites. But one of the problems I do see is that the documentation to create these Starter kits is a little hard to find. You can find all that you need for the task inside the MSDN Documentation but you have to dig a little deep to do this. So what I am going to do is use the previous Tutorial that I have put together and convert the Base Application into a simple Starter kit.

At present there is no real GUI way to do this, you will need to create some XML documents as well as perform some simple file operations to complete the task, note that none of the tasks are hard to do and anyone should be able to complete the tasks with the base tools shipped with Windows XP/Vista and the Game Studio Express.

The first Step is to get you base application complete, for those who are new at this you could have a look at my First Tutorial. Once you have the application complete and compiling without any problems you will now need to export the project as a template.

To export the project as a template select the Export Template option under the file menu. When going through this menu you will be presented with some options, first make sure that you select a project template and not an object. When you select a project it will export the complete project including all of the content. If you select the object you will be given the option to export single classes of forms from inside your project.

During the export process you are presented with several configuration options for the project, these include the Template name and description, as well as what to do with the template. It is up to you weather you import the template when finished (I don’t import it). But it will ask you about opening an explorer window to the template, do this…

When the template has been exported make sure that you take note of the Template name. Also I normally move the file to a temp directory so that I can work on the Starter kit files and not interfere with the Template systems. For the purpose of this example I have used the following settings for the names, this will allow you to see where they fall into place when the Starter Kit is finished.

Template Name: BaseXNAApplication
Template Description: Base Windows XNA Application

After you have finished the export you will have a file called, copy this file to a temp location so that we can work on it.

The next step is to create and edit an XML File so that we can use it as a configuration file for the Starter kit. What I have done is create a base configuration file which I customize each time I use it. Here is the Base File…

<VSContent xmlns=”″>
<FileName>LibraryApp Starter</FileName>
<DisplayName>Library Application Starter Kit</DisplayName>
<Description>VSTemplate for VB project</Description>
<Attribute name=”TemplateType” value=”Project”></Attribute>
<Attribute name=”ProjectType” value=”Visual Basic”></Attribute>
<Attribute name=”ProjectSubType” value=””></Attribute>

We need to save this file as a *.vscontent file, so for this project we would save it as BaseXNAApplication.vscontent.

Now that we have the base vscontent file we will need to change it to reflect our project, change the vscontent file that we just created so that it matches the one below.

<VSContent xmlns=”″>
<DisplayName>Base Windows XNA Application</DisplayName>
<Description>Base Windows XNA Application that can be used to create new Projects</Description>
<Attribute name=”TemplateType” value=”Project”></Attribute>
<Attribute name=”ProjectType” value=”Visual C#”></Attribute>
<Attribute name=”ProjectSubType” value=””></Attribute>

With the files that we now have ( and BaseXNAApplication.vscontent) we can now put together the Kit. The first step is to create an empty archive/Zip file. In windows XP just right click in the working folder and select new->compressed folder and call it “”. Next add the two files that we have created to this compressed file. We need to make sure that the files we add are at the root folder inside the compressed file; if not the starter kit will fail and not work like we want it to. With the files inside the compressed file we now need to rename the compressed file so it is the same as the template file stored inside, rename it to “”.

Almost Done, The last step is to rename the zip file that we have just created and call it “BaseXNAApplication.vsi”…. If all has been done right we should now be able to double click on the vsi file and the Visual Studio Installer will take over and install the Starter Kit.

Cross Post from Virtual Realm – Mykre’s Space


I do not know how this one slipped under….. but after a small post on Jason’s Blog about an animation framework for XNA I was lead to this.

Here is one of the Introduction Quotes from Jason’s Blog:

“A few months ago, 3ofus got together and decided to form a team of game developers. Each of us bringing our own specific talents to create something greater than the sum of its parts. We’re like a superteam of game developer friends… the superfriends of XNA, if you will.”

This site looks like it could lead to a really good resource for tools and information on XNA, one of the projects that the site will include is Paradox.

“The really great part is that we’ve been working on some truly amazing stuff. One of those amazing things is Paradox.

Paradox (par·a·dox) -noun:
1. an apparently true statement or group of statements that leads to a contradiction or a situation which defies intuition.
2. A truly badass RPG built by the aforementioned superfriends using XNA, Game Studio Express & C#.
3. All of the above. “

Go and have a look and give the guys all the support they need.

Link to xna3way

Cross Post from Virtual Realm – Mykre’s Space

Tutorial 01 – XNA Your First Windows Game

Getting Started with the Base Application

Getting Started with XNA and your first Windows Game is really easy; the first stage is to download the Visual Studio C# Express IDE, XNA Game Studio Express, and any service pack releases. Once this has been done and installed you are ready to roll.

XNA Development Center on MSDN

XNA Game Studio Express Home Page

Visual Studio C# Express Download Page

With most programming languages and Systems you generally have to start at the beginning, well it is the same with XNA and Game Studio Express. In the case of XNA your first application is just a Base Windows Game that runs and displays a cornflower blue screen.

Start your project by opening up the Game Studio Express IDE system and select the windows Game Project. Make sure that when you do this that you change the path to a location where you would store your projects, as well as changing the name of the project to something that relates to the project at hand. For the purpose of this article and the next few call the project BaseWindowsGame.

When the IDE has finished working you will be presented with the Base Application Framework that you will use for all of your projects moving forward. To execute, compile or run the project you can either press the Green play button from the main toolbar, press the F5 key or select Start Debugging from the Debug menu. Doing this will compile your application into Debug mode, if you have finished debugging and want to release the project you should make sure that you compile or build your application in release mode.

At this point the Application is finished, but what I will do now is go through some of the basic changes that can be made to this base application.

Changing the Windows Title

When the default application starts the Windows Title for the form is automatically set to the Programs Name. To change this add the following line of code to the Constructor for the main game class.

this.Window.Title = “Application Title”;

Turning the Mouse on

The base or Default behavier for the mouse in an XNA Game Studio Express Application is to have the default mouse cursor invisable. To turn the mouse on and make the cursor visable you need to add the following line of code to the game constructor.

this.IsMouseVisible = true;

Creating a Way Out

When you install and configure the Base Application, the system is configured to allow the game to exit by pressing the Back key on the Xbox 360 Controller. But what if you do not have a controller?

Here are some simple instructions on how to add some basic Keyboard support and have the Application exit when the Escape Key is pressed. I have also left the Controller code in so that the system can be used with both interfaces.

Note that some the information here has been adapted from the XNA Documentation that is included with the Game Studio Express Install.

To get started add the following line just after the creation of the Content and Graphics Device Managers.

KeyboardState oldState;

The next stage is to set up the initial state of the Keyboard, do this by adding the following line of code the games constructor.

oldState = Keyboard.GetState();

The Last step is to change the update code so that we can detect the Escape Key pressed and exit the application. Change the Update call in the application so that it now has the following code instead of the normal call to the Controller State.

KeyboardState newState = Keyboard.GetState();

// Allows the default game to exit on Xbox 360 and Windows

if ((GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed) || (newState.IsKeyDown(Keys.Escape)))




oldState = newState;

Any way that is it for now. I will be trying to post more over the next few days, hope this helps someone….

Cross Post from Virtual Realm – Mykre’s Space

Using Blender with XNA

Over the last few years I have been playing with several diferent 3d packages, these have included 3D Studio Max, Lightwave, Maya, and Blender. The bad thing is that with my change of job I no longer have access to the commercial Packages and need to resort to Blender… Note that I do not think that this is the second choice and that I am making do with the free App… I Actually like using the package.

One thing that you will find with Blender is that the interface is a bit hard to get used to, so over the next few weeks to months I will also be starting to post content on Blender includng Tutorials, News, Tips and any other news I come across. What I am going to ask is if anyone has any links that they think are interesting please pass them on.

Cross Post from Virtual Realm – Mykre’s Space

XNA Tutorials: Riemers Series 2 Updated

 Riemer has finished converting his second series of tutorials over to the final release code, this series is on a simple flight sim.

“Welcome to this second series of XNA for C# Tutorials! In the first series, you learned some basic features of XNA. This list of features will be further expanded in this series, so after completing this series you’ll have created your own 3D game!!
In this second series of XNA for C# Tutorials, you’ll learn how to create a complete flight simulator. This will include flying your aircraft in a true 3D city and firing bullets at objects!
Again, the main goal of this series is to cover XNA features. This means the physical flight model will not contain gravity influences, it just let’s you manoeuvre your aircraft.”

Link to XNA Tutorial using C# > Series 2: Flightsim

Cross Post from Virtual Realm – Mykre’s Space