96545c618a
Documentation of metadata functions/methods
273 lines
8.7 KiB
JSON
273 lines
8.7 KiB
JSON
{ "compressionlevel":-1,
|
|
"editorsettings":
|
|
{
|
|
"export":
|
|
{
|
|
"target":"."
|
|
}
|
|
},
|
|
"height":10,
|
|
"infinite":false,
|
|
"layers":[
|
|
{
|
|
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
"height":10,
|
|
"id":1,
|
|
"name":"start",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
"height":10,
|
|
"id":9,
|
|
"name":"HereYouAppear",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"data":[33, 34, 34, 34, 34, 34, 34, 34, 34, 35, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 41, 42, 42, 42, 42, 42, 42, 42, 42, 43, 49, 50, 50, 50, 50, 50, 50, 50, 50, 51],
|
|
"height":10,
|
|
"id":2,
|
|
"name":"bottom",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"data":[0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
"height":10,
|
|
"id":4,
|
|
"name":"metadata",
|
|
"opacity":1,
|
|
"properties":[
|
|
{
|
|
"name":"openWebsite",
|
|
"type":"string",
|
|
"value":"getGameState2.html"
|
|
},
|
|
{
|
|
"name":"openWebsiteAllowApi",
|
|
"type":"bool",
|
|
"value":true
|
|
}],
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"draworder":"topdown",
|
|
"id":5,
|
|
"name":"floorLayer",
|
|
"objects":[
|
|
{
|
|
"height":200.31900227817,
|
|
"id":1,
|
|
"name":"",
|
|
"rotation":0,
|
|
"text":
|
|
{
|
|
"fontfamily":"Sans Serif",
|
|
"pixelsize":9,
|
|
"text":"Start the test : \nWalk on the grass, an iframe open.\n\nTest : \nClick on the 'startLayer' button.\nResult : \nThe name of the layer where you start appears. (only work when the start layer is not 'start')\n\nTest : \nClick on the 'mapUrl' button.\nResult : \nThe url of the JSON file of the map is displayed in the console.log().\n\nTest : \nClick on the 'Map' button.\nResult : \nThe JSON file map appears.\n\n\n",
|
|
"wrap":true
|
|
},
|
|
"type":"",
|
|
"visible":true,
|
|
"width":305.097705765524,
|
|
"x":14.750638909983,
|
|
"y":119.85335007886
|
|
}],
|
|
"opacity":1,
|
|
"type":"objectgroup",
|
|
"visible":true,
|
|
"x":0,
|
|
"y":0
|
|
}],
|
|
"nextlayerid":10,
|
|
"nextobjectid":2,
|
|
"orientation":"orthogonal",
|
|
"renderorder":"right-down",
|
|
"tiledversion":"1.4.3",
|
|
"tileheight":32,
|
|
"tilesets":[
|
|
{
|
|
"columns":8,
|
|
"firstgid":1,
|
|
"image":"tileset_dungeon.png",
|
|
"imageheight":256,
|
|
"imagewidth":256,
|
|
"margin":0,
|
|
"name":"TDungeon",
|
|
"spacing":0,
|
|
"tilecount":64,
|
|
"tileheight":32,
|
|
"tiles":[
|
|
{
|
|
"id":0,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":1,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":2,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":3,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":4,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":8,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":9,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":10,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":11,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":12,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":16,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":17,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":18,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":19,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
},
|
|
{
|
|
"id":20,
|
|
"properties":[
|
|
{
|
|
"name":"collides",
|
|
"type":"bool",
|
|
"value":true
|
|
}]
|
|
}],
|
|
"tilewidth":32
|
|
},
|
|
{
|
|
"columns":8,
|
|
"firstgid":65,
|
|
"image":"floortileset.png",
|
|
"imageheight":288,
|
|
"imagewidth":256,
|
|
"margin":0,
|
|
"name":"Floor",
|
|
"spacing":0,
|
|
"tilecount":72,
|
|
"tileheight":32,
|
|
"tilewidth":32
|
|
}],
|
|
"tilewidth":32,
|
|
"type":"map",
|
|
"version":1.4,
|
|
"width":10
|
|
} |