Adding Options Menu

Curious how to add a option to turn on/off layer effects for the entire game from the main menu and not just a single scene.

You can’t do that. You need to turn on/off layers at the beginning of the scene in every scene. You can’t do that for all scenes at a time.

2 Likes

okay thank you for the reply!

Try something like:

Have a global variable “LayerEffects”. On the options menu, have an Event based on user input/selection that sets the global variable to either “show” or “hide” (or 1 or 2, or true or false…whatever makes sense to you).

Then have two Events:

CONDITIONS:
at the beginning of the scene
text of global variable LayerEffects is = “show”
ACTION:
enable effect xxx on layer xxx : yes

CONDITIONS:
at the beginning of the scene
text of global variable LayerEffects is = “hide”
ACTION:
enable effect xxx on layer xxx : no

1 Like

ooooh man thank you I will try it, that sounds like it will work actually.