Charas-Project
Game Creation => Requests => Tutorials => Topic started by: TheRebelMage on July 01, 2010, 02:36:02 AM
-
I need help understanding switchs. Can someone explain it in a way that Won't make my brain explode? ??? ???
(in other words a tutorial for beginners. If possible. If not I'll wait till I get more experance
-
Here you go! (http://editthis.info/charas_project/Tutorials:Switches_The_Musical)
-
A quick explaination would be:
You have 100 switches to begin with.
All 100 switches can be named for your comfort.
A switch can have the value ON or OFF.
All switches starts as OFF.
Switches can be used to check preconditions. Such as the preconditions of an Event Page or a Conditional Branch.
For example - If you take the chest behind bigevildeadguy's throne then leave that map and return - the chest will be back.
But that won't happen if you give the chest a second page with the precondition "switch [001: thronechest] is ON" as well as adding a switch operation to the first page (Where you reap your treasure) where you turn the switch ON.
Just think of it as a light switch. If the light is ON, the chest can't be opened. And when you open the chest the first time - the switch operation lights the thing.