No slots game tutorials, for online casinos?

From the Asset Store
Slots
$9.99 USD
Template for a slots game, fully documented in comments and video

    Because there are no advanced or professional tutorials for slots games, roulette, poker, black jack, etc. For online casinos ?.

    Someone could give you some idea, how to make a good slot game ?.

    Example:

    Several lines of game, animations, bonus, jackpot, connection to database, php, mysql, etc.

    I am a graphic designer, and it is very easy for me to contribute good sounds, videos and graphics.

    But I need a real guide how to make a professional video slot, like this example: youtube.com/watch

    Would anyone agree to form a team with me, and share resources, ideas and projects?

    Thanks

    Hi Tragamonedasfull

    I have an old working slot.capx you can have. It just has the basic working mechanics of a slot machine. You can use it to build off of if you like.

    Here's the download link: http://www.mediafire.com/file/9bqb7vbc201k0rx/slot.capx

    This is my first time back here in a few years. I see a lot has changed! Iv been having an urge to get back into making games again. I might have to buy that shiny new Construct 3

    If I remember correctly, this is the same .capx R0j0Hound posted HERE, but the downloads are currently invalid, so nice one for the link.

    I think a search should turn up a few more examples.

    That could be from R0j0Hound. I'm not sure though? I had a few old ones that other people also shared, but that was the only one I could find in my old files.

    Maybe one of these days I will go through all my old files, and upload all the useful .capx files I can find, and re-share them in a post since all the Dropbox links are broken now. I know they were all helpful to me when I was learning.

    That probably is the oldest capx I've uploaded. The interesting thing about that capx is it was made before c2 had variables or animations for that matter. The only drawback is how it works is obscured because of that.

    I'd say with some certainty it won't be useful to the op.

    ChrisBRobs has done a couple of decent slots in THIS thread. One uses a Effect to create the rotation, whilst the other does not. Might be worth taking a look at the last example from him on page 3, which includes animation, scoring, win effects, etc - Google drive link is still valid.

    If OP wants a fully working example then they would probably be best searching the Store for a good template.

    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

    Hey gamergod123!

    If you're using a modern slot layout, with paylines and stuff (if you don't know what they are or how they work, check this link) you should map the visible lines to an array and check every payline tracing on this array for matches.

    Also, a word of warning, slot machines are far more complex than most people think. You should check the math behind them.

    Hope this helps!

    Cheers!

    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.

    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.

    Yep. You got it. Lets say you got a 5x3 slots screen, it would be a 5x3 array with the value for each slot on the specific position at the array. For instance:

    The image above would be mapped in code like this:

    slotsArray = [
     [0],[2],[4],[2],[6],
     [1],[3],[3],[1],[3],
     [2],[1],[5],[5],[6]
    ]
    

    And you would need to have paylines stored, probably in another array, but this time a 3D one:

    paylinesArray = [
     [
     [0],[0],[0],[0],[0],
     [1],[1],[1],[1],[1],
     [0],[0],[0],[0],[0]
     ],
     [
     [1],[1],[1],[1],[1],
     [0],[0],[0],[0],[0],
     [0],[0],[0],[0],[0]
     ],
     [
     [0],[0],[0],[0],[0],
     [0],[0],[0],[0],[0],
     [1],[1],[1],[1],[1]
     ],
     [
     [1],[0],[0],[0],[1],
     [0],[1],[0],[1],[0],
     [0],[0],[1],[0],[0]
     ],
     [
     [0],[0],[1],[0],[0],
     [0],[1],[0],[1],[0],
     [1],[0],[0],[0],[1]
     ]
    ]
    

    You would also need an array to store which paylines the better "bought":

    betsArray = [0,3,5]
    

    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.

    It's a bit complicated, but I hope I have made myself clear.

    Cheers!

    I wouldn't rely on actually using a spinning mechanic to pick the random values.

    You should know if there was a win before the spinning actually happens.

    The Advanced Random plug makes this pretty easy.

    Also there is no easy way to check all combinations in a payline.

    But it's not like you need to be frugal with events anyway.

    I wouldn't rely on actually using a spinning mechanic to pick the random values.

    You should know if there was a win before the spinning actually happens.

    The Advanced Random plug makes this pretty easy.

    Also there is no easy way to check all combinations in a payline.

    But it's not like you need to be frugal with events anyway.

    Yep. That's why I suggested he should study the actuall math behind slot machines. :)

    Note this is the Construct 2 forum. If you are using Construct 3 you should post in that section instead or people may miss it.

    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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    System compare conditions. Lots of them.

    reel1b=n and reel2b=n and reel3a=n, then do foo

    Multiple comparisons at the same level work as an "And" operation.

    And yes you can use loops, but if you want custom payouts that are relatively easy to edit, it's not really worth it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)