knives for cats

Unity RNG Package

This is a package that's intended to be a complete replacement for Unity's RNG tools. It's an extremely lightweight hash-based pseudo-random number generator built on top of Squirrel Eiserloh's Squirrel 3 hashing algorithm (which he talks about in his great 2017 GDC talk). It comes with a ton of common utilities, all of the integer-based operations are entirely cross-platform deterministic (a requirement for its use in fighting game engine), and ideally when released will come with unit tests and in-engine visual demonstrations.

Features

Methods

Two things that I think would be cool to implement are animation curve biases and the choosing a random subset of a list which is talked about in the Unity manual page for the Random class.

back to projects

#gamedev