[EFFECT] 3 Reel Slot Machine .WIP

0 favourites
From the Asset Store
Sprite set of animated modern war machines, include ground and air machines.
  • 3 Reel Slot Machine effect

    Create a basic Slot machine effect from a single texture.

    Params-

    Speed of Reels 1, 2 and 3

    Yoffset of Reels 1, 2 and 3

    Fx files and demo-

    https://dl.dropboxusercontent.com/u/22173473/SlotsReelFiles.rar

    ---------------------------

    02/12/2016

    Second version -( Slotz.fx )

    https://drive.google.com/open?id=0B4jH2 ... Ek3NUN5YjA

    This is a tester, just to see if I can get the reels to work on other machines.

    I changed/ added a some stuff in the fx code.

    you will need to run the new Capx in the download to test it.

    Let me know if it works?

  • I am very interested in this effect but can't seem to get it to work. do the reels actually spin? or does this effect only stop at the desired result?

    Regards

  • its not working properly... i mean it does something and i know the idea you based it on but the effect instead of spinning(flashing) the slots, just disappears for a few seconds then when shows results one fruit at a time appears. ... maybe doesn't work with chrome?

    edited: nope doesn't work with any browser/from Explorer,Chrome,Firefox,Opera to NW all same result, Chrome however is performing faster.

    however if you thinking on fixing this, can you add a 5 reel option also? that wold be insane. having a option to tick 3 or 5 reels that wold be a entire ball game. way easier to create slot games.

  • GeromeCooke

    The reels should spin, its working fine on firefox and node preview

    on my computer. I will have a look at the FX file and see if i can

    work out what's going wrong.

    I made a version that uses 5 reels (includes a win line checker).

    I will post it when I solve the spinning reel problem.

    Can one of you post a picture /screenshot showing what is displayed

    when the reels should be spinning?

    Thanks

  • chrisbrobs

    The reels have never spun for me either. I still think this is to do with the way certain GPUs handle the effects code. Maybe the effect god Gigatron might have an idea why this works for some and not others (if you have time).

    Anywho, here is a gifcam of what I see:

  • zenox98

    Thanks for the pic.

    If you get time, try this-

    Change the following lines

    if (p2.y > 0.5){

    discard;

    }

    to-

    / /if (p2.y > 0.5){

    // discard;

    // }

    and let me know what you see when you press spin,( it wont hide the bottom part, but I will know if these lines are the problem.

    Thanks (if this fails Gigatron is needed !)

  • Actually already tried that, but it only allows you to see the whole reels sprite rather than just the top half, but doesn't affect spin effect.

  • Anywho, here is a gifcam of what I see:

    same thing i was seeing

  • i would love to see a update on this nice slot machine effect.

  • i would love to see a update on this nice slot machine effect.

    So would I but it needs someone with more knowledge about shaders than we currently have, unfortunately.

    Hoping a shader guru will notice one day

  • totoe zenox98

    This fx can be done with event , however i am not good at game maker; quickly modifyed this shader and pics on non timer based animation; There are some missing features like results and ... the slot stop randomly etc..

    blur fx is not bad when slot running;

    http://gigatron3k.free.fr/html5/C2/FX/slot

  • looks like very smooth sprites scrolling. thumbs up!

  • Gigatron could you upload the effect you fixed there please? +internets for you man!

  • This is Chris fx... so i dit not change any real things exept removed timer ..

    So you can play with Yoffset of slot to move fruits.. 0 to 0.6 and calculate formula to find result..

    i have no time to finish it, like i said this can be done with events..

    however here is a bit modified fx;

    http://gigatron3k.free.fr/html5/C2/FX/slot.rar

    Good luck

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • your capx have this wonderful blur fx while rotating. is this capx related or comes from the fx itself?

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