#dice #tabletop #bevy

bevy_dice

Physics-based dice rolls for bevy

15 unstable releases (3 breaking)

0.3.4-beta.3 Apr 9, 2023
0.3.4-beta.2 Apr 8, 2023
0.2.0 Nov 20, 2022
0.1.3 Nov 1, 2022
0.0.2 Oct 6, 2022

#862 in Game dev

MIT/Apache

665KB
207 lines

🎲 bevy_dice

Physics-based dice rolls for bevy. You can you this plugin to make tabletop games.

https://user-images.githubusercontent.com/97428129/194198974-239a14d2-0056-45c0-982f-06f9604cc5d1.mp4

Dice rolls are performed in a physical space, rendered to a image handle which you can display in your UI when dice rolls are needed. Results are emmited as events, so you can listen for them and perform actions based on the result.

Dependencies

Name Version
bevy 0.10.1
bevy_rapier3d 0.21.0

Usage

See examples/roll.rs

Dice 3D Model

Model Information:

Model License:

If you use this 3D model in your project be sure to copy paste this credit wherever you share it: This work is based on "Dice" (https://sketchfab.com/3d-models/dice-3b955af797e140eca0947ede57f412ba) by tnRaro (https://sketchfab.com/tnRaro) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)

Dependencies

~51–91MB
~1.5M SLoC