Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vokimon/godot-dice-roller
A godot control to roll dices
https://github.com/vokimon/godot-dice-roller
Last synced: 13 days ago
JSON representation
A godot control to roll dices
- Host: GitHub
- URL: https://github.com/vokimon/godot-dice-roller
- Owner: vokimon
- License: agpl-3.0
- Created: 2024-12-01T22:53:50.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-19T00:52:17.000Z (22 days ago)
- Last Synced: 2024-12-19T01:25:38.151Z (21 days ago)
- Language: GDScript
- Size: 295 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# godot-dice-roller
A Godot UI control that rolls 3D dices in a box.
![Screenshot Landscape](screenshots/example-landscape.png)
## Features
* Configurable setup:
- Dynamic set of dices (all dices of 6 faces, by now)
- Custom colors for each dice
- Configurable box size* 3 ways to roll:
- Physics based dice rolling (slow but cool)
- Turning dice to a computer generated random value (faster but unnatural)
- Turning dice to a given value (useful when the actual rolling is done remotely)* Easy to integrate in your code:
- Trigger rolling programmatically from buttons or shortcuts
- A signal notifies after the rolling
- Then you can extract the overall value or the specific face value for each dice* Responsive to layouts:
- The control adapts to the available space given by the layout
- Whichever the resulting size, the camera adapts the zoom to fully see the rolling box floor
- Automatically rotates the rolling box if the control aspect ratio is inverse to the one of the box![Screenshot Portrait](screenshots/example-portrait.png)