Table of Contents
 
Bitmaps, legend text, instances (for computer programs) and floor collision data (also for computer programs) can all be
exported out of Dungeon Demon.
Export Bitmap
Exporting a bitmap allows you to import it into a paint program like Gimp or Photoshop to apply more effects!
Export Legend Text
Exporting the legend allows you to bring the legend into a word processing program such as Open Office where you might do desktop publishing operations on the document or publish it as a PDF.
Export Instances (for computer games)
Version 1.1 of Dungeon Demon introduces two new export possibilities. One is to export legend items as instances that will be used in a Javascript or Actionscript program. To do this you will actually embed function calls into your map that will then be exported into function calls that your program can call when the game level is loaded. For example, the text tied to a chest instance from Dungeon Brawl looks like this:
addSpawner(chest,@x,@y,@rot);
the @x, @y, @rot parameters tell the exporter to substitute the objects coordinates and rotation into the output text. For example, if this was your output instance map file with one instance in the legend item in the map:
function db1Instances() { addSpawner(chest, 100, 100, 0); }
assuming that you had placed the chest into the map at coordinates 100, 100 and with 0 rotation.
Export Collisions (for computer games)
The other new export functionality is to export floor grids. The editor will output a 2d data array based upon the grid size for the layer named "floor". It is assumed that this layer defines where your character will be able to traverse in the dungeon maze. Passable regions will be marked in the output array with a 1, non-passable areas (ie. areas with no floor) will be marked with 0.




