See the other 'dice sims' in the dice gallery at the CCS-PK Scratch site for introductory information about this "simulation".
=========================
I took the basic code from earlier versions to try to bind it into a project where more than one pair of dice could be selected. (This version has only 2 sets.)
Actions are as follows :
- Green flag ... sets things up
- Grey button ... rolls the dice
- Dell laptop ... selects the next set
Adding extra dice sets will require small changes in various scripts, these have been commented to point them out.
=========================
Had to remove the on-screen "side" variables as these would not work properly with 2 sets. No matter how carefully I set things up, tested out and then saved, after re-opening the file the variables for the 2nd set went to default display and position.
=========================
Possible improvement -
Disable set changing while dice are rolling as results are currently unpredictable.
=========================
I can't be bothered right now and will possibly only try adding some extra sets to verify that things work as they are intended ..... that means I've not tested that bit yet ..... but logically it ought to be okay.
. . . . famous last words . . . . .
Comments
You need to be logged in to post comments
Add a Comment