Layer (rectangular)
Most used layer type - very easy to handle. It has very fast and optimized drawing operations. The X/Y-coordinates are neatly arranged on this layer:



All data is contiguously stored in memory:




Properties


Tileset:
After you create a tileset with the tileset editor you can choose a tileset here.

Tilelayer:
The tilelayer can be set to either 4 bit (15 tiles), 8 bit (255 tiles), 12 bit (4095 tiles) or 16 bit (65535 tiles). 8 and 16 bit are very easy to handle and are a bit faster. If you modify this value, the map editor will recalculate this layer.

Datalayer:
The datalayer can be set to 0 bit, 1 bit (1 value), 2 bit (3 values), 4 bit (15 values) or 8 bit (255 values). If you modify this value, the map editor will recalculate this layer.

Layername:
The layername is always optional. You can read this value in your program.

Layerpos X/Y:
Layer position (in pixels)

Layerwidth, Layerheight:
Layer width and height (in tiles). If you modify this value, the map editor will recalculate this layer.

Parallax X/Y:
Parallax is set to 100% by default. Use 1%-99% for slower scrolling. Use 101%-200% for faster scrolling. 0% fixes the background object.

Mask image:
You can draw masked images (transparent mask color). Enabled by default.

Endless layer repeat:
Draw and repeat this layer. Useful for background-layer (gras) or for foreground-layer (rain)...