answersLogoWhite

0


Best Answer

Multiple ways:
1. Learn as3, then make a dice game
2. Go to Google, search for dice games, find one, steal it.

That's a question better asked in pieces and other places, but ill start you off.

Math.round((Math.random() * (6 - 1)) + 1);
//pseudo-random number between 1 and 6

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make a dice game with actionscript 3?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a Dice game with the letter p?

Perquackey is a dice game with 13 letter dice, 10 black and 3 red, and a 3 minute sand timer. The object is to make as many words as possible within the time limit. The game typically goes to five thousand. The game uses the 10 black dice till a score of 2000 is reached, then the 3 red dice are added. Complete rules can be obtained by "Googling" Perquackey.


Is it possible to put actionscript2 code in a Actionscript 3 file?

No, it is not possible to put Actionscript 2.0 code in an Actionscript 3.0 code file. The Actionscript virtual machine that runs Actionscript 3.0 code is completely different from the Actionscript 1.0 and 2.0 virtual machine. The only way to include Actionscript 2.0 code in an Actionscript 3.0 project would be to have the Actionscript 3.0 Flash file load an external Actionscript 2.0 Flash file.


Where can on purchase Actionscript 3?

ActionScript 3.0 is the latest version of ActionScript, which is an object-oriented programming language and, therefore, cannot be purchased anywhere. One can find reference material on ActionScript 3.0 at the official Adobe website or one can find out more about ActionScript in general at Wikipedia.


How many dice come in a risk game?

3


Current selection cannot have actions applied to it cs3 i am trying to make a button and i keep getting this message?

First make sure that the object you are trying to add Actionscript to is a symbol (movie clip, button or graphic). If you are using Actionscript 3 you can't apply Actionscript directly to objects as you can in AS2. You need to add code that refer to the target button via its instance name. You will need to Google something along the lines of "Flash CS3 Actionscript 3 use buttons to control the timeline" if that is what you are trying to achieve.


How large are the dice used for the game Yahtzee?

In most games the dice are about 16mm or 2/3 of an inch on each side. But you could play the game with any size dice you have handy. There are some dice as small as 5mm or 3/16 of an inch on each side. And some foam dice that are as big as 50mm or 2 inches on each side.


On Touchmaster 3 Dice King game what does the combination 2X chain mean?

A 2X chain is a sequence of dice put together falling away, when for instance you get 3 dice with 5 value away and straight after, without you 'doing' anything 3 dice with value 2.


How do you get dice in Mafia Wars?

You get Dice in mafia wars by playing their lottery game and matching 3 numbers. If you match 3 numbers, you are given a random lottery item. There are 6 lottery items. 1 of which is Dice.


How many ways can you make 12 with 3 dice?

6


How many Ways can you make 7 using 3 dices?

There are 15 ways to make 7 using 3 dice.


What is the chances of Rolling a 3 or 4 from two dice?

Assuming you are rolling a six-sided dice, it is 1/3 for one dice and 2/3 for two dice.


Compare action script2 and action script 3?

ActionScript 3 is the newer, quicker version of Adobe Flash's ActionScript. AS3, as Action Script 3 is normally called, is harder and more complicated for beginners, but much easier and more effective in the long run.