I'd say create an engine in Flash that takes care of the animation and
sounds... create a javascript that talks to the Flash movie and have it play
certain frames/movies showing each of the wheels... create a CF application
that does the calculations and generates the javascript variables in the
HTML page that controls the Flash. Put simply, CF writes JS which controls
Flash animations.
This way the bulk of the program is server-side and is much harder to cheat
against and can keep track of accounts and winnings without the worry of
info being tampered with.
Joby Bednar
Director of Internet Design
iNEOgroup.com
http://www.ineogroup.com <http://www.ineogroup.com>
Fusing your Dreams and the Web, Together as One
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Cell: 949-283-5138
Personal Fax: 208-485-1170
-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 1:20 AM
To: CF-Talk
Subject: RE: How to write a slots game in CF?
Javascript ?
Each wheel is a seq. of overlapping layers, with only one visable, just keep
moving the visable one 'down' the stack, and then wrap it to the top...
-----Original Message-----
From: Matt Lewis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 6:01 AM
To: CF-Talk
Subject: How to write a slots game in CF?
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