// temp
Tileset->SetTileSet( 1, 64 );
Tileset->SetPosition( /*1+*/(x * 64), (y * 64) - (y_offset%64) - 64);
Tileset->Draw(0, data[x][ y + (y_offset / 64)]);
I fixed my problem :)
Mike,
you dont need to use SetTileSet() each time, this is only useful after loading if the tile doesnt have a valid offset or if you wish to change it.
It doesnt slowdown too much your app, but it could impact a little bit.
Cheers!