Changes between Version 22 and Version 23 of content/LevelHowTo
- Timestamp:
- Mar 4, 2011, 10:50:54 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
content/LevelHowTo
v22 v23 26 26 27 27 Tip: XML files do not have to be compiled. If you changed a level file (and didn't forget to save it), you simply have to reload the level to view the changes. In Linux you can switch between the game and the editor by pressing [alt] + [tab]. If you insert only a little error and try to load a level the game will „stuck“. By pressing [alt] + [tab] you can leave the game and view the error message on the terminal. 28 29 == What it's all about == 30 By describing a level via xml you actually add c++objects to the level. Each tag refers to a class that contains a XMLPort function. In order to understand better what a certain tag is doing you can read the corresponding source files. 31 Example: The <light> tag shown before refers to the [http://www.orxonox.net/browser/code/trunk/src/orxonox/graphics/Light.h light class]. 28 32 29 33 == First steps ==