Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

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.

1 decade ago by dominic

Weltmeister is only meant for tile maps. To display a background image, load an ig.Image and draw it in your Game's draw method.

1 decade ago by congwang0517

Thanks dominic!
Page 1 of 1
« first « previous next › last »