FANDOM

N
1,285 Pages

Map data refers to the data generated by Ned when you create a map. Also known as level data.

Structure Edit

The map data is divided by a pipe (|) into two parts: The first parts contains information about the tile data, the second part describes the objects, enemies, etc.

Tiles Edit

Each one of the 713 tiles (31 tiles wide and 23 tiles high) is represented by one ASCII character. For example, "0" represents a D tile, and "1" represents an E tile.

Objects Edit

The objects are separated by exclamation marks. The data for one object consists of numbers, which are separated by commas. The first number represents the object type, e.g. 5 for the ninja, 0 for a piece of gold, or 6 for a drone (all types). The following two numbers are the X and Y coordinate of the object.

In addition to these 3 parameters, more parameters can be added to describe the object, if necessary. For example, some parameters added to the data of drone describe its type (laser, zap, chaingun), its starting direction, its pathfinding algorithm, and so on.

If a parameter is not a number, it is replaced with NaN when the map is loaded.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.