#1
|
|||
|
|||
Create "Roll dice" simulation? (random number gen object?))
Im very new to powerpoint, but not to computer programs in general. What im doing is creating a board game in powerpoint in which each slide moves the game piece 1 space.
Anyways, im trying to figure out how to make a simulation of a 'dice roll'. Im very capable of making a graphic in photoshop but i need to know how to set up a system in PP. Is there perhaps a way to make a script type object that 'randomly chooses 1 of 6 graphics'. Ill make a graphic for each roll of of the die, and 1-6 are the only possible outcomes. so when i push the roll button itll choose at random 1 of the 6 images? or any other solutions you can think of to achieve the same outcome? |
#2
|
|||
|
|||
You can do this by creating 6 slides each with a different die animation and a further slide with a button to run a macro. The six die slides should have on click transition OFF and a button to get back to the first slide.
Assuming the die slides are # 2 - 7 Sub chooseMe() Dim choice As Integer Randomize choice = (Rnd * 6) + 1 SlideShowWindows(1).View.GotoSlide (choice + 1), msoTrue End Sub If you don't know how to use a macro see here |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any "InsertRowsBelow" in Tables Object? | tinfanide | Word VBA | 2 | 06-11-2012 04:41 AM |
Mailing: how to make the "page number" in Word is the same as "row number" in excel w | Jamal NUMAN | Word | 1 | 09-03-2011 11:37 AM |
How to choose a "List" for certain "Heading" from "Modify" tool? | Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
Tricky "random word" Question!! | seba1685 | PowerPoint | 0 | 04-21-2011 12:17 AM |
in WORD, how do i type a 9-digit phone number "xxxxxxxxx" and have it automatically.. | jay8962 | Word | 0 | 04-08-2010 11:08 AM |