# CCTMXTiledMap continuous scrolling;

I have a vertical shooter, the game scrolls TMXTiledMap, and when it runs out I want it to load next map and scroll them seamlessly without interruption. How do I achieve that?

Here is my scrolling method, if I load another map it stops, I need to add scrolling to another map, is there a way around that?

- (void) update: (ccTime) delta

{
CGPoint tempPos = myMap.position;
tempPos.y -= 2;
myMap.position = tempPos;
}


How do I load next map so they are scrolling seamlessly and connected to each other?

• oy. you may want to consider using delta in your changing of the position, otherwise the slower your framerate, the slower your background will move. Typically people do something like tempPos.y -= (velocity * delta) – dqhendricks Dec 28 '12 at 0:45