Click to See Complete Forum and Search --> : PLEASE< PLEASE someone help me! this is due in a few hours
milo
Nov 25th, 1999, 04:03 AM
does anyone here know anything about how to use a timer to make random images appear to flip? (like a slot machine.... hint, hint) i already have it so that when you click on "spin" button 3 random images appear on the slot machine but i need to have it so that when you click the button the images spin somewhat fasly and eventually (3 seconds or so) slow to a stop and then tell if the user won or lost or whatever. this should be really simple coding but i missed my class yesterday when we talked about timers and i can't find information on them anywhere (at least for this use), and the worst part is that it's due in a couple of hours. please help a fellow programmer out.... thank you! - mike
NotLKH
Jun 22nd, 2007, 08:28 PM
I would suggest, to simulate Slot machines, you use "N" number of timers, for each of your "N" slots...
And, as each timer is activated, it resets its ineterval per a predetermined pace, to speed it up by a specific increment per "x" activtions, then slow it back down per the next "Y" activations by a specific increment, over the range of "x+y" "rotations" of each slot.
19999,
Sorrym I wasn't here then.
:(
jcis
Jun 22nd, 2007, 09:20 PM
He said a few hours, not a few years. :afrog:
penagate
Jun 22nd, 2007, 09:48 PM
Um... was there any point in digging this up?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.