1 decade ago by congwang0517
"layer" : [{
"name" : "background",
"width" : 1,
"height" : 1,
"linkWithCollision" : false,
"visible" : true,
"tilesetName" : "media/haircut/haircut_bg.png",
"repeat" : false,
"distance" : "1",
"tilesize" : 512,
"foreground" : false,
"data" : [[1]]
}]
I load the level1.js, and it only display part of the image.It's a square.I don't know how to display a full image. My image is 750*560.
"name" : "background",
"width" : 1,
"height" : 1,
"linkWithCollision" : false,
"visible" : true,
"tilesetName" : "media/haircut/haircut_bg.png",
"repeat" : false,
"distance" : "1",
"tilesize" : 512,
"foreground" : false,
"data" : [[1]]
}]
I load the level1.js, and it only display part of the image.It's a square.I don't know how to display a full image. My image is 750*560.