CF would probably be my last choice for this, but, putting that aside, you 
only need three images for each wheel - the starting image, the spinning 
image and the stopping image.  Then, when the wheels roll, you can use js 
to flash the spinning image for some period of time before you display the 
stopping image.  You could randomize the delay within a range, so that the 
wheels would not stop at the same time or in the same order.

I would probably be inclined to use Flash or Java.

At 01:01 AM 3/15/2001 -0500, you wrote:
>I'm wondering if anyone can give me some ideas on how best to write the UI
>of a slots game in Cold Fusion - how to animate the wheel so that it
>appears to spin through a variety of choices, and then have it stop on a
>randomly selected one?
>
>I am trying to write a 3 wheel slot game (each wheel needs to spin
>independantly), and have the logic completed to determine which item on
>each wheel to randomly select, etc, but can't seem to get a good UI
>together.  I could easily write this game as a Windows app in C++ or VB,
>but can't seem to figure out how to make this work via a browser and Cold
>Fusion.
>
>Any thoughts?
>
>Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to