3edfd5b285
HasPlayerMoved is send when the player is actually moving on the map every 200ms.
230 lines
7.1 KiB
JSON
230 lines
7.1 KiB
JSON
{ "compressionlevel":-1,
|
|
"height":10,
|
|
"infinite":false,
|
|
"layers":[
|
|
{
|
|
"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, 16, 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":[46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 33, 34, 34, 34, 34, 34, 34, 35, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 41, 42, 42, 42, 42, 42, 42, 43, 46, 46, 49, 50, 50, 50, 50, 50, 50, 51, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46],
|
|
"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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 52, 52, 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],
|
|
"height":10,
|
|
"id":4,
|
|
"name":"metadata",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"draworder":"topdown",
|
|
"id":5,
|
|
"name":"floorLayer",
|
|
"objects":[],
|
|
"opacity":1,
|
|
"type":"objectgroup",
|
|
"visible":true,
|
|
"x":0,
|
|
"y":0
|
|
},
|
|
{
|
|
"data":[1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 9, 0, 0, 0, 0, 0, 0, 0, 0, 11, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19],
|
|
"height":10,
|
|
"id":3,
|
|
"name":"wall",
|
|
"opacity":1,
|
|
"type":"tilelayer",
|
|
"visible":true,
|
|
"width":10,
|
|
"x":0,
|
|
"y":0
|
|
}],
|
|
"nextlayerid":6,
|
|
"nextobjectid":1,
|
|
"orientation":"orthogonal",
|
|
"properties":[
|
|
{
|
|
"name":"script",
|
|
"type":"string",
|
|
"value":"script.js"
|
|
}],
|
|
"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
|
|
}],
|
|
"tilewidth":32,
|
|
"type":"map",
|
|
"version":1.4,
|
|
"width":10
|
|
} |