Dice MV

KURAGE_Dice - 2017/08/03

Creator name: Y.KURAGE

Introduction
Dice plugin with pictures and rolling animation.
img/pictures is where 6 dice images are used.

Note: Picture 1 is default for dice picture from plugin parameters. Pictures and sounds are included in project download.

Features
- Show the dice from plugin command "showDice"
- Then you roll the dice from plugin command "throwDice"
- Dice result will be based on the variable you set in plugin parameter.

Plugin commands:

Code:
showDice X Y DiceVar# #ofDice
Show the dice at coordinates specified by X Y.
Dice variable # is through 1 to 4.
 Ex: showDice 300 600 1 2

Code:
throwDice DiceVar#
Roll dice for specified dice group number.
If you ignore dice group number, dice roll goes to all dice groups.

Code:
removeDice DiceVar#
Removes dice from specified dice group number.
If you ignore dice group number, all dices of dice group are deleted.

Another note: removeDice also removes dice pictures

Preview
GHZHVMw.gif
cSgxFmg.png


For version with 2 dices, example event is included in project dropbox link.

Keep in mind that it may require a practice roll for two variables to be used.

Credit and Thanks: Y.KURAGE

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

Demo link: https://github.com/ovate/RMMV-Dice/archive/refs/heads/main.zip

Source:
https://github.com/kurageya0307/DiceMV

Dice images and sounds licensed under Public Domain. Free free to use them

Edit:
This can be evented without a plugin for more dynamic use. For example, here's a tutorial from shunroid and Extra. (uses static image)
https://forums.rpgmakerweb.com/index.php?threads/shunroid-dice-game-event.130167/#post-1139100
dropbox link gives an error, as well, this can also be used for the evented dice game
to make it more dynamic.

I wonder if you can change the speed as well?
I'm not the plugin creator, there isn't a way to change the speed.

Dropbox link just updated. Is it working now?
yes, it does, thank you for the update 🙂

dont worry about the speed, but it makes the mini dice game looks better, than
using 2 images without roll effect (it can be applied, but this can also be in it, if 3, show
picture 3 of the dice for better sight.

thank you again for updating 🙂
Has anyone got this working with frogboy's talent d20 plugin? It seems either to hide talent in the menu or crashes showing type error cannot read rank.

Original thread: https://forums.rpgmakerweb.com/threads/dice-mv.130299/