TiledID start counting at 0
Sprite frames start counting at 1
gid corresponds with tileID = gid - firstgid
while spriteframe = gid - firstgid + 1
Why did Lua ever decided to count from 1 - %$#^%&%*(&)
-FS. [import]uid: 8093 topic_id: 6812 reply_id: 306812[/import]