Platformer Level Unlocks

I have been making a Mobile/computer platformer. On level one, Touching the green flag is supposed to tell the level 2 button to start working, but for some reason it does not. Any help would be greatly appreciated.

The link to my Game is here: https://flowlab.io/game/play/2159630

1 Like

You are sending a message to “Small” but you’re not doing anything with that. There is no Mailbox behavior to receive the message.

Thank You so much! I don’t think I could have caught that on my own.

1 Like

The level button is still sending me to level 2, even before I touch the winner flag in level 1. What do I do?

1 Like

Messages cannot go between levels.

Also, you have the Mouse Click going directly into the Level 2, it would need to go into the Switch

Ok… But how do I Turn on level 2 When level 1 is finished?

There is a behavior called Global. Global values are shared between levels, what this means is you can change the Global value to something like 1 when you hit the flag, what this means now, when you enter the level select screen you can use a Filter to see if the Global is equal to 1. If it is, turned on the switch, allowing the player to click the Level 2 option.

What should that setup look like?

I would actually recommend using a save instead if you want the levels to stay unlocked when you play the game later.

I also have a level check system example, but it’s complex to set up if you don’t know what you are doing. https://flowlab.io/game/play/1718980

2 Likes

Can you check my work? I think i did something wrong.