Skip to content

This project is a simple 3D dice roller built using the [Ursina Game Engine]. It displays a 3D cube with realistic dice pips (dots) on all faces. Press the SPACE key to roll the dice and watch it animate to a new random value.

Notifications You must be signed in to change notification settings

WrackerTony/3D_dice_roller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

3D Dice Roller with Ursina

This project is a simple 3D dice roller built using the [Ursina Game Engine]. It displays a 3D cube with realistic dice pips (dots) on all faces. Press the SPACE key to roll the dice and watch it animate to a new random value.

Features

  • Realistic 3D dice with correct pips on all faces
  • Smooth rotation animation when rolling
  • Instructions displayed above the dice
  • Built with Python and Ursina

Requirements

Installation

  1. Install Python if you haven't already: https://www.python.org/downloads/
  2. Install Ursina:
    pip install ursina
    

Usage

  1. Download or clone this repository.
  2. Run the dice roller script:
    python dice_roller.py
    
  3. A window will appear with a 3D dice. Press the SPACE key to roll the dice.

Controls

  • SPACE: Roll the dice

Screenshot

alt text

About

This project is a simple 3D dice roller built using the [Ursina Game Engine]. It displays a 3D cube with realistic dice pips (dots) on all faces. Press the SPACE key to roll the dice and watch it animate to a new random value.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages