Page 1 of 1

Persistent Levels in SMBX2?

Posted: Fri Nov 13, 2020 4:32 pm
by EclipseMain
Is there a way to make changes in a level remain after you leave the level and enter it again?

Like for example, if you hit a block and it has an event where it hides a layer, if you exit the level and enter it again the layer will remain hidden. Can you do this in SMBX2?

Re: Persistent Levels in SMBX2?

Posted: Sat Nov 14, 2020 3:11 am
by Emral
You can use SaveData variables to store some kinda information about persistent going-ons, and then in onStart of the level check the status of your variables and manipulate in-level things accordingly (like hiding a layer or something).