Questions and comments to hal {at} artofmagic.co.uk

2.2 Load a Model

2.1 Creating a Blank project -> Load a Model -> 2.3 Models and Entities

The XNA Framework is designed to handle a lot of the grunt work that many games spend many man hours on! Part of this is just the loading of the models, textures and shaders.

At this point we're simply going to follow the XNA Framework 1 Tutorial. Which can be found in the XNA help. 

Once you get to the end of tutorial 1 you should be able to see a rotating space ship.

At this point I'm going to replace the space ship with a Slightly more Machines like model!

I've had to tweak a number of things:

Here is the zip file for the Knight (level 3 aggressor). OriginalKnightLevel3.zip

Here is the C# - it looks remarkably like the XNA tutorial code at this point. The explanations in the XNA help text (e.g. about rotations, Vectors, Keyboard, etc) are sufficient that I'm not going to add anything.

Comments on the Code though as presented:

Complete Solution at this stage can be downloaded here. RTSTest1_2.2.zip

 

Next: 2.3 Models and Entities

(c) Hal Angseesing 2007 All Rights Reserved.