This floor tile registers when the sphere is upon it, and after a set time it teleports the sphere (changes its position coordinates) to a fixed point on the playground. It also adds a speed boost to the sphere.
Each group is supposed to create their own level for the enigma3d game. This is done by designing your own floor/wall tile, and its special function (like teleporting the sphere), along with putting the tile into specific places on the level, by altering the field.lvl
file.
Development is done on the field 29, which is located in T29.cpp
and T29.h
. Only these two code files are allowed to be altered!
Furthermore, there is a file containing the information for the levels, located in enigma3d.app/Contents/Resources/field.lvl
in root of the folder, if you have Xcode.
Use the presupplied project files for either Xcode or Visual Studio, and place them in the root folder.
Xcode will look like,
enigma3d.app enigma3d.xcodeproj framework/ ...
and Visual Studio will look like,
game_framework.sin irrlicht-1.8.1/ ... framework/ ...
For visual studio, change your game_framework.sin and change the line,
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "game_framework", "game_framework\game_framework.vcxproj", "{B8C1C195-DAFB-40A1-8F04-E4DEDDF1173A}"
to use the framework
folder instead of game_framework
, like so
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "game_framework", "framework\game_framework.vcxproj", "{B8C1C195-DAFB-40A1-8F04-E4DEDDF1173A}"