@safe-engine/pixi 8.9.4 → 8.9.6

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.
Files changed (33) hide show
  1. package/dist/app.d.ts +1 -0
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/app.js +14 -3
  4. package/dist/spine/lib/BatchableSpineSlot.d.ts +7 -7
  5. package/dist/spine/lib/BatchableSpineSlot.js +7 -7
  6. package/dist/spine/lib/Spine.d.ts +89 -14
  7. package/dist/spine/lib/Spine.d.ts.map +1 -1
  8. package/dist/spine/lib/Spine.js +207 -42
  9. package/dist/spine/lib/SpineDebugRenderer.d.ts +7 -7
  10. package/dist/spine/lib/SpineDebugRenderer.js +7 -7
  11. package/dist/spine/lib/SpinePipe.d.ts +9 -9
  12. package/dist/spine/lib/SpinePipe.d.ts.map +1 -1
  13. package/dist/spine/lib/SpinePipe.js +17 -12
  14. package/dist/spine/lib/SpineTexture.d.ts +7 -7
  15. package/dist/spine/lib/SpineTexture.js +7 -7
  16. package/dist/spine/lib/assets/atlasLoader.d.ts +7 -7
  17. package/dist/spine/lib/assets/atlasLoader.d.ts.map +1 -1
  18. package/dist/spine/lib/assets/atlasLoader.js +16 -12
  19. package/dist/spine/lib/assets/skeletonLoader.d.ts +7 -7
  20. package/dist/spine/lib/assets/skeletonLoader.js +14 -10
  21. package/dist/spine/lib/darktint/DarkTintBatchGeometry.d.ts +6 -6
  22. package/dist/spine/lib/darktint/DarkTintBatchGeometry.js +6 -6
  23. package/dist/spine/lib/darktint/DarkTintBatcher.d.ts +6 -6
  24. package/dist/spine/lib/darktint/DarkTintBatcher.js +6 -6
  25. package/dist/spine/lib/darktint/DarkTintShader.d.ts +6 -6
  26. package/dist/spine/lib/darktint/DarkTintShader.js +6 -6
  27. package/dist/spine/lib/darktint/darkTintBit.d.ts +6 -6
  28. package/dist/spine/lib/darktint/darkTintBit.js +6 -6
  29. package/dist/spine/lib/index.d.ts +1 -1
  30. package/dist/spine/lib/index.js +1 -1
  31. package/dist/spine/lib/require-shim.d.ts +7 -7
  32. package/dist/spine/lib/require-shim.js +7 -7
  33. package/package.json +1 -1
package/dist/app.d.ts CHANGED
@@ -4,4 +4,5 @@ export declare function startGame(defaultFont: any, designedResolution: {
4
4
  height: number;
5
5
  }, assetManager: AssetsClass, id?: string): Promise<Application<Renderer>>;
6
6
  export declare function loadAll(assets: any, cb?: (progress: number) => void): Promise<any>;
7
+ export declare function unloadAll(assets: any): Promise<void>;
7
8
  //# sourceMappingURL=app.d.ts.map
package/dist/app.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAU,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMpE,wBAAsB,SAAS,CAC7B,WAAW,KAAA,EACX,kBAAkB;;;CAA+B,EACjD,YAAY,EAAE,WAAW,EACzB,EAAE,SAAe,GAChB,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CA6BhC;AAqBD,wBAAgB,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,gBAenE"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAU,WAAW,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAMpE,wBAAsB,SAAS,CAC7B,WAAW,KAAA,EACX,kBAAkB;;;CAA+B,EACjD,YAAY,EAAE,WAAW,EACzB,EAAE,SAAe,GAChB,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CA6BhC;AA0CD,wBAAgB,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,gBAEnE;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,GAAG,iBAEpC"}
package/dist/app.js CHANGED
@@ -61,13 +61,18 @@ function initWorld(defaultFont) {
61
61
  }
62
62
  world.systems.addThenConfigure(NoRenderSystem);
63
63
  }
64
- export function loadAll(assets, cb) {
64
+ function getAllAssets(assets) {
65
65
  const allAssets = [];
66
66
  Object.values(assets).forEach((value) => {
67
67
  if (value.skeleton) {
68
68
  allAssets.push(value.skeleton, value.atlas);
69
69
  if (value.texture) {
70
- allAssets.push(value.texture);
70
+ if (Array.isArray(value.texture)) {
71
+ allAssets.push(...value.texture);
72
+ }
73
+ else {
74
+ allAssets.push(value.texture);
75
+ }
71
76
  }
72
77
  else {
73
78
  allAssets.push(value.atlas.replace('.atlas', '.png'));
@@ -77,5 +82,11 @@ export function loadAll(assets, cb) {
77
82
  allAssets.push(value);
78
83
  }
79
84
  });
80
- return Assets.load(allAssets, cb);
85
+ return allAssets;
86
+ }
87
+ export function loadAll(assets, cb) {
88
+ return Assets.load(getAllAssets(assets), cb);
89
+ }
90
+ export function unloadAll(assets) {
91
+ return Assets.unload(getAllAssets(assets));
81
92
  }
@@ -1,16 +1,16 @@
1
- /** ****************************************************************************
1
+ /******************************************************************************
2
2
  * Spine Runtimes License Agreement
3
- * Last updated July 28, 2023. Replaces all prior versions.
3
+ * Last updated April 5, 2025. Replaces all prior versions.
4
4
  *
5
- * Copyright (c) 2013-2023, Esoteric Software LLC
5
+ * Copyright (c) 2013-2025, Esoteric Software LLC
6
6
  *
7
7
  * Integration of the Spine Runtimes into software or otherwise creating
8
8
  * derivative works of the Spine Runtimes is permitted under the terms and
9
9
  * conditions of Section 2 of the Spine Editor License Agreement:
10
10
  * http://esotericsoftware.com/spine-editor-license
11
11
  *
12
- * Otherwise, it is permitted to integrate the Spine Runtimes into software or
13
- * otherwise create derivative works of the Spine Runtimes (collectively,
12
+ * Otherwise, it is permitted to integrate the Spine Runtimes into software
13
+ * or otherwise create derivative works of the Spine Runtimes (collectively,
14
14
  * "Products"), provided that each user of the Products must obtain their own
15
15
  * Spine Editor license and redistribution of the Products in any form must
16
16
  * include this license and copyright notice.
@@ -23,8 +23,8 @@
23
23
  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
24
24
  * BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
25
25
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
27
- * SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
  *****************************************************************************/
29
29
  import { AttachmentCacheData, Spine } from './Spine.js';
30
30
  import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';
@@ -1,16 +1,16 @@
1
- /** ****************************************************************************
1
+ /******************************************************************************
2
2
  * Spine Runtimes License Agreement
3
- * Last updated July 28, 2023. Replaces all prior versions.
3
+ * Last updated April 5, 2025. Replaces all prior versions.
4
4
  *
5
- * Copyright (c) 2013-2023, Esoteric Software LLC
5
+ * Copyright (c) 2013-2025, Esoteric Software LLC
6
6
  *
7
7
  * Integration of the Spine Runtimes into software or otherwise creating
8
8
  * derivative works of the Spine Runtimes is permitted under the terms and
9
9
  * conditions of Section 2 of the Spine Editor License Agreement:
10
10
  * http://esotericsoftware.com/spine-editor-license
11
11
  *
12
- * Otherwise, it is permitted to integrate the Spine Runtimes into software or
13
- * otherwise create derivative works of the Spine Runtimes (collectively,
12
+ * Otherwise, it is permitted to integrate the Spine Runtimes into software
13
+ * or otherwise create derivative works of the Spine Runtimes (collectively,
14
14
  * "Products"), provided that each user of the Products must obtain their own
15
15
  * Spine Editor license and redistribution of the Products in any form must
16
16
  * include this license and copyright notice.
@@ -23,8 +23,8 @@
23
23
  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
24
24
  * BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
25
25
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
27
- * SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
  *****************************************************************************/
29
29
  export class BatchableSpineSlot {
30
30
  constructor() {
@@ -1,16 +1,16 @@
1
- /** ****************************************************************************
1
+ /******************************************************************************
2
2
  * Spine Runtimes License Agreement
3
- * Last updated July 28, 2023. Replaces all prior versions.
3
+ * Last updated April 5, 2025. Replaces all prior versions.
4
4
  *
5
- * Copyright (c) 2013-2023, Esoteric Software LLC
5
+ * Copyright (c) 2013-2025, Esoteric Software LLC
6
6
  *
7
7
  * Integration of the Spine Runtimes into software or otherwise creating
8
8
  * derivative works of the Spine Runtimes is permitted under the terms and
9
9
  * conditions of Section 2 of the Spine Editor License Agreement:
10
10
  * http://esotericsoftware.com/spine-editor-license
11
11
  *
12
- * Otherwise, it is permitted to integrate the Spine Runtimes into software or
13
- * otherwise create derivative works of the Spine Runtimes (collectively,
12
+ * Otherwise, it is permitted to integrate the Spine Runtimes into software
13
+ * or otherwise create derivative works of the Spine Runtimes (collectively,
14
14
  * "Products"), provided that each user of the Products must obtain their own
15
15
  * Spine Editor license and redistribution of the Products in any form must
16
16
  * include this license and copyright notice.
@@ -23,11 +23,11 @@
23
23
  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
24
24
  * BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
25
25
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE
27
- * SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27
+ * THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
  *****************************************************************************/
29
29
  import { AnimationState, Bone, Color, MeshAttachment, RegionAttachment, Skeleton, SkeletonBounds, SkeletonData, Slot, TrackEntry } from '@esotericsoftware/spine-core';
30
- import { Bounds, Container, ContainerChild, ContainerOptions, DestroyOptions, PointData, Texture, ViewContainer } from 'pixi.js';
30
+ import { Bounds, Container, ContainerOptions, DestroyOptions, PointData, Texture, ViewContainer } from 'pixi.js';
31
31
  import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
32
32
  /**
33
33
  * Options to create a {@link Spine} using {@link Spine.from}.
@@ -47,6 +47,66 @@ export interface SpineFromOptions {
47
47
  * If `undefined`, use the dark tint renderer if at least one slot has tint black
48
48
  */
49
49
  darkTint?: boolean;
50
+ /** The bounds provider to use. If undefined the bounds will be dynamic, calculated when requested and based on the current frame. */
51
+ boundsProvider?: SpineBoundsProvider;
52
+ }
53
+ /** A bounds provider calculates the bounding box for a skeleton, which is then assigned as the size of the SpineGameObject. */
54
+ export interface SpineBoundsProvider {
55
+ /** Returns the bounding box for the skeleton, in skeleton space. */
56
+ calculateBounds(gameObject: Spine): {
57
+ x: number;
58
+ y: number;
59
+ width: number;
60
+ height: number;
61
+ };
62
+ }
63
+ /** A bounds provider that provides a fixed size given by the user. */
64
+ export declare class AABBRectangleBoundsProvider implements SpineBoundsProvider {
65
+ private x;
66
+ private y;
67
+ private width;
68
+ private height;
69
+ constructor(x: number, y: number, width: number, height: number);
70
+ calculateBounds(): {
71
+ x: number;
72
+ y: number;
73
+ width: number;
74
+ height: number;
75
+ };
76
+ }
77
+ /** A bounds provider that calculates the bounding box from the setup pose. */
78
+ export declare class SetupPoseBoundsProvider implements SpineBoundsProvider {
79
+ private clipping;
80
+ /**
81
+ * @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
82
+ */
83
+ constructor(clipping?: boolean);
84
+ calculateBounds(gameObject: Spine): {
85
+ x: number;
86
+ y: number;
87
+ width: number;
88
+ height: number;
89
+ };
90
+ }
91
+ /** A bounds provider that calculates the bounding box by taking the maximumg bounding box for a combination of skins and specific animation. */
92
+ export declare class SkinsAndAnimationBoundsProvider implements SpineBoundsProvider {
93
+ private animation;
94
+ private skins;
95
+ private timeStep;
96
+ private clipping;
97
+ /**
98
+ * @param animation The animation to use for calculating the bounds. If null, the setup pose is used.
99
+ * @param skins The skins to use for calculating the bounds. If empty, the default skin is used.
100
+ * @param timeStep The time step to use for calculating the bounds. A smaller time step means more precision, but slower calculation.
101
+ * @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
102
+ */
103
+ constructor(animation: string | null, skins?: string[], timeStep?: number, clipping?: boolean);
104
+ calculateBounds(gameObject: Spine): {
105
+ x: number;
106
+ y: number;
107
+ width: number;
108
+ height: number;
109
+ };
50
110
  }
51
111
  export interface SpineOptions extends ContainerOptions {
52
112
  /** the {@link SkeletonData} used to instantiate the skeleton */
@@ -55,6 +115,8 @@ export interface SpineOptions extends ContainerOptions {
55
115
  autoUpdate?: boolean;
56
116
  /** See {@link SpineFromOptions.darkTint}. */
57
117
  darkTint?: boolean;
118
+ /** See {@link SpineFromOptions.boundsProvider}. */
119
+ boundsProvider?: SpineBoundsProvider;
58
120
  }
59
121
  /**
60
122
  * AnimationStateListener {@link https://en.esotericsoftware.com/spine-api-reference#AnimationStateListener events} exposed for Pixi.
@@ -107,6 +169,7 @@ export declare class Spine extends ViewContainer {
107
169
  readonly _slotsObject: Record<string, {
108
170
  slot: Slot;
109
171
  container: Container;
172
+ followAttachmentTimeline: boolean;
110
173
  } | null>;
111
174
  private clippingSlotToPixiMasks;
112
175
  private getSlotFromRef;
@@ -124,6 +187,10 @@ export declare class Spine extends ViewContainer {
124
187
  get autoUpdate(): boolean;
125
188
  /** When `true`, the Spine AnimationState and the Skeleton will be automatically updated using the {@link Ticker.shared} instance. */
126
189
  set autoUpdate(value: boolean);
190
+ private _boundsProvider?;
191
+ /** The bounds provider to use. If undefined the bounds will be dynamic, calculated when requested and based on the current frame. */
192
+ get boundsProvider(): SpineBoundsProvider | undefined;
193
+ set boundsProvider(value: SpineBoundsProvider | undefined);
127
194
  private hasNeverUpdated;
128
195
  constructor(options: SpineOptions | SkeletonData);
129
196
  /** If {@link Spine.autoUpdate} is `false`, this method allows to update the AnimationState and the Skeleton with the given delta. */
@@ -158,8 +225,8 @@ export declare class Spine extends ViewContainer {
158
225
  */
159
226
  _validateAndTransformAttachments(): void;
160
227
  private validateAttachments;
161
- private updateAndSetPixiMask;
162
228
  private currentClippingSlot;
229
+ private updateAndSetPixiMask;
163
230
  private transformAttachments;
164
231
  private updateClippingData;
165
232
  /**
@@ -178,8 +245,12 @@ export declare class Spine extends ViewContainer {
178
245
  *
179
246
  * @param container - The container to attach to the slot
180
247
  * @param slotRef - The slot id or slot to attach to
248
+ * @param options - Optional settings for the attachment.
249
+ * @param options.followAttachmentTimeline - If true, the attachment will follow the slot's attachment timeline.
181
250
  */
182
- addSlotObject(slot: number | string | Slot, container: Container): void;
251
+ addSlotObject(slot: number | string | Slot, container: Container, options?: {
252
+ followAttachmentTimeline?: boolean;
253
+ }): void;
183
254
  /**
184
255
  * Removes a PixiJS container from the slot it is attached to.
185
256
  *
@@ -187,13 +258,17 @@ export declare class Spine extends ViewContainer {
187
258
  * @param slotOrContainer - The container, slot id or slot to detach from
188
259
  */
189
260
  removeSlotObject(slotOrContainer: number | string | Slot | Container): void;
261
+ /**
262
+ * Removes all PixiJS containers attached to any slot.
263
+ */
264
+ removeSlotObjects(): void;
190
265
  /**
191
266
  * Returns a container attached to a slot, or undefined if no container is attached.
192
267
  *
193
268
  * @param slotRef - The slot id or slot to get the attachment from
194
269
  * @returns - The container attached to the slot
195
270
  */
196
- getSlotObject(slot: number | string | Slot): Container<ContainerChild>;
271
+ getSlotObject(slot: number | string | Slot): Container<import("pixi.js").ContainerChild>;
197
272
  protected updateBounds(): void;
198
273
  /** @internal */
199
274
  addBounds(bounds: Bounds): void;
@@ -224,8 +299,8 @@ export declare class Spine extends ViewContainer {
224
299
  * Use this method to instantiate a Spine game object.
225
300
  * Before instantiating a Spine game object, the skeleton (`.skel` or `.json`) and the atlas text files must be loaded into the Assets. For example:
226
301
  * ```
227
- * PIXI.Assets.add("sackData", "./assets/sack-pro.skel");
228
- * PIXI.Assets.add("sackAtlas", "./assets/sack-pma.atlas");
302
+ * PIXI.Assets.add("sackData", "/assets/sack-pro.skel");
303
+ * PIXI.Assets.add("sackAtlas", "/assets/sack-pma.atlas");
229
304
  * await PIXI.Assets.load(["sackData", "sackAtlas"]);
230
305
  * ```
231
306
  * Once a Spine game object is created, its skeleton data is cached into {@link Cache} using the key:
@@ -234,6 +309,6 @@ export declare class Spine extends ViewContainer {
234
309
  * @param options - Options to configure the Spine game object. See {@link SpineFromOptions}
235
310
  * @returns {Spine} The Spine game object instantiated
236
311
  */
237
- static from({ skeleton, atlas, scale, darkTint, autoUpdate }: SpineFromOptions): Spine;
312
+ static from({ skeleton, atlas, scale, darkTint, autoUpdate, boundsProvider }: SpineFromOptions): Spine;
238
313
  }
239
314
  //# sourceMappingURL=Spine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spine.d.ts","sourceRoot":"","sources":["../../../src/spine/lib/Spine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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