Loads a map from an external file.
Loads a map from a BASE64 string.
Saves a map to an external file. Will be deprecated soon.
Saves a map to an external file. See documentation about the format.
Saves a map to a BASE64 string.
Contains the very basic data for the map binary file (*.mbf). Length of the map is calculated as length = sizeX * sizeY, all words are 32 bits long, so size of map in bytes equals mapSize = length * 4, and header should be 12 bytes in size. Maps are always starting in the top-left corner of their tile layers.