Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[RESOLVED]I need serious help with switches...

I have two events. They are called Boss and Gate. The events are like this:

Boss
Text: Time to fight
Battle: Boss
Text: Damn it, I fell on the switch!
Turn Switch: Gate = On

Gate Trigger: Autorun
Conditional Branch: Switch: Gate = On
:Erase This Event
Else
:
Conditional Branch End

Everytime I start the game, It will automatically disappear. But when I defeat the boss, it reappears. It's in reverse... Did I do something wrong?
 
What exactly are you trying to do? If the boss is reappearing, just make a new event page on the boss's event, leave it blank, and make sure it has no sprite. You shouls also try making the gate open using the move event commands, insead of making it disappear. If you want the gate to stay deleted (if you insist on erasing the event), just do the same thing I suggested to do with the boss.
 
I meant the gate. It disappears at the start and when I defeat the boss it reappears. Here's a screenie:
23jq4hz.png

5kqbgi.png
 
This doesn't even make sense as a solution but try it anyway;

Keep the bully page as it is but change the gate to a parallel process, try that, if that doesn't work, make the first page of the gate just the gate present with an action activation if you want to tell players it's shut when examined or a parallel process (leave the page blank if parallel), then make a new page in the gate event and set that to parallel process, select the switch condition for the switch the bully activates on (do this on the side bar) and leave the graphic blank for the gate. This should achieve what you wanted.

The Bully
Picture4.png


The Gate before the bully fight
Picture5.png


The Gate after (or lack of gate)
Picture6.png


The transfer player bit there is just to give an example of using the now open gate XD
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top