Hello,
I’m trying to create a sequence of swipes that the player would have to preform in order to proceed ahead with the game, for example:
- Sequence gets triggered
- Game generates a sequence, for this example will say Down, Up, DownLeft
And so, if the player successfully enters the swipes in this order the game will continue on and if the player does an incorrect swipe then the game will end. I currently already have all swipe directions functional (Up, Down, Right, Left, Down Right, Up Right, Down Left, Up Left). I was wondering if there’s a way to implement this so that I can give the player a random sequence, have the game detect for the correct swipe and proceed to the next swipe until the sequence has been done correctly. I’ve been trying to wrap my head around it for quite some time now, but no luck.
Thanks!