Player Logic File

The file dgnLogic.py creates the controls for the movement of the character within the dungeon. These are logic bricks, but are created via python code.

********** NOTE **********
The last line of code in the addLogic function requires that the mousemove.py file be loaded in the Blender text editor! Get the file here.

Add game logic controllers to the collision box (Cube). Prepare view for player. This is a real hoot . . . can you imagine having to redo this every time? This adds the logic bricks using python . . . it was not easy to figure out how to do this, but with a little help here and there online and a lot of hacking . . .


Image not available
Image not available

Switch to Blender Game Engine! We must be getting close to the end . . .

Image not available

The line at the top is the one the requires the mousemove script. Then we have the convoluted for loops that get us into the correct screen mode.

Image not available