Quote:
Originally Posted by scriptless
What do you mean by overlaping? I'll look into it when I get home. Thanks for the point in the right direction. 
|
addTileDef2() is for replacing small parts of the tileset, not the whole tileset at once. Let's say you have a base set. Then there's a specific subset of 100 tiles you need in a certain level, but not anywhere else. In a level next to that, there's 50 different tiles you only need in that level. First off, you'll need to make use of addTileDef2() in the surrounding 8 levels of both the first and second level as well. This includes the second level for the first level's tiles, and the first level for the second level's tiles; so you will have to make sure that those 100 tiles do not overlap the 50 tiles of the second level, and vice versa.