ScratchData LogoScratchData
Back to aschwab's profile

Simple Dice Roll

ASaschwab•Created May 28, 2014
Simple Dice Roll
5
5
2152 views
View on Scratch

Instructions

This is not a full game, just a jumping-off point for developing games that involve dice. It is currently set up so that clicking the dice will cause them to roll, but the first die will roll whenever it receives the message "Roll the die!" and the second one whenever it receives "Roll the die 2!" So it's flexible.

Description

Something that I learned while making this is that if you number the costumes, you can stick "pick random 1 to 6" right in the block that changes the costume, so you can select a random costume. That means the rolling animation can be produced with a very tiny amount of code!

Project Details

Project ID22883649
CreatedMay 28, 2014
Last ModifiedApril 24, 2015
SharedMay 28, 2014
Visibilityvisible
CommentsAllowed