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.

11 lines (10 loc) 267 B
/** * Helper class to store sound effects and deserialize them from JSON. */ declare class SfxDefinition { name: string; sfx: HTMLAudioElement; filename: string; static fromJSON(json: object): SfxDefinition & object; } export default SfxDefinition;