[EFFECT] 3 Reel Slot Machine .WIP

Share your Construct 2 effect files

Post » Wed Jun 08, 2016 9:56 pm

3 Reel Slot Machine effect

Create a basic Slot machine effect from a single texture.

Image

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?
Last edited by chrisbrobs on Fri Dec 02, 2016 5:28 pm, edited 1 time in total.
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Fri Oct 21, 2016 8:48 am

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
B
17
S
4
Posts: 3
Reputation: 931

Post » Fri Oct 21, 2016 10:09 am

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.
B
75
S
22
G
68
Posts: 1,332
Reputation: 43,261

Post » Fri Oct 21, 2016 1:41 pm

@GeromeCooke
@gamecorpstudio

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
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Fri Oct 21, 2016 2:12 pm

@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:

Image
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,374
Reputation: 58,430

Post » Fri Oct 21, 2016 3:15 pm

@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 !)
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Fri Oct 21, 2016 3:29 pm

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.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,374
Reputation: 58,430

Post » Sat Oct 22, 2016 5:39 am

zenox98 wrote:
Anywho, here is a gifcam of what I see:

Image



same thing i was seeing
B
75
S
22
G
68
Posts: 1,332
Reputation: 43,261

Post » Wed Nov 30, 2016 3:57 am

i would love to see a update on this nice slot machine effect.
B
80
S
29
G
112
Posts: 195
Reputation: 62,035

Post » Wed Nov 30, 2016 8:32 am

totoe wrote: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 :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,374
Reputation: 58,430

Next

Return to Effects

Who is online

Users browsing this forum: rozpustelnik and 0 guests