Download the example project to see how plugin works https://www.construct.net/make-games/addons/176/chance/examples/1/chance.c3p

The plugin is used to generate random data, it's using ChanceJS under the hood (https://chancejs.com/)

if there are any function of chance that are not implemented in the plugin from the chance.js api let me know, and i'll implement them.

Of most the random methods are implemented as expression,

except for the roll dice, and the shuffle array

Chance.js is based on the Mersenne Twister PRNG (pseudorandom number generator)

Download

1.1 Stable (145.43 KB)

Info

Statistics

  • Download count865 total downloads
  • Latest download count 512 downloads of latest version
  • Average download count1 downloads per day average

Owners

  • 10 Comments

  • Order by
Want to leave a comment? Login or Register an account!