HIGHLY RECOMMENDED WEB HOSTING PROVIDER

Rolling The Dices – Multipurpose 3d dices for games

Rolling The Dices – Multipurpose 3d dices for games

LIVE PREVIEW

Rolling The Dices – Multipurpose 3d dices for games

LIVE PREVIEW

Envato Market Sale

Rolling The Dices - Multipurpose 3d dices for games - 1

ywAAAAAAQABAAACAUwAOw== ywAAAAAAQABAAACAUwAOw== ywAAAAAAQABAAACAUwAOw==

Built to supply multipurpose customized cube of various shapes, colours, faces and sizes with gentle results for your games.

The variety of cube, colours, textual content, pictures or movies on faces, measurement, floating consequence textual content, angular velocity and extra might be managed utilizing JSON information. You can configure the looks of every die and now have the power to assign a likelihood on every face of the die. All this with an non-obligatory sharp gentle impact to focus on the touchdown face.

Features

  • Type of dices: hexahedron, octahedron, decahedron, dodecahedron and icosahedron
  • API for get/set choices of dices and get roll outcomes
  • Deterministic dices, with consequence possibilities on every face
  • Support to decide on the place to roll the cube from or do it randomly
  • Customizable background/textual content/edges colours, sizes, font sizes, mass and angular velocity of every one
  • Support for print textual content, particular character, insert a picture or video on every face
  • Boards with background shade, picture and even with a video
  • Custom sounds when colliding with one another or with the board
  • Info popups might be styled by way of CSS and might be overrided with customized textual content
  • Methods and callbacks to get well the outcomes of the rolls
  • Optional information when getting outcomes
  • Optional Light impact to focus on touchdown face
  • Responsive & helps desktop and cellular
  • There is a configurator out there to design every face to facilitate your design. You may generate the code so that you simply solely have to repeat it into your script
  • Usage examples included. Note: In addition, there are 2 examples included as “artwork examples” with different gentle and shadow results however they’re separated from the app choices

Libraries

  • Three js
  • Cannon js

Documentation

Documentation is here

SUPPORT

For merchandise constructed-in options and help with reported bugs and points write a remark please

what clients say?

Rolling The Dices - Multipurpose 3d dices for games - 2

Rolling The Dices - Multipurpose 3d dices for games - 3

Next up

Some bug fixes and I settle for recommendations. Send me and e mail for request new options here

CHANGELOG

Major replace August 2024

Video, sounds, possibilities and deterministic dices, angular velocity… and simpler to configure

-- Feature: Boards with background shade, picture and even with a video
-- Feautre: Toast (consequence data popup) might be activate or deactivate.
-- Feautre: Added 2 occasion listener/callbacks that decision the identical features. Can be utilized in each methods.

      --"beforeRoll": Runs earlier than rolling the cube. 

      --"rollComplete": Runs when all cube end rolling and retrieves the outcomes as an argument.

      Examples: 
      --Event listener (with customized occasion constructor): doc.addEventListener("rollComplete",(e => { console.log(e); }))
      --Callback: ... new rollingTheDices({ ... onRollComplete: (e) => { console.log(e); }, ...

-- Feature: Added mass to dices. Defines the burden of the cube with values from 100 to 800. Default: 800 
-- Feautre: Added angularVelocity to dices. Defines rotation pace with values from 0 to 120. Default: random from 30 to 120
-- Feature: Video on cube face.
-- Feature: Custom sounds when colliding with one another or with the board
-- Feature: faceResultText (inside faceValues): overwrites the popup of cube consequence with customized textual content
-- Feature: faceUserData (inside faceValues): non-obligatory object that may include customized information for retrieval within the getThrowResults technique or callbacks.
-- Feature: likelihood (inside faceValues. Replaces the previous presetValue setting): defines the likelihood of touchdown on that face. The values of all of the faces ought to add as much as 100 for higher weighting. If 100 is outlined on one face and 0 on the others, it's going to have 100% likelihood. Also, if on a die of 6, just one property is outlined, the others are routinely added likelihood 50.
-- Feature: FaceValues setting has been rewriten for a better and less complicated configuration. Now it is extra object oriented. Within them you possibly can configure the likelihood, the faceUserData and faceResultText of every face.

-- Change: Toast: textual content and pop up extra lovely by way of css by default  
-- Change: higher random preliminary place

-- Fix: Minor bug fixes and clear up

-- Breaking-change: presetValue setting is not out there. Replaced by likelihood setting inside faceValue 
-- Breaking-change: faceValues have to be configured with objects to make it simpler

Major replace April 2024

It is now potential to configure every face of the cube independently. You will be capable to paint every face with a special shade, put quick or lengthy textual content adapting the font measurement or add a picture that occupies the scale and place you need.

Also on this model there’s a configurator out there to design every face with pictures or textual content to facilitate your design. You may generate the code so that you simply solely have to repeat it into your script

-- Fixed a bug associated to sluggish connections
-- Fixed a bug in presetValue possibility.
-- Reduced the brightness on the cube with picture in order that it seems extra sensible
-- Minor bug fixes and clear up

LIVE PREVIEWBUY FOR $35