A downloadable plugin

Buy Now$5.00 USD or more

Hi all, introducing [CGMZ] Dice for RPG Maker MZ!

Any Sided Dice

This plugin supports dice with any number of sides. It can even handle dice with numbers not beginning with 1, for example a dice that can only roll between 3-8 (no 1 or 2).

Roll Dice

This plugin adds a dice rolling scene to your game, allowing your player to roll the dice. You can have an unlimited amount of dice set up via the plugin parameters, and then use a plugin command to call the dice roll scene with a specific dice to roll. You can also give the player an amount of rerolls of the dice. Below is a short gif of how it can look:


Multiple Animation Styles

The dice can either be a sprite sheet animation or programmatically animated by randomly rotating and changing out a possible result image. The animation styles allow you flexibility in your animation if you want to create a flashy sprite sheet animation, or if you want to quickly get your dice scene up and running without needing to create extra graphics.

As a bonus, I have included some images for a standard 6 sided die that you can use to get started.

Dice Scene

Roll a dice. You can show a custom animation, with the result of the roll provided to a game variable for use in your events.

You can optionally set up an allowed number of rerolls where the player can choose to accept their roll or roll again.

Please be aware that the dice is its own scene, and not meant to be used as some kind of in-battle skill as calling the dice scene would take you out of the battle.

Dice

Dice are set up as a parameter in the plugin parameters, allowing you to re-use your dice multiple times in different plugin commands. Dice can be unfair (weighted) and more likely to roll certain numbers, or they can be fair dice (each number equally likely to be the result).

Includes Graphical Assets

This plugin comes with all the dice graphics you need to make your dice system, including D3, D6, D8, D10, D12, and D20 dice. There are a few completed dice and many templates for different colored dice you can create using any image editing program.

See below images for some examples:

  

Integrations

[CGMZ] Scene Backgrounds - This plugin will allow you to show a custom background image in the dice roll scene. It allows for scrolling backgrounds and a lot of control over the background of any scene.

Roadmap

Want additional features not already present/listed above? Make suggestions on the Patreon Post, this Itch.io page, or in my discord under the #suggestions channel!

PLEASE READ BEFORE PURCHASING:

Please be aware that you can access this as well as all of my other Alpha plugins for $5 on my Patreon: https://www.patreon.com/CasperGamingRPGM

This is posted to Itch.io since some people only use Itch and are not aware my Patreon and all of my beta/alpha plugins exist, or want to have everything in one convenient location (itch.io), or do not want to do a monthly subscription.

Casper Gaming's Beta/Alpha plugins are treated as an "early access" and will eventually be free for everyone once they are fully released, though this process can take months/years. By purchasing in beta/alpha, you are able to provide early feedback/suggestions which are more likely to make it into the final fully released plugin.

Quick Facts

✅ RPG Maker MZ
✅ No obfuscation
✅ All future updates included
✅ No AI used at any point in the creation of this plugin

Credit & Requirements

Please see terms of use here: Terms of Use

Requires CGMZ Core plugin: CGMZ Core

Happy RPG Making!

Purchase

Buy Now$5.00 USD or more

In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

CGMZ_Dice.zip 9.2 kB
dice.zip 1.1 MB

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit)

can you roll multiple of the same die type? like say five 10 sided dice?

Hi, the scene only allows to roll one dice at a time right now, you can reroll the same dice for a different result or you could call the scene multiple times in a row in your event.

Can you add parameters to your dice rolls to add bonuses or negatives? Like will it allow you to say "+1 to dice roll if you have done x thing or have x stat"?

(1 edit)

Hi, sure I can add that, thank you for the suggestion. Currently it is not in the plugin, unless you event that and call a different dice scene or something with the boosted dice.

(2 edits)

can you use variables to determine the minimum and maximum die values?
can you roll more than 1 die at a time?
can you use a variable to determine number of rerolls?

(+1)

Hi, the dice are created via the parameters so if you create a 6 sided dice you would have 1-6 as the min/max roll for that dice. If you want different min/max you could make the dice unfair and just unable to roll certain numbers.

You can only roll 1 die at a time right now.

You set the rerolls in the plugin command so you can change it based on a variable.

so i can set rerolls to equal variable 3?

(2 edits) (+1)

You cannot set them directly to a variable via the plugin command, you will need to use a conditional branch to check the variable value and use different plugin commands to set the rerolls to be equal to the variable value.

If you are comfortable with JS you can use a script call to use a variable value directly:

const diceId = ""; // set this to your dice id
const resultVariable= 1; // Set this to the variable id you want to store the result in
const rerolls = $gameVariables.value(1); // change the 1 here to the variable id that stores the amount of rerolls you want
const disableCancel = false; // change to true to disable cancel
const bg = ""; // change to your scene background preset id (if any)
const dice = $cgmzTemp.getDice(diceId);
SceneManager.push(CGMZ_Scene_Dice);
SceneManager.prepareNextScene(dice, resultVariable, rerolls, bg, disableCancel);

Hey, a really cool tool, would be an honor for us if you'd consider joining us as, we're looking for talented indie creators for games, tools, assets, zines, books, ect for a massive a co-op bundle, where we want to include 300 items at least.. If you would like to join us it would be awesome! https://itch.io/jam/ultimate-300-bundle-submissions best regards & peace <3

Is the dice only 6 sided or does it have th, 8, 10, 12 and 20 sided options

When you set up the dice in the plugin, you tell it the minimum and maximum it can roll. You can have dice with any number of sides by changing the maximum. You can also make dice that can only roll  a 4-6 (for example) by changing the minimum.