gamergod123's Forum Posts

  • 3 posts

    So, in the ende, when you finish spinning you'd check the bets and for each bet you would compare the payline shape with the visible slots.

    brunopalermo - Thanks so much for this help. I wasn't far off actually. The main problem is that I'm having trouble with this part... What's the best way to check the bets and comparing the payline shape with the winning values?

    Thanks again

    you should map the visible lines to an array and check every payline tracing on this array for matches.

    Thanks so much for your reply brunopalermo.

    That makes some sense however when you say "map the visible lines on an array" ...

    I've got it so that once it stops spinning I have a value for each symbol in an array that's mapped to the slot machine. I'm not sure how to trace paylines within this array.

    Hope that makes sense?

    Thanks again.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads

    Sorry for the post in such an old thread but I was working basically on a slot machine in construct 3 and have it going ok but is there a way to check the lines after spinning to see if it's a winning line?

    Obviously it can be done in a very long winded way but is there a way to do it using table look ups or something similar?

    Any help appreciated

    Thanks

  • 3 posts