@codexo/exojs-aseprite 0.18.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,57 +1,55 @@
1
1
  # @codexo/exojs-aseprite
2
2
 
3
- Official ExoJS extension for loading [Aseprite](https://www.aseprite.org) JSON sprite-sheet 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.
4
4
 
5
- ## Installation
5
+ ## Install and activate
6
6
 
7
7
  ```sh
8
- npm install @codexo/exojs @codexo/exojs-aseprite
8
+ npm install --save-exact @codexo/exojs @codexo/exojs-aseprite
9
9
  ```
10
10
 
11
- `@codexo/exojs` is a peer dependency. This package has no other runtime dependencies.
12
-
13
- > Export your sprite sheet from Aseprite as a **JSON + PNG** pair (`File → Export Sprite Sheet`, _Output → JSON Data_). Either array or hash frame mode works; frame tags become animation clips.
14
-
15
- ## What this package provides
16
-
17
- - `AsepriteSheet` — parsed sprite sheet; the result of `loader.load(Asset.type('asepriteSheet', url))`. Exposes the underlying `spritesheet`, a `clips` map (one `AnimatedSpriteClipDefinition` per frame tag), the `slices` and `layers` metadata maps, and `createAnimatedSprite()` for a ready-to-play `AnimatedSprite`
18
- - `asepriteExtension` — extension descriptor registering the Aseprite asset binding
19
- - `asepriteBinding` — the underlying `AssetBinding` (advanced/custom wiring)
20
- - `AsepriteFormatError` — typed error thrown on malformed Aseprite JSON
21
- - `AsepriteData` and related types (`AsepriteFrameData`, `AsepriteFrameTag`, `AsepriteMeta`, `AsepriteSlice`, …) plus the `isAsepriteArrayData` guard
22
-
23
- ## Usage
24
-
25
- Register the extension, load an Aseprite JSON export, and create an animated sprite. The extension 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.
26
12
 
27
13
  ```ts
28
- import { Application, Asset } from '@codexo/exojs';
14
+ import { Application, Asset, Scene } from '@codexo/exojs';
29
15
  import { asepriteExtension } from '@codexo/exojs-aseprite';
30
16
 
31
- const app = new Application({ extensions: [asepriteExtension] });
32
-
33
- const sheet = await app.loader.load(Asset.type('asepriteSheet', 'sprites/hero.aseprite.json'));
34
-
35
- const sprite = sheet.createAnimatedSprite();
36
- sprite.play('run'); // 'run' is an Aseprite frame-tag name
37
- app.scenes.root.addChild(sprite);
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);
38
38
  ```
39
39
 
40
- Clip frame rate is derived from each frame's Aseprite `duration` (falling back to 12 fps). Frame 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.
41
41
 
42
- ## Texture ownership
42
+ ## Before using an export
43
43
 
44
- The packed texture is loaded via the Loader and stays in the Loader cache. `AsepriteSheet.destroy()` 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.
45
45
 
46
- ## 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.
47
47
 
48
- This package follows the Core lockstep release line and declares the compatible `@codexo/exojs` minor as a peer dependency. Install matching package versions.
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.
49
49
 
50
- ## Links
50
+ ## Documentation
51
51
 
52
- - [Aseprite guide](https://exoridus.github.io/ExoJS/en/guide/assets/aseprite/)
53
- - [API reference](https://exoridus.github.io/ExoJS/en/api/)
54
- - [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)
55
53
 
56
54
  ## License
57
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,sDAAsD;IACtD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,yEA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AC3E,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,gBAAgB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC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AAE,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.18.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.18.x"
29
+ "@codexo/exojs": "0.19.x"
30
30
  },
31
31
  "devDependencies": {
32
- "@codexo/exojs": "0.18.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
  }