# Dice Roller Pro – a Unity3d Asset

- Link: https://saguiitay.com/dice-roller-pro-a-unity3d-asset/
- Published: 2019-03-17T22:21:39+02:00
- Author: Itay

Role Playing Games are aways popular, ever since computer games started. They started
with console games and evolved along with the Dungeons and Dragons communities.

One of the most common and well-known part of the D&D world, that has been implemented
in RPG computer games, is the concept of die (as in – plural of dice). From simply
rolling a single 6-facet dice, to the more cryptic and complex 3d20dl1 (roll 3 20-
facets die, and drop the lowest one), the combinations are endless, and so is their
usage.

[Dice Roller Pro](https://assetstore.unity.com/packages/tools/input-management/dice-roller-pro-140796?aid=1101lS3S)
provides developers with a great toolkit to roll any dice pattern they wish, generate
random results, and even allow dynamic parsing of roll patterns.

## Supported rolls and die types

Generating die means developers can easily and efficiently generate custom rolls
generators for their game, using simple patterns, which include:

 * Basic Roll
 * Fate/Fudge Roll
 * Exploding Dice
 * Compounding Dice
 * Penetrating Dice
 * Keep high/low Dice
 * Drop high/low Dice
 * Group/Sum Rolls

Having an efficient and blazing fast way to generate rolls based on those rolls 
patterns allows for clean code.

Lastly, being able to dynamically parse these patterns allows game developers to
save and load the patterns from a database, making their games much more powerful
and interesting to the players.

[Dice Roller Pro](https://assetstore.unity.com/packages/tools/input-management/dice-roller-pro-140796?aid=1101lS3S)
comes with full source code in C# for Unity3d, is extremely efficient with a VERY
low memory footprint, and is blazing fast.

### _Related_
