API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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
isAsepriteArrayData(data: AsepriteDataUnion of both Aseprite JSON export formats. Use isAsepriteArrayData to discriminate between array and hash mode.): dataReturns 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.
The Aseprite sheet asset type. Install it through asepriteExtension.