@codexo/exojs-aseprite 0.17.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,68 +1,55 @@
1
1
  # @codexo/exojs-aseprite
2
2
 
3
- Official ExoJS extension for loading [Aseprite](https://www.aseprite.org) JSON sprite-sheet
4
- exports into a ready-to-animate sprite, with one animation clip per Aseprite frame tag.
3
+ Load Aseprite JSON sprite-sheet exports as typed ExoJS assets, preserving tagged animation sequences, frame timing, and trimmed-frame offsets.
5
4
 
6
- ## Installation
5
+ ## Install and activate
7
6
 
8
7
  ```sh
9
- npm install @codexo/exojs @codexo/exojs-aseprite
8
+ npm install --save-exact @codexo/exojs @codexo/exojs-aseprite
10
9
  ```
11
10
 
12
- `@codexo/exojs` is a peer dependency. This package has no other runtime dependencies.
13
-
14
- > Export your sprite sheet from Aseprite as a **JSON + PNG** pair (`File → Export Sprite Sheet`,
15
- > _Output → JSON Data_). Either array or hash frame mode works; frame tags become animation clips.
16
-
17
- ## What this package provides
18
-
19
- - `AsepriteSheet` — parsed sprite sheet; the result of
20
- `loader.load(Asset.type('asepriteSheet', url))`. Exposes
21
- the underlying `spritesheet`, a `clips` map (one `AnimatedSpriteClipDefinition` per frame tag),
22
- the `slices` and `layers` metadata maps, and `createAnimatedSprite()` for a ready-to-play
23
- `AnimatedSprite`
24
- - `asepriteExtension` — extension descriptor registering the Aseprite asset binding
25
- - `asepriteBinding` — the underlying `AssetBinding` (advanced/custom wiring)
26
- - `AsepriteFormatError` — typed error thrown on malformed Aseprite JSON
27
- - `AsepriteData` and related types (`AsepriteFrameData`, `AsepriteFrameTag`, `AsepriteMeta`,
28
- `AsepriteSlice`, …) plus the `isAsepriteArrayData` guard
29
-
30
- ## Usage
31
-
32
- Register the extension, load an Aseprite JSON export, and create an animated sprite. The extension
33
- fetches the JSON, resolves and loads the packed texture, and builds one clip per frame tag:
11
+ Core is a peer dependency. Add `asepriteExtension` to the application; importing the package alone does not install a loader.
34
12
 
35
13
  ```ts
36
- import { Application, Asset } from '@codexo/exojs';
37
- import { AsepriteSheet, asepriteExtension } from '@codexo/exojs-aseprite';
38
-
39
- const app = new Application({ extensions: [asepriteExtension] });
40
-
41
- const sheet = await app.loader.load(Asset.type('asepriteSheet', 'sprites/hero.aseprite.json'));
42
-
43
- const sprite = sheet.createAnimatedSprite();
44
- sprite.play('run'); // 'run' is an Aseprite frame-tag name
45
- app.scenes.root.addChild(sprite);
14
+ import { Application, Asset, Scene } from '@codexo/exojs';
15
+ import { asepriteExtension } from '@codexo/exojs-aseprite';
16
+
17
+ class CharacterScene extends Scene {
18
+ override async load(): Promise<void> {
19
+ const sheet = await this.loader.load(Asset.type('asepriteSheet', 'sprites/hero.json'));
20
+ const character = sheet.createAnimatedSprite();
21
+
22
+ if (sheet.clips.has('walk')) {
23
+ character.play('walk');
24
+ }
25
+ character.setPosition(100, 100);
26
+ this.root.addChild(character);
27
+ }
28
+ }
29
+
30
+ const app = new Application({
31
+ scenes: { CharacterScene },
32
+ extensions: [asepriteExtension],
33
+ canvas: { width: 800, height: 600, mount: 'body' },
34
+ loader: { basePath: new URL('assets/', document.baseURI).href },
35
+ });
36
+
37
+ await app.start(CharacterScene);
46
38
  ```
47
39
 
48
- Clip frame rate is derived from each frame's Aseprite `duration` (falling back to 12 fps). Frame
49
- indices in a tag are resolved against the ordered frame array; out-of-range indices are skipped.
40
+ Provide `sprites/hero.json` and its referenced image beneath the configured asset base. Aseprite's export can use Array or Hash frame layout. The animation system advances an attached `AnimatedSprite`; do not also advance it manually every frame.
50
41
 
51
- ## Texture ownership
42
+ ## Before using an export
52
43
 
53
- The packed texture is loaded via the Loader and stays in the Loader cache. `AsepriteSheet.destroy()`
54
- releases the parsed sprite sheet; the Loader handles texture lifecycle and deduplication.
44
+ Always name the `asepriteSheet` type explicitly. The adapter does not claim all `.json` files, so loading the same URL as a bare JSON path does not parse an Aseprite sheet.
55
45
 
56
- ## Core compatibility
46
+ Tag names must exist in the export. Direction expands the tag's frame sequence; per-frame hold durations take precedence over the display-average FPS. Clip repeat counts describe complete cycles, not the additional-repeat convention of a property tween.
57
47
 
58
- | `@codexo/exojs-aseprite` | `@codexo/exojs` |
59
- | ------------------------ | --------------- |
60
- | 0.14.x | 0.14.x |
48
+ A loader scope owns its asset claims, including the referenced image dependency. Scene teardown releases scene claims; manually destroying a shared texture is not the way to unload one character. The sheet's metadata does not automatically create gameplay colliders or UI behavior from slices.
61
49
 
62
- ## Links
50
+ ## Documentation
63
51
 
64
- - [API reference](https://exojs.dev/api/exojs-aseprite)
65
- - [Aseprite](https://www.aseprite.org)
52
+ [Aseprite guide](https://exoridus.github.io/ExoJS/en/guide/assets/aseprite/) · [Animation guide](https://exoridus.github.io/ExoJS/en/guide/rendering/animation/) · [AsepriteSheet API](https://exoridus.github.io/ExoJS/en/api/aseprite-sheet/) · [Aseprite playground](https://exoridus.github.io/ExoJS/en/playground/?example=assets/aseprite-spritesheet)
66
53
 
67
54
  ## License
68
55
 
@@ -1 +1 @@
1
- {"version":3,"file":"AsepriteData.d.ts","sourceRoot":"","sources":["../../src/AsepriteData.ts"],"names":[],"mappings":"AAIA,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAExF,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8DAA8D;AAC9D,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,4DAA4D;AAC5D,MAAM,WAAW,iBAAiB;IAChC,sDA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iFxE;;;;;;OAMG;IACI,oBAAoB,IAAI,cAAc;IAU7C,kFAAkF;IAC3E,OAAO,IAAI,IAAI;CAGvB"}
1
+ {"version":3,"file":"AsepriteSheet.d.ts","sourceRoot":"","sources":["../../src/AsepriteSheet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,4BAA4B,EAAE,WAAW,EAAE,KAAK,OAAO,EAAQ,MAAM,eAAe,CAAC;AAEnH,OAAO,EAAE,KAAK,YAAY,EAAiD,KAAK,aAAa,EAAE,KAAK,aAAa,EAAuB,MAAM,gBAAgB,CAAC;AA2G/J;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,aAAa;IACxB,iFAAiF;IACjF,SAAgB,WAAW,EAAE,WAAW,CAAC;IAEzC;;;;OAIG;IACH,SAAgB,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;IAEzE;;;;;;;OAOG;IACH,SAAgB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAE3D;;;;;;;;;;OAUG;IACH,SAAgB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAmB3D;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,OAAc,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,aAAa,CA+EvE;IAED;;;;;;OAMG;IACI,oBAAoB,IAAI,cAAc,CAQ5C;IAED,kFAAkF;IAC3E,OAAO,IAAI,IAAI,CAErB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"asepriteType.d.ts","sourceRoot":"","sources":["../../src/asepriteType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAW,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAS,SAAS,EAAmB,MAAM,eAAe,CAAC;AAKlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBA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AE,MAAM,CAAC,CAIpE;IAEK,aAAa,IAAI,YAAY,CAAC,YAAY,EAAE,aAAa,CAAC,CAQhE;CACF;AAED,mFAAmF;AACnF,eAAO,MAAM,YAAY,mBAA0B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codexo/exojs-aseprite",
3
- "version": "0.17.0",
3
+ "version": "0.19.0",
4
4
  "description": "Aseprite sprite sheet asset extension for ExoJS.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,11 +26,11 @@
26
26
  "LICENSE"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@codexo/exojs": "0.17.x"
29
+ "@codexo/exojs": "0.19.x"
30
30
  },
31
31
  "devDependencies": {
32
- "@codexo/exojs": "0.17.0",
33
- "@codexo/exojs-config": "0.0.0"
32
+ "@codexo/exojs-config": "0.0.0",
33
+ "@codexo/exojs": "0.19.0"
34
34
  },
35
35
  "license": "MIT",
36
36
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "scripts": {
40
40
  "build": "tsx ../../scripts/build-extension.ts",
41
41
  "build:dev": "tsx ../../scripts/build-extension.ts --dev",
42
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
42
+ "typecheck": "exo-tsc --noEmit && exo-tsc --noEmit -p tsconfig.test.json",
43
43
  "lint": "eslint \"src/**/*.ts\"",
44
44
  "test": "vitest run --root ../.. --project=exojs-aseprite"
45
45
  }