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?
tempPos.y -= (velocity * delta)
– dqhendricks Dec 28 '12 at 00:45