Hi everyone, i have 2 questions that i need help with.
I'm currently programming a fruit machine, i have the spin button working and randomly going through fruits and matching the fruits up correctly, I can insert money so it allows users to play and i get credit the money to the machine. I'm currently trying to work on getting the images of the fruits to spin like bandit reel and i need to implement hold buttons.
My questions are:
1) How do i get the pictures to do an animation spin like a reel? At the moment it just runs through the fruits and then stops and i'd like it to spin like a fruit machine reel and then stop, will i need to do some animation?
2) How do i get hold buttons to work? There will be 3 hold buttons and when the user clicks the hold button it will stop that picture from spinning. I've assigned a timer to each reel e.g. timer1, timer2, timer3 i've assigned it so when the hold button is clicked then the appropriate timer will stop e.g. timer1.stop(); but it will only stop the reel whilst it's spinning.
Hope i've not created to much confusion.
Thank you for your help and reading!


LinkBack URL
About LinkBacks
Reply With Quote

lol but it doesn't matter now, got it to work after hours of frustration and i appreciate your reply
.