May-18-2020, 11:45 AM
(This post was last modified: May-18-2020, 11:45 AM by steve_shambles.)
You are totally right, I have confused my code and myself with badly named variables.
The reason for the 4 and 18 etc is to spin reel3 longer than reel 2 andreel2 a bit longer than reel 1,
if you see what I mean.
-----------------------
By the way:
"spinr" represents the 19 symbols of the reels
(should be 25 now I have added more symbols)
r_one is a temp variable for duration of spin.
I tried changing all the r_one to use the same label as
card_lbl_one but it produces errors in the reel display, the
card ends up as a face-down card that I use as a blank.
so r_one etc are necessary at the moment.
------------------
All will be clear if you want to download and run the game,
link in my original post.
I will experiment with your shortened code, thank you for that,
if I can't get that to work I may have to scrap the whole function and
re-write it from scratch.
Thanks for your time.
I made a gif of the reels "spinning" so you
can see what I mean.
The reason for the 4 and 18 etc is to spin reel3 longer than reel 2 andreel2 a bit longer than reel 1,
if you see what I mean.
-----------------------
By the way:
"spinr" represents the 19 symbols of the reels
(should be 25 now I have added more symbols)
r_one is a temp variable for duration of spin.
I tried changing all the r_one to use the same label as
card_lbl_one but it produces errors in the reel display, the
card ends up as a face-down card that I use as a blank.
so r_one etc are necessary at the moment.
------------------
All will be clear if you want to download and run the game,
link in my original post.
I will experiment with your shortened code, thank you for that,
if I can't get that to work I may have to scrap the whole function and
re-write it from scratch.
Thanks for your time.
I made a gif of the reels "spinning" so you
can see what I mean.