Message Boards Message Boards

Back

Game Elements: Dice

Toggle
Game Elements: Dice
Answer
1/11/23 6:43 PM
Hi SB Team!  
My team and I are looking to create a game as part of our next project.  I'd like to use a die for the user to roll that will randomize their next move.  I've seen the videos on randomizing pages (quiz question randomizer, videos).  How can I apply that theory to numbers or images on a single page?  
Thanks! 
Scott
0 (0 Votes)

RE: Game Elements: Dice
Answer
1/11/23 7:01 PM as a reply to Scott Sheridan.
Hi Scott,
Getting the number is super easy (see below). You could use that number to show a particular shape / layer / image that depicts the respective die.

Doing some sort of animation would be a little trickier, but should be possible. You could even use some of our new icons! Here's a video showing that:
https://share.smartbuilder.com/public/support/roll-die.mp4

Or if you have a video of a die rolling, and you knew the exact moments when it shows different faces, you could play the video and have it stop at that timestamp.

- Nav
0 (0 Votes)

RE: Game Elements: Dice
Answer
1/12/23 7:09 PM as a reply to Navdeep Dhillon.
Perfect!  Thanks! 
0 (0 Votes)