Added animated symbolic dice button#14581
Conversation
This adds the possibility to add one or more animated dice to a module. The dice are animated using the defined images with configurable number of frame and frames per second. One class `AnimatedDiceButton` has been added, as well as some translatable strings, and the documentation has been updated. Dice like these can be added by `Add Symbolic Dice (animated)` in the module context menu.
Animated symbolic dice in VASSALHere is a component that allows one to make animated symbolic dice in VASSAL. It extends the functionality of The animation is done by picking, at random, some number of other die faces than the result, rotating these faces at random, and then showing each image in turn until the last image which is the result of the die roll. |
|
Looks neat! Is it possible to add a sound to the animation, so I can make it sound like rolling dice? |
Yes, you can. As this component inherits everything from Symbolic Dice Button, it also inherits the configurations
Ideally, the animation would in that case be as long as the sound clip, or vice versa. For now, make sure that the product of the configurations
Yours, |

This adds the possibility to add one or more animated dice to a module. The dice are animated using the defined images with configurable number of frame and frames per second.
One class
AnimatedDiceButtonhas been added, as well as some translatable strings, and the documentation has been updated.Dice like these can be added by
Add Symbolic Dice (animated)in the module context menu.Closes #14306