Tutorial for Making a Slot Game in Flash

Making a slot machine in flash can pay off. Making your own slot machine will let you make all sorts of games and build your flash programming skills.



Fundamental to making a slot machine is putting together the basic user interface. Next up is how to design the spinning wheel effect for slot machine icons. After you have done that, you can add on features such as running totals of wins, losses and total cash on hand.

Things You'll Need

  • Adobe Flash Professional
Show More

Instructions

    • 1

      Use two different graphic icons for your slot machine: a cherry, and a lemon, Draw or obtain these graphics such that are available in JPG or GIF format.

    • 2

      Start your Flash program and "click" the "New" option from the "File" menu. "Click" the "Import" option from the "File" menu and "click" the "Import to Stage" option. "Click" the file name of the Lemon graphic from the dialog box that is displayed and then "Click" the "OK" button. Use the "transform tool" to re size the lemon graphic and use the "selection tool" to move the lemon graphic. Repeat this procedure for the cherry graphic.

    • 3

      "Click" the "selection tool" then "click" the lemon graphic icon. "Click" the "Convert to Symbol" option in the "Modify" menu. Type "lemon" in the name text box in the "Convert to Symbol" dialog box that appears. Now type in lemon1 in the "instancename" textbox in the "Properties" text box. Repeat the procedure for the cherry icon but use symbol name of "cherry" and an instance name of "cherry1".

    • 4

      "Click" the "Components" option in the "Window" menu. "Drag" the object labeled "button" in the "Components" list box to the left hand corner of the stage. "Type" in the "instance name" text box in the "Properties" panel "Spin."

Learnify Hub © www.0685.com All Rights Reserved