i made some amends… i dont know if it’s right or wrong but i thought maybe it’s better to have one spriteSet per layer eg
then again that wouldn’t allow for animated tiles 
actually it probably doesnt make any difference… it’s all just coming from one bitmap anyway isnt it. I was thinking the spriteSet created a separate texture on the GPU whereas it’s probably just a table of indices
[lua]-- ORIGINAL
–self = sprite.newSprite( tileSet.spriteSets[0 + dataBackup.gid] )
–AMEND.
– one set with multiple tiles
self = sprite.newSprite(tileSet.spriteSets[1])
self.currentFrame=0+dataBackup.gid[/lua]
and
[lua]-- ORIGINAL
–for i=1, self.tileCount, 1 do
– self.spriteSets[i] = sprite.newSpriteSet(self.spriteSheet, i, 1)
–end
– AMEND
self.spriteSets[1]=sprite.newSpriteSet(self.spriteSheet,1,self.tileCount)[/lua]
[import]uid: 6645 topic_id: 3534 reply_id: 10836[/import]
I have added that in and will hopefully get multiple tilesets working tomorrow. I also want to take a look at getting object layers working as that looks pretty cool.