Im making a racing game, and the map is tile based, but the tiles are 1 screen size and get placed 1 after the other. There are no real corner just curvy bits in the tiles that you fly threw.

I can generate a map place all the tiles on screen, scroll them, do preaty much every i need, but i cant think of a good way of only displaying the tile your on and the tile before and after that one.

How could it be done? My maps are about 400 tiles so around about 200k pixles long at most so it would be a bad idea to run a loop to find what tile my ship was on. My whole map is placed into a blank MC. And my mapdata is stored into an array, although its not used for anything and the tile refrances are stored into an array and thats what i used for running collisions.

Any one have an idea?