Settings Extension not working

I have a setting variable thingy called “mapNumber”. I try to change it each time to change the background map for my game, but it doesn’t work. Why?

2 Likes

It’s because you’re starting the game by setting the setting to 1, so it’s never equal to any other number by the time the if statements roll around. Try this:

I don’t think it worked. Is this a glitch?

No, it’s not a glitch, I just missed a different piece of code that was also causing the problem.


Try switching the order of the game over blocks and the settings blocks like this. Before, you were making the game end before you changed the settings, which reset the game before the settings blocks could be activated. I think really any block that is declared after reset game or game over blocks will not be declared.