PixelPerfectEngine.map.mapformat

Undocumented in source.

Public Imports

PixelPerfectEngine.map.mapdata
public import PixelPerfectEngine.map.mapdata;

Members

Classes

BoxObject
class BoxObject

Implements a Box object. Adds a single Coordinate property to the default MapObject

MapFormat
class MapFormat

Serializes/deserializes XMF map data in SDLang format. Each layer can contain objects (eg. for marking events, clipping, or sprites if applicable), tilemapping (not for SpriteLayers), embedded data such as tilemapping or scripts, and so on. <br/> Note on layer tags: As of this version, additional tags within layers must have individual names. Subtags within a parent also need to have individual names. Namespaces are reserved for internal use (eg. file sources, objects).

MapObject
class MapObject

Represents a single object within a layer, that can represent many different things. All objects have a priority identifier (int), a group identifier (int), and a name.

SpriteObject
class SpriteObject

Implements a sprite object. Adds a sprite source identifier, X and Y coordinates, and two 1024 based scaling indicator.

Functions

getCoordinate
Coordinate getCoordinate(Tag t)

Gets a coordinate out from a Tag's Attributes with standard attribute namings.

Structs

LayerInfo
struct LayerInfo

Simple LayerInfo struct, mostly for internal communications.

TileInfo
struct TileInfo

Simple TileInfo struct, mostly for internal communication and loading.

Meta