Animated Yes/No Menu

● ARCHIVED · READ-ONLY
Started by Caedmon 5 posts View original ↗
  1. So I am trying to create an animated yes/no menu for my game.  What I have happening is the base picture menu appearing.  I am using a STOP PLAYER MOVEMENT script so that while I am using the menu the player isn't moving around.  I am then trying to use input triggers to go left or right on conditional branches,  If the player chooses a side then I am wanting the menu icon to be somewhat animated, and by that I mean cycling through 2 pictures until another input trigger is used ©.  However I am having trouble getting this off the ground.  Here is what I am using now.

    1.png

    2.png

    I don't even think the two pages are necessary but I tried to use another menu I made as a base (it was not animated though)  the bottom half of page 2 is just like the top half so I did not add it.
  2. A few tips:


    1) you don't need a stop player movement script, all player movement automatically stops when you activate an autorun event.


    2) the conditional branch "button pressed" checks if the button is pressed in that specific microsecond when the conditional branch is executed - which means that you need to place the check into a loop and control a switch when a button is pressed if you want any chance of catching the player pressing a button.


    3) your loop with show and erase pictures 2 and 3 is too fast, there are no waits between - which means that most likely the player has no chance of seeing both pictures...


    4) I think from the logic there it would be a lot better if you move the logic into a parallel common event instead of using a parallel map event, that should automatically streamline the logic as those common events are directly switched on/off.
  3. I had thought about using a common event but how would I handle the different responses?  I will use this Yes/No Menu throughout the game and will need the responses to vary for each instance.
  4. the common event will just set a switch, and the event that activated the common event will check that switch to what answer was selected...
  5. Okay I think I am following you so far.  So the common event would house the which button is selected logic?  How would it look to allow the person to if they first push left on yes but then decide they want to say no.  I am having trouble figuring out how to allow these multiple conditional branches to operate.