10 years ago by fullmetal
1 Create new layer in weltmeister;
2 In the titeset choose a image;
3 Apply;
4 Save;
Dosn't see any tite set show up, go to level.js, search for new layer name, found the data field are all 0. see below:
{
"name": "new_layer_45",
"width": 30,
"height": 20,
"linkWithCollision": false,
"visible": 1,
"tilesetName": "media/tree.png",
"repeat": false,
"preRender": false,
"distance": "1",
"tilesize": 32,
"foreground": false,
"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],
// omit lots of zeros
...
[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]
]
}
When copy data from other layer, the image shows up, so it's a weltmeister bug?
Just bought the impact.js I see the weltmeister is created on 2012-2-21
2 In the titeset choose a image;
3 Apply;
4 Save;
Dosn't see any tite set show up, go to level.js, search for new layer name, found the data field are all 0. see below:
{
"name": "new_layer_45",
"width": 30,
"height": 20,
"linkWithCollision": false,
"visible": 1,
"tilesetName": "media/tree.png",
"repeat": false,
"preRender": false,
"distance": "1",
"tilesize": 32,
"foreground": false,
"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],
// omit lots of zeros
...
[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]
]
}
When copy data from other layer, the image shows up, so it's a weltmeister bug?
Just bought the impact.js I see the weltmeister is created on 2012-2-21