Game Main
The file gamemain.py puts it all together. You will see it in the text editor when you load the Blend file.To run this, you will need to:

1. Download and place the Script Files into the Blender addons directory. My directory is located at C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons. You will need to restart Blender if you have it open to re-load the script files.

2. Download the Blend File, with the three textures that come with it into a new folder, then open it in ***Blender version 2.72 or higher***. (I am using Blender 2.72b). Note that the Blender file (archeuslore.blend) may take some time to load, as it already contains a game level. On my computer it takes between 15 and 20 seconds.

3. In the text editor, you will see the following lines:
path = "C:\\ABlender Game\\textures\\" <------ Here!
floorPath = path + "floor.png"
ceilingPath = path + "ceiling.png"
wallPath = path + "wall.png"

********** NOTE **********

YOU WILL NEED TO FILL IN THE CORRECT PATH FOR YOUR TEXTURE FILES IN THE LINE ABOVE!
You will need to update the path to wherever you put your texture files. In Windows explorer, you can right-click the address bar and select "copy address as text"..

4. Put your cursor over the 3D View and press "Control" and the "0" (zero) on the number pad at the same time. (Make sure you do not select or deselect what is in the 3D View, or you will have to re-select the camera by clicking "select" at the bottom of the window and "camera".)

5. When the file is open, put your cursor over the 3D view window and press "p". If Blender fails to detect the texture files, you will need to change the paths to them in the text editor. There are relevant notes there to help you if that occurs. The mouse will direct the spot light, and the four keys one your keyboard will choose your diection of travel.

"w" key = North. (up)
"s" key = South (down)
"a" key = East (left)
"d" key = West (right)

If you want to generate another distinct level, follow the directions below.

To load a new level:

1. Select all in the 3D view window by pressing the "a" button and delete everything.

2. Click on the "Run Script" button. This may take some time, depending on your computer.

Image not available

3. Press the "p" button.

4. The mouse directs the spot light, and the four keys on your keyboard will choose your direction of travel.
If the screen appears blank, try moving your mouse, as it may not be correctly positioned..


"w" key = North. (up)
"s" key = South (down)
"a" key = East (left)
"d" key = West (right)


Today's photo of the dungeon. I have improved the textures and added mist to the world environment.
Image not available