Simple, yet I just can't seem to figure this out :\
Fruit machine reels. I simply want to be able to scroll them, and decide which positions I want to spin in.
I have tried many different ways of scrolling, with varying degrees of success. But I can't seem to do what I need to. Ideally I would be able to do something like this (in pseudo-code):
Procedure REEL1(chosen symbol to spin in,Step up/down,Speed)
Spin reel a few times, land on chosen symbol
End proc
Easy lol. Main problem I am having, however, is having all reels spinning independently, so if Reel1 is stopped, other reels carry on, or if Reel2 is stopped, Reel1 and any other reels stop too.
Main question to all of this: Is is easier to store reel positions in an array, and use this to display the correct symbols? And if so, could someone maybe help with the code as I'm somewhat stumped :(
Fruit machine reels. I simply want to be able to scroll them, and decide which positions I want to spin in.
I have tried many different ways of scrolling, with varying degrees of success. But I can't seem to do what I need to. Ideally I would be able to do something like this (in pseudo-code):
Procedure REEL1(chosen symbol to spin in,Step up/down,Speed)
Spin reel a few times, land on chosen symbol
End proc
Easy lol. Main problem I am having, however, is having all reels spinning independently, so if Reel1 is stopped, other reels carry on, or if Reel2 is stopped, Reel1 and any other reels stop too.
Main question to all of this: Is is easier to store reel positions in an array, and use this to display the correct symbols? And if so, could someone maybe help with the code as I'm somewhat stumped :(