Rolling die interaction - freebie for Storyline 360
Jan 30, 2018
Inspired by the new(ish) random number generator in Storyline, I decided to make a board game. I'm sure many of you have as well.
I couldn't find a die-rolling animation after 5 minutes of Googling, so I decided to make one. After all, if you can't find something online in 5 minutes, it might as well not exist. :-)
There are two slides;
- one where the results are on the front face of the die (for top-down views)
- one where the results are on the top face of the die (for face-on views)
In either case, the "Rolled" variable stores the result of the roll until you re-roll.
The animation is just a combination of a motion path with a spin entrance animation. Interestingly, they didn't want to play nice together when both were executed by triggers on the "roll" button. To get around that, I moved the die object to a separate layer, and tied the two actions to the start of the layer's timeline. In retrospect, I like it better that way because you can then hide the die between rolls (although I haven't done that in the file).
It's all Storyline triggers and shapes, so you can easily import or recolour it for your projects.