Thread: tileset help.
View Single Post
  #18  
Old 09-05-2010, 07:39 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
Unhappy

Quote:
Originally Posted by thepimp View Post
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.
Reply With Quote