playMaker

Author Topic: Stargate dialer system storing combinations?  (Read 1918 times)

GothicGhost

  • Playmaker Newbie
  • *
  • Posts: 16
Stargate dialer system storing combinations?
« on: September 06, 2015, 01:45:51 AM »
Morning all :)

I am trying find out what would be a good way on playmaker to store button combinations pressed then have it checked if they where pressed in a correct order?

Trying for hours but I am still new at this and it was making my head hurt lol.

Could someone point me in the right direction?
Thanks for any help.


mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Stargate dialer system storing combinations?
« Reply #1 on: September 06, 2015, 02:11:39 AM »
You can just lay out the correct buttons presses in order as states- on each one give a short wait time before it goes back to the start like 0.5 sec- if they input the correct sequence it gets to the end of your state sequence-

Like this
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

GothicGhost

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Stargate dialer system storing combinations?
« Reply #2 on: September 06, 2015, 02:15:45 AM »
Thank you very much I will give that go in a bit :D

I will report back soon :)


GothicGhost

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Stargate dialer system storing combinations?
« Reply #3 on: September 07, 2015, 05:31:41 PM »
I took what you showed me in the picture but used in game buttons you click with the mouse but using a keyboard or controller could be good as well I will do more testing with that later.

But test system is set up with momentary buttons with a master reset button as I need to set up some sort timeout action.
The way I done it probably the best way to go about this lol.

The master console  looks like this and waits for each button to used in the correct order to move from state to state.


Then each button has it's own FSM sending an event when pushed.

Thanks.