UNPKG

retrolib

Version:

Render low-res scenes to the canvas in a retro 8-bit era style. Aseprite exported animation wrapper, scene management, sound and image management, particle support.

7 lines (6 loc) 291 B
export interface RandomFloatFunction { (min: number, max: number): number; } export declare function useRandomFloatFn(randomFn: RandomFloatFunction): void; export declare function randInt(min: number, max: number): number; export declare function rand(min: number, max: number): number;