修复tiled中objectgroup塞image解析失败问题
This commit is contained in:
281
demo/resource/assets/title.json
Normal file
281
demo/resource/assets/title.json
Normal file
@@ -0,0 +1,281 @@
|
||||
{ "backgroundcolor":"#3b97d3",
|
||||
"height":26,
|
||||
"layers":[
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"height":26,
|
||||
"name":"background",
|
||||
"objects":[
|
||||
{
|
||||
"gid":7,
|
||||
"height":262.666666666667,
|
||||
"id":11,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":1736,
|
||||
"x":-256,
|
||||
"y":920.666666666667
|
||||
},
|
||||
{
|
||||
"gid":6,
|
||||
"height":832,
|
||||
"id":34,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":1216,
|
||||
"x":122,
|
||||
"y":810
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"width":38,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"height":26,
|
||||
"name":"clouds",
|
||||
"objects":[
|
||||
{
|
||||
"gid":8,
|
||||
"height":61.3333333333333,
|
||||
"id":14,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":184,
|
||||
"x":640,
|
||||
"y":320
|
||||
},
|
||||
{
|
||||
"gid":8,
|
||||
"height":61.3333333333333,
|
||||
"id":17,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":184,
|
||||
"x":336,
|
||||
"y":144
|
||||
},
|
||||
{
|
||||
"gid":8,
|
||||
"height":61.3333333333333,
|
||||
"id":21,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":192,
|
||||
"x":1024,
|
||||
"y":145
|
||||
},
|
||||
{
|
||||
"gid":2147483656,
|
||||
"height":61.3333333333333,
|
||||
"id":23,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":184,
|
||||
"x":44,
|
||||
"y":136
|
||||
},
|
||||
{
|
||||
"gid":6,
|
||||
"height":600,
|
||||
"id":8,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":954,
|
||||
"x":-226,
|
||||
"y":768
|
||||
},
|
||||
{
|
||||
"gid":2147483654,
|
||||
"height":546,
|
||||
"id":35,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":826,
|
||||
"x":710,
|
||||
"y":782
|
||||
},
|
||||
{
|
||||
"gid":2147483656,
|
||||
"height":103.333333333333,
|
||||
"id":36,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":284,
|
||||
"x":926,
|
||||
"y":307
|
||||
},
|
||||
{
|
||||
"gid":8,
|
||||
"height":103.333333333333,
|
||||
"id":37,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":284,
|
||||
"x":124,
|
||||
"y":353
|
||||
}],
|
||||
"opacity":0.490000009536743,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"width":38,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"height":38,
|
||||
"name":"title",
|
||||
"objects":[
|
||||
{
|
||||
"gid":4,
|
||||
"height":386,
|
||||
"id":1,
|
||||
"name":"logo",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":736,
|
||||
"x":256,
|
||||
"y":480
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"width":25,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"height":26,
|
||||
"name":"help",
|
||||
"objects":[
|
||||
{
|
||||
"gid":3,
|
||||
"height":715.669407858419,
|
||||
"id":26,
|
||||
"name":"",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":745.251573276788,
|
||||
"x":237.507948400548,
|
||||
"y":739.425850721188
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":false,
|
||||
"width":38,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"height":38,
|
||||
"name":"buttons",
|
||||
"objects":[
|
||||
{
|
||||
"gid":2,
|
||||
"height":85.3333333333333,
|
||||
"id":2,
|
||||
"name":"start",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":256,
|
||||
"x":485,
|
||||
"y":655.333333333333
|
||||
},
|
||||
{
|
||||
"gid":1,
|
||||
"height":64,
|
||||
"id":3,
|
||||
"name":"help",
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":192,
|
||||
"x":515.599635905335,
|
||||
"y":761.206553703963
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"width":26,
|
||||
"x":0,
|
||||
"y":0
|
||||
}],
|
||||
"nextobjectid":38,
|
||||
"orientation":"orthogonal",
|
||||
"renderorder":"right-down",
|
||||
"tileheight":32,
|
||||
"tilesets":[
|
||||
{
|
||||
"columns":0,
|
||||
"firstgid":1,
|
||||
"margin":0,
|
||||
"name":"ui",
|
||||
"spacing":0,
|
||||
"tilecount":7,
|
||||
"tileheight":832,
|
||||
"tiles":
|
||||
{
|
||||
"0":
|
||||
{
|
||||
"image":"buttonHelp.png"
|
||||
},
|
||||
"1":
|
||||
{
|
||||
"image":"buttonStart.png"
|
||||
},
|
||||
"2":
|
||||
{
|
||||
"image":"helpBackground.png"
|
||||
},
|
||||
"3":
|
||||
{
|
||||
"image":"title.png"
|
||||
},
|
||||
"5":
|
||||
{
|
||||
"image":"backgroundSet.png"
|
||||
},
|
||||
"6":
|
||||
{
|
||||
"image":"block.png"
|
||||
},
|
||||
"7":
|
||||
{
|
||||
"image":"cloud.png"
|
||||
}
|
||||
},
|
||||
"tilewidth":1232
|
||||
}],
|
||||
"tilewidth":32,
|
||||
"version":1,
|
||||
"width":38
|
||||
}
|
||||
Reference in New Issue
Block a user