Level structure

PGE using a three models of level structure:

0) Alone file Most simple way, is a using a configuration stuff content only without customization:


 * LevelFilename1.lvlx

1) Custom directory All customized content will be placed inside special custom directory - a directory which equal to level file's base filename:


 * /LevelFilename1 - Custom Directory for level with "LevelFilename1" base name
 * image1.png - Some level specific graphics customization
 * image2.png
 * image3.png
 * rock'n'roll!.ogg
 * LevelFilename1.lvlx

2) Heap All customized content will be placed together with a level. When you will put into this folder other levels, they are will use placed customized content too.


 * LevelFilename1.lvlx
 * image1.png - Some common graphics customization
 * image2.png
 * image3.png
 * rock'n'roll!.ogg

3) Mixed Used "Custom directory" and "Heap" models together. But if custom directory have file with same name which placed together with level file will be used file from custom directory with higher priority.


 * /LevelFilename1 - Custom Directory for level with "LevelFilename1" base name
 * image1.png - Some level specific graphics customization
 * image2.png
 * image3.png
 * meow.png - high priority
 * rock'n'roll!.ogg
 * LevelFilename1.lvlx
 * image4.png - Some common graphics customization
 * image5.png
 * meow.png - this file will be ignored, because already found in the custom directory
 * hardcore.ogg