New here. need help

I need a mechanic where you can’t go to level 2 unless u pass level 1 here’s the game. https://arcade.makecode.com/S07805-95243-69832-23156

3 Likes

Welcome to Makecode Arcade

Once you complete level 1, set a value called level1completed to true. Then, when you are selecting level 2, do an if statement that checks whether or not level1completed = true. If it is, then you can do level 2, if not, then leave a message saying that you can’t or something.

2 Likes

thank you, but do you know how to use the settings extension for that? I want it to save if a restart

Just make it a setting instead of a variable

something like this:

1 Like