Module Maps made elsewhere
#include <macaw.h>
Functions
- importmap
- Reads a map made in another program: a Tiled map (
.tmx or .json) or a CSV of tile numbers. - importmapimage
- Reads a picture of a whole level (a PNG) and cuts it into tiles.
- imap_layers
- Tells you how many layers an imported map has.
- imap_layername
- Gives you the name of one of an imported map's layers.
- imap_size
- Tells you how big one layer of an imported map is, in tiles.
- imap_get
- Reads one tile of an imported map.
- imap_picture
- Gives you a 256 x 256 picture of the imported map's tiles, each in its sprite's place, laid out like a sprite sheet.
- imap_used
- Tells you whether the imported map's tiles fill a sprite, so you know which places in the sheet they take.
- imap_notes
- Tells you how many notes the import left, about what was left out or changed.
- imap_note
- Gives you one of the import's notes, as text you can show the person.
- imap_free
- Lets go of an imported map you've finished with.