API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

N

namespaceAseprite Functions

@codexo/exojs-aseprite / aseprite / stable

Free functions and constants exported from @codexo/exojs-aseprite.

2
props
1
methods
0
events
Overview

Free functions and constants exported from @codexo/exojs-aseprite. Import any of them directly, for example `import { isAsepriteArrayData } from '@codexo/exojs-aseprite'`.

Functions1
Returns true when data is in array mode (frames is an array).
Constants2
Default immutable Aseprite extension descriptor. Installs one asset type: - asepriteType - loader.load(asepriteType.asset('hero.aseprite.json')) fetches the Aseprite JSON, resolves and loads the packed texture, and returns a fully-parsed AsepriteSheet with all frame-tag clips. Pass it to the application that should have it via ApplicationOptions.extensions.