bevy_dice

Crates.iobevy_dice
lib.rsbevy_dice
version0.3.4-beta.3
sourcesrc
created_at2022-10-06 00:49:46.372646
updated_at2023-04-09 20:09:06.375243
descriptionPhysics-based dice rolls for bevy
homepage
repositoryhttps://github.com/stillonearth/bevy_rl
max_upload_size
id680842
size790,369
Sergei Surovtsev (stillonearth)

documentation

README

🎲 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/)

Commit count: 90

cargo fmt