I'm creating a simple platform scroller using C++ and the Allegro library, and also .fmp maps created using the tile-based editor Mappy.

I have two maps created, which will serve as my two levels.
Once the first map is run through, I want to switch to the second map.

What's the best way to go about doing this?
I'm kinda clueless as to how I should tackle this exactly....
Your help will be appreciated!

Load first map from file
Play level
Load second map from file
Play level

If loading a map takes a few seconds then
Load first map from file
Play level
Display some static image and play "tension" music in the background
Load second map from file
Play level

commented: Rep for recommending the "tension" music -- good touch +4
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.