Skip to content
zackthehuman edited this page Jan 9, 2013 · 12 revisions

Maps

JSON Structure

{
    "id" : 0,
    "x" : 0,
    "y" : 0,
    "width" : 4,
    "height" : 10,
    "cameraBounds" : {
        "x" : 0,
        "y" : 0,
        "width" : 4,
        "height" : 10
    },
    "tile" : [
        1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
        1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
        1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
        1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
    ],
    "attr" : [
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
        1, 0, 0, 0, 0, 0, 0, 0, 0, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    ],
    "enemies" : [],
    "items" : [],
    "transitions" : []
}

Camera Bounds

Rooms

JSON Structure

Transitions

Items and Enemies

Clone this wiki locally