Quote:
Originally Posted by thepimp
new problem. i am using this code to try and use my tileset (not that one a new one i made with alot more stuff) on the offline editor. i saved it as revernia_tileset. Any tips on what i did wrong?
//#CLIENTSIDE
if (created) {
addtiledef revernia_tileset.png}
1
}
|
1: You're using GS1! Use GS2!
2:Your code is wrong!
Hint:
//#CLIENTSIDE
function onCreated() {
addtiledef revernia_tileset.png,#L,1;
}
#L can be replaced by the level name but will do if you try it on one level in offline editor
1 being the type of the tileset. I guess you're going for the organized type, if it was made on a template such as pics1.png, then the type is 0.