Adding more levels in Game Maker
In the last year I have had almost a hundred questions on how to add more levels to your games. I am hoping to do a video tutorial on this but until then you can use the following hint.
I will asume that you have been following the Breakout tutorial and you want to add a new level. The example needs a working score system.
First you need to use the Test Score action. Find it under the Score tab in actions and create an object with an End Step event and insert the Test Score action. Now define a score that needs to be reached (set it to Larger than) and then let the following action be a Next Room action (found under the main1 tab). Insert this object into your first level.
Now create a new Room with your level content and test the game. Whenever you reach the set score the player moves forward one Room.
To add even more levels you can create a more objects similar to the first and set higher score targets. Insert these objects in your levels so that the player needs to reach higher and higher scores.
Related posts you might like:

February 16th, 2011 - 04:10
Wouldn’t it be more accurate to add a variable with the value of the amount of blocks you have, and each time one is destroyed, you set the variable to -1 relative, and when 0 is reached, it will go to the next room? it would be harder and take longer, but it would be more efficient.
February 16th, 2011 - 09:03
Jermey: yes, that is a fine way of doing it you suggest. This article will be updated with more methods once I have the time. The current article is merely meant to help all those sending me mails on this exact question.
April 6th, 2011 - 01:35
thanks soren this worked for 5 levels i used the breakout game and if you need anyhelp with making a pause menu i found out but would i put a effect in this and to move to level2 and set the score do i use relitive in the setup thanks
October 27th, 2011 - 22:05
Hi Soren… I’m watching your vids on YouTube and I did 3 games (Breakout, Portal and Pong) I would like to know how do u put the pause menu when you press Esc
if u can send me an email that would be great