@melonjs/spine-plugin 3.0.0 → 3.1.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/CHANGELOG.md +16 -0
- package/README.md +37 -7
- package/build/Spine.d.ts +44 -0
- package/build/Spine.d.ts.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +217 -173
- package/build/index.js.map +3 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.0 - _2026-06-14_
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `Spine.findConstraint(name)` — convenience wrapper around the unified 4.3 constraints list; matches the `findBone()`/`findSlot()` shape and resolves any constraint type (IK, transform, path, physics, Slider) by name. Return type is typed as a union of the five concrete constraint classes (`SpineConstraint` typedef) for `instanceof` narrowing without a cast
|
|
8
|
+
- `Spine.getConstraintNames()` — list all constraint names defined on the skeleton (mirrors `getAnimationNames()`/`getSkinNames()`)
|
|
9
|
+
- spine-core constraint classes re-exported from `@melonjs/spine-plugin` so `instanceof` narrowing of `findConstraint()` results doesn't require a second runtime import (the plugin already owns the spine-core re-export, so identity matches): the new 4.3 Slider classes (`Slider`, `SliderData`, `SliderTimeline`, `SliderMixTimeline`) plus the four pre-existing constraint classes (`IkConstraint`, `TransformConstraint`, `PathConstraint`, `PhysicsConstraint`)
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `setSkeleton()` actually loads binary `.skel` skeletons — was hardcoded to `SkeletonJson` for every input, so passing a `.skel` file (loaded as a `Uint8Array` by the asset manager) threw inside the JSON parser. Now dispatches to `SkeletonBinary` for `.skel` filenames and `SkeletonJson` otherwise. The README and JSDoc have claimed binary support since the original 1.x release; this is the first version where it works. The `spineboy` example in the live preview now loads from `spineboy-pro.skel` to give the binary path continuous coverage
|
|
14
|
+
|
|
15
|
+
### Chore
|
|
16
|
+
|
|
17
|
+
- dev deps: `tsx` ^4.21.0 → ^4.22.4, `typescript` ^6.0.2 → ^6.0.3 (no consumer impact — devDependencies aren't installed by npm consumers of the plugin)
|
|
18
|
+
|
|
3
19
|
## 3.0.0 - _2026-06-14_
|
|
4
20
|
|
|
5
21
|
### **BREAKING CHANGES**
|
package/README.md
CHANGED
|
@@ -20,7 +20,8 @@ A [Spine](http://en.esotericsoftware.com/spine-in-depth) 4.x runtime integration
|
|
|
20
20
|
- **Clipping attachments** via melonJS masking (canvas) and Spine's SkeletonClipping (WebGL)
|
|
21
21
|
- **Skin support** including mix-and-match skin combining via `setCombinedSkin()`
|
|
22
22
|
- **Animation state events** (start, end, complete, event, interrupt, dispose)
|
|
23
|
-
- **Skeleton introspection** — `findBone()`, `findSlot()`, `getAnimationNames()`, `getSkinNames()`
|
|
23
|
+
- **Skeleton introspection** — `findBone()`, `findSlot()`, `findConstraint()`, `getAnimationNames()`, `getSkinNames()`
|
|
24
|
+
- **Spine 4.3 Slider constraints** — full runtime support; all constraint classes (`Slider`/`SliderData`/`SliderTimeline`/`SliderMixTimeline`, plus `IkConstraint`, `TransformConstraint`, `PathConstraint`, `PhysicsConstraint`) re-exported for one-import `instanceof` narrowing of `findConstraint()` results
|
|
24
25
|
- **Animation queuing** — `setAnimation()`, `addAnimation()`, `setEmptyAnimation()`
|
|
25
26
|
- **Debug rendering** for bones, regions, meshes, and clipping areas
|
|
26
27
|
- **Auto-detection** of mesh attachments for optimized canvas rendering (fast path for region-only skeletons)
|
|
@@ -109,9 +110,38 @@ me.loader.preload(DataManifest, function() {
|
|
|
109
110
|
|---|---|
|
|
110
111
|
| `findBone(boneName)` | Find a bone by name |
|
|
111
112
|
| `findSlot(slotName)` | Find a slot by name |
|
|
113
|
+
| `findConstraint(constraintName)` | Find a constraint by name (IK / Transform / Path / Physics / **Slider**) — added in 3.1.0 |
|
|
114
|
+
| `getConstraintNames()` | Get the list of constraint names available in the skeleton — added in 3.1.0 |
|
|
112
115
|
| `setToSetupPose()` | Reset skeleton to setup pose |
|
|
113
116
|
| `setSkeleton(atlasFile, jsonFile)` | Load a skeleton (if not set via constructor) |
|
|
114
117
|
|
|
118
|
+
### Spine 4.3 Slider constraints
|
|
119
|
+
|
|
120
|
+
Spine 4.3 introduced [Slider constraints](https://esotericsoftware.com/blog/Spine-4.3-released#slider-constraints) — a pre-baked animation indexed by a numeric `time` value, optionally driven by a bone's rotation. The plugin re-exports the Spine runtime's Slider classes (and the four pre-existing constraint classes) alongside the default `Spine` export so consumers can do `instanceof Slider` (or `instanceof IkConstraint`, etc.) without a second import from `@esotericsoftware/spine-core`:
|
|
121
|
+
|
|
122
|
+
```javascript
|
|
123
|
+
import Spine, {
|
|
124
|
+
// 4.3 Slider classes
|
|
125
|
+
Slider, SliderData, SliderTimeline, SliderMixTimeline,
|
|
126
|
+
// other constraint classes — for narrowing findConstraint() results
|
|
127
|
+
IkConstraint, TransformConstraint, PathConstraint, PhysicsConstraint,
|
|
128
|
+
} from "@melonjs/spine-plugin";
|
|
129
|
+
|
|
130
|
+
const diamond = new Spine(750, 600, { atlasFile: "diamond-pma.atlas", jsonFile: "diamond-pro.json" });
|
|
131
|
+
diamond.setAnimation(0, "idle-rotating", true);
|
|
132
|
+
|
|
133
|
+
// query the "rotation" Slider constraint
|
|
134
|
+
const slider = diamond.findConstraint("rotation");
|
|
135
|
+
if (slider instanceof Slider) {
|
|
136
|
+
// scrub a slider manually (disable bone auto-driving first)
|
|
137
|
+
slider.bone = null;
|
|
138
|
+
slider.pose.time = 1.0; // jump to t=1s in the slider's animation
|
|
139
|
+
slider.pose.mix = 1.0; // 0..1 — how much of the slider pose to apply
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
See the [diamond example](https://melonjs.github.io/melonJS/examples/#/spine) for an interactive demo.
|
|
144
|
+
|
|
115
145
|
### Transform
|
|
116
146
|
| Method | Description |
|
|
117
147
|
|---|---|
|
|
@@ -125,12 +155,12 @@ me.loader.preload(DataManifest, function() {
|
|
|
125
155
|
|
|
126
156
|
| @melonjs/spine-plugin | melonJS | spine-runtime |
|
|
127
157
|
|---|---|---|
|
|
128
|
-
| v3.
|
|
129
|
-
| v2.2.
|
|
130
|
-
| v2.1.
|
|
131
|
-
| v2.0.
|
|
132
|
-
| v2.0.0 | v18.2.0 | v4.2.x |
|
|
133
|
-
| v1.5.x | v15.12.
|
|
158
|
+
| v3.x.x | v19.7.1 (or higher) | v4.3.x |
|
|
159
|
+
| v2.2.x | v18.3.0 (or higher) | v4.2.x |
|
|
160
|
+
| v2.1.x | v18.3.0 (or higher) | v4.2.x |
|
|
161
|
+
| v2.0.x | v18.2.1 (or higher) | v4.2.x |
|
|
162
|
+
| v2.0.0 | v18.2.0 (or higher) | v4.2.x |
|
|
163
|
+
| v1.5.x | v15.12.0 (or higher)| v4.1, v4.2-beta |
|
|
134
164
|
|
|
135
165
|
> **Note:** skeleton data is editor-version locked — plugin 3.x requires assets exported from a Spine **4.3** editor; 4.2 exports will not load (and vice-versa on plugin 2.x).
|
|
136
166
|
|
package/build/Spine.d.ts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Union of the five concrete constraint classes Spine 4.3 exposes via
|
|
3
|
+
* `skeleton.constraints` — returned by {@link Spine.findConstraint}.
|
|
4
|
+
* Narrow with `instanceof` against the corresponding re-export
|
|
5
|
+
* (`Slider`, `IkConstraint`, etc. from this plugin or
|
|
6
|
+
* `@esotericsoftware/spine-core`).
|
|
7
|
+
* @typedef {import("@esotericsoftware/spine-core").Slider
|
|
8
|
+
* | import("@esotericsoftware/spine-core").IkConstraint
|
|
9
|
+
* | import("@esotericsoftware/spine-core").TransformConstraint
|
|
10
|
+
* | import("@esotericsoftware/spine-core").PathConstraint
|
|
11
|
+
* | import("@esotericsoftware/spine-core").PhysicsConstraint
|
|
12
|
+
* } SpineConstraint
|
|
13
|
+
*/
|
|
1
14
|
/**
|
|
2
15
|
* @classdesc
|
|
3
16
|
* A renderable object to render Spine animated skeleton.
|
|
@@ -262,6 +275,29 @@ export default class Spine extends Renderable {
|
|
|
262
275
|
* @returns {Slot|null} the slot, or null if not found
|
|
263
276
|
*/
|
|
264
277
|
findSlot(slotName: string): Slot | null;
|
|
278
|
+
/**
|
|
279
|
+
* Find a constraint (Slider, IK, transform, path, or physics) by name.
|
|
280
|
+
* Convenience wrapper around the 4.3 unified constraints list — like
|
|
281
|
+
* {@link findBone}/{@link findSlot} but for any constraint type.
|
|
282
|
+
*
|
|
283
|
+
* Returns the constraint instance whose `data.name` matches; use
|
|
284
|
+
* `instanceof Slider` (etc., re-exported by this plugin) to narrow
|
|
285
|
+
* the type if you need the constraint's specific pose API.
|
|
286
|
+
* @param {string} constraintName - the constraint name
|
|
287
|
+
* @returns {SpineConstraint|null} the constraint, or null if not found
|
|
288
|
+
* @example
|
|
289
|
+
* // drive a Slider constraint manually (4.3+)
|
|
290
|
+
* const rot = spine.findConstraint("rotation");
|
|
291
|
+
* rot.pose.time = 1.5; // animation seconds; loops if `loop: true`
|
|
292
|
+
* rot.pose.mix = 1.0; // 0..1+ — blend toward the constrained pose
|
|
293
|
+
*/
|
|
294
|
+
findConstraint(constraintName: string): SpineConstraint | null;
|
|
295
|
+
/**
|
|
296
|
+
* Get the list of constraint names available in this skeleton
|
|
297
|
+
* (Slider, IK, transform, path, physics — 4.3 unified list).
|
|
298
|
+
* @returns {string[]} array of constraint names
|
|
299
|
+
*/
|
|
300
|
+
getConstraintNames(): string[];
|
|
265
301
|
/**
|
|
266
302
|
* Register a listener for animation state events.
|
|
267
303
|
* @param {object} listener - an object with event handler methods
|
|
@@ -309,6 +345,14 @@ export default class Spine extends Renderable {
|
|
|
309
345
|
*/
|
|
310
346
|
setToSetupPose(): void;
|
|
311
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Union of the five concrete constraint classes Spine 4.3 exposes via
|
|
350
|
+
* `skeleton.constraints` — returned by {@link Spine.findConstraint}.
|
|
351
|
+
* Narrow with `instanceof` against the corresponding re-export
|
|
352
|
+
* (`Slider`, `IkConstraint`, etc. from this plugin or
|
|
353
|
+
* `@esotericsoftware/spine-core`).
|
|
354
|
+
*/
|
|
355
|
+
export type SpineConstraint = import("@esotericsoftware/spine-core").Slider | import("@esotericsoftware/spine-core").IkConstraint | import("@esotericsoftware/spine-core").TransformConstraint | import("@esotericsoftware/spine-core").PathConstraint | import("@esotericsoftware/spine-core").PhysicsConstraint;
|
|
312
356
|
import { Renderable } from "melonjs";
|
|
313
357
|
import * as spineWebGL from "@esotericsoftware/spine-webgl";
|
|
314
358
|
import * as spineCanvas from "@esotericsoftware/spine-canvas";
|
package/build/Spine.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spine.d.ts","sourceRoot":"","sources":["../src/Spine.js"],"names":[],"mappings":"AAuBA;;;;GAIG;AACH;IAkCC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,eApCW,MAAM,KACN,MAAM,YAEd;QAA0B,SAAS;QACT,QAAQ;QACR,OAAO;KACjC,EA6FF;IArID,gDAAQ;IACR,cAAS;IACT,0BAAO;IACP,oBAAe;IACf,iEAAiB;IACjB,UAAK;IACL,gCAAW;IACX,8BAAS;IACT;;;MAGE;IAEF;;;;;;;;;;;;;;;;;OAiBG;IACH,cAhBU,UAAU,CAgBP;IAmDZ,cAAc;IACd,iBAAyC;IAWxC,kBAAkD;IASlD,4CAA6D;IAC7D,6CAAuD;IACvD,oEAEC;IAmBF,gBAAsC;IAGrC,6BAAiC;IACjC,8BAAmC;IAcrC,0BANU,OAAO,EAQhB;IAXD;;;;OAIG;IACH,sBAFU,OAAO,CAIhB;IAMD;;;;;;;;;;;;;;;;;OAiBG;IACH,uBAfW,MAAM,YACN,MAAM,
|
|
1
|
+
{"version":3,"file":"Spine.d.ts","sourceRoot":"","sources":["../src/Spine.js"],"names":[],"mappings":"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"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { SpinePlugin } from "./SpinePlugin.js";
|
|
2
|
+
export { IkConstraint, PathConstraint, PhysicsConstraint, Slider, SliderData, SliderMixTimeline, SliderTimeline, TransformConstraint } from "@esotericsoftware/spine-core";
|
|
2
3
|
export { default, default as Spine } from "./Spine.js";
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* melonJS Spine plugin - 3.
|
|
2
|
+
* melonJS Spine plugin - 3.1.0
|
|
3
3
|
* http://www.melonjs.org
|
|
4
4
|
* @melonjs/spine-plugin is licensed under the MIT License.
|
|
5
5
|
* http://www.opensource.org/licenses/mit-license
|
|
@@ -11,175 +11,6 @@ var __export = (target, all) => {
|
|
|
11
11
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.3.7/node_modules/@esotericsoftware/spine-canvas/dist/index.js
|
|
15
|
-
var dist_exports = {};
|
|
16
|
-
__export(dist_exports, {
|
|
17
|
-
ATTACH_RETAIN: () => ATTACH_RETAIN,
|
|
18
|
-
ATTACH_SETUP: () => ATTACH_SETUP,
|
|
19
|
-
AlphaTimeline: () => AlphaTimeline,
|
|
20
|
-
Animation: () => Animation,
|
|
21
|
-
AnimationState: () => AnimationState,
|
|
22
|
-
AnimationStateAdapter: () => AnimationStateAdapter,
|
|
23
|
-
AnimationStateData: () => AnimationStateData,
|
|
24
|
-
AssetCache: () => AssetCache,
|
|
25
|
-
AssetManager: () => AssetManager,
|
|
26
|
-
AssetManagerBase: () => AssetManagerBase,
|
|
27
|
-
AtlasAttachmentLoader: () => AtlasAttachmentLoader,
|
|
28
|
-
Attachment: () => Attachment,
|
|
29
|
-
AttachmentTimeline: () => AttachmentTimeline,
|
|
30
|
-
BinaryInput: () => BinaryInput,
|
|
31
|
-
BlendMode: () => BlendMode,
|
|
32
|
-
Bone: () => Bone,
|
|
33
|
-
BoneData: () => BoneData,
|
|
34
|
-
BonePose: () => BonePose,
|
|
35
|
-
BoneTimeline1: () => BoneTimeline1,
|
|
36
|
-
BoneTimeline2: () => BoneTimeline2,
|
|
37
|
-
BoundingBoxAttachment: () => BoundingBoxAttachment,
|
|
38
|
-
CURRENT: () => CURRENT,
|
|
39
|
-
CanvasTexture: () => CanvasTexture,
|
|
40
|
-
ClippingAttachment: () => ClippingAttachment,
|
|
41
|
-
Color: () => Color,
|
|
42
|
-
Constraint: () => Constraint,
|
|
43
|
-
ConstraintData: () => ConstraintData,
|
|
44
|
-
ConstraintTimeline1: () => ConstraintTimeline1,
|
|
45
|
-
CurveTimeline: () => CurveTimeline,
|
|
46
|
-
CurveTimeline1: () => CurveTimeline1,
|
|
47
|
-
DebugUtils: () => DebugUtils,
|
|
48
|
-
DeformTimeline: () => DeformTimeline,
|
|
49
|
-
Downloader: () => Downloader,
|
|
50
|
-
DrawOrder: () => DrawOrder,
|
|
51
|
-
DrawOrderFolderTimeline: () => DrawOrderFolderTimeline,
|
|
52
|
-
DrawOrderTimeline: () => DrawOrderTimeline,
|
|
53
|
-
Event: () => Event,
|
|
54
|
-
EventData: () => EventData,
|
|
55
|
-
EventQueue: () => EventQueue,
|
|
56
|
-
EventTimeline: () => EventTimeline,
|
|
57
|
-
EventType: () => EventType,
|
|
58
|
-
FIRST: () => FIRST,
|
|
59
|
-
FakeTexture: () => FakeTexture,
|
|
60
|
-
FromProperty: () => FromProperty,
|
|
61
|
-
FromRotate: () => FromRotate,
|
|
62
|
-
FromScaleX: () => FromScaleX,
|
|
63
|
-
FromScaleY: () => FromScaleY,
|
|
64
|
-
FromShearY: () => FromShearY,
|
|
65
|
-
FromX: () => FromX,
|
|
66
|
-
FromY: () => FromY,
|
|
67
|
-
HOLD: () => HOLD,
|
|
68
|
-
IkConstraint: () => IkConstraint,
|
|
69
|
-
IkConstraintData: () => IkConstraintData,
|
|
70
|
-
IkConstraintPose: () => IkConstraintPose,
|
|
71
|
-
IkConstraintTimeline: () => IkConstraintTimeline,
|
|
72
|
-
Inherit: () => Inherit,
|
|
73
|
-
InheritTimeline: () => InheritTimeline,
|
|
74
|
-
IntSet: () => IntSet,
|
|
75
|
-
Interpolation: () => Interpolation,
|
|
76
|
-
MODE: () => MODE,
|
|
77
|
-
MathUtils: () => MathUtils,
|
|
78
|
-
MeshAttachment: () => MeshAttachment,
|
|
79
|
-
MixFrom: () => MixFrom,
|
|
80
|
-
PathAttachment: () => PathAttachment,
|
|
81
|
-
PathConstraint: () => PathConstraint,
|
|
82
|
-
PathConstraintData: () => PathConstraintData,
|
|
83
|
-
PathConstraintMixTimeline: () => PathConstraintMixTimeline,
|
|
84
|
-
PathConstraintPose: () => PathConstraintPose,
|
|
85
|
-
PathConstraintPositionTimeline: () => PathConstraintPositionTimeline,
|
|
86
|
-
PathConstraintSpacingTimeline: () => PathConstraintSpacingTimeline,
|
|
87
|
-
Physics: () => Physics,
|
|
88
|
-
PhysicsConstraint: () => PhysicsConstraint,
|
|
89
|
-
PhysicsConstraintDampingTimeline: () => PhysicsConstraintDampingTimeline,
|
|
90
|
-
PhysicsConstraintData: () => PhysicsConstraintData,
|
|
91
|
-
PhysicsConstraintGravityTimeline: () => PhysicsConstraintGravityTimeline,
|
|
92
|
-
PhysicsConstraintInertiaTimeline: () => PhysicsConstraintInertiaTimeline,
|
|
93
|
-
PhysicsConstraintMassTimeline: () => PhysicsConstraintMassTimeline,
|
|
94
|
-
PhysicsConstraintMixTimeline: () => PhysicsConstraintMixTimeline,
|
|
95
|
-
PhysicsConstraintPose: () => PhysicsConstraintPose,
|
|
96
|
-
PhysicsConstraintResetTimeline: () => PhysicsConstraintResetTimeline,
|
|
97
|
-
PhysicsConstraintStrengthTimeline: () => PhysicsConstraintStrengthTimeline,
|
|
98
|
-
PhysicsConstraintTimeline: () => PhysicsConstraintTimeline,
|
|
99
|
-
PhysicsConstraintWindTimeline: () => PhysicsConstraintWindTimeline,
|
|
100
|
-
PointAttachment: () => PointAttachment,
|
|
101
|
-
Pool: () => Pool,
|
|
102
|
-
Posed: () => Posed,
|
|
103
|
-
PosedActive: () => PosedActive,
|
|
104
|
-
PosedData: () => PosedData,
|
|
105
|
-
PositionMode: () => PositionMode,
|
|
106
|
-
Pow: () => Pow,
|
|
107
|
-
PowOut: () => PowOut,
|
|
108
|
-
Property: () => Property,
|
|
109
|
-
RGB2Timeline: () => RGB2Timeline,
|
|
110
|
-
RGBA2Timeline: () => RGBA2Timeline,
|
|
111
|
-
RGBATimeline: () => RGBATimeline,
|
|
112
|
-
RGBTimeline: () => RGBTimeline,
|
|
113
|
-
RegionAttachment: () => RegionAttachment,
|
|
114
|
-
RotateMode: () => RotateMode,
|
|
115
|
-
RotateTimeline: () => RotateTimeline,
|
|
116
|
-
SETUP: () => SETUP,
|
|
117
|
-
ScaleTimeline: () => ScaleTimeline,
|
|
118
|
-
ScaleXTimeline: () => ScaleXTimeline,
|
|
119
|
-
ScaleYMode: () => ScaleYMode,
|
|
120
|
-
ScaleYTimeline: () => ScaleYTimeline,
|
|
121
|
-
Sequence: () => Sequence,
|
|
122
|
-
SequenceMode: () => SequenceMode,
|
|
123
|
-
SequenceModeValues: () => SequenceModeValues,
|
|
124
|
-
SequenceTimeline: () => SequenceTimeline,
|
|
125
|
-
ShearTimeline: () => ShearTimeline,
|
|
126
|
-
ShearXTimeline: () => ShearXTimeline,
|
|
127
|
-
ShearYTimeline: () => ShearYTimeline,
|
|
128
|
-
Skeleton: () => Skeleton,
|
|
129
|
-
SkeletonBinary: () => SkeletonBinary,
|
|
130
|
-
SkeletonBounds: () => SkeletonBounds,
|
|
131
|
-
SkeletonClipping: () => SkeletonClipping,
|
|
132
|
-
SkeletonData: () => SkeletonData,
|
|
133
|
-
SkeletonJson: () => SkeletonJson,
|
|
134
|
-
SkeletonRenderer: () => SkeletonRenderer,
|
|
135
|
-
SkeletonRendererCore: () => SkeletonRendererCore,
|
|
136
|
-
Skin: () => Skin,
|
|
137
|
-
SkinEntry: () => SkinEntry,
|
|
138
|
-
Slider: () => Slider,
|
|
139
|
-
SliderData: () => SliderData,
|
|
140
|
-
SliderMixTimeline: () => SliderMixTimeline,
|
|
141
|
-
SliderPose: () => SliderPose,
|
|
142
|
-
SliderTimeline: () => SliderTimeline,
|
|
143
|
-
Slot: () => Slot,
|
|
144
|
-
SlotCurveTimeline: () => SlotCurveTimeline,
|
|
145
|
-
SlotData: () => SlotData,
|
|
146
|
-
SlotPose: () => SlotPose,
|
|
147
|
-
SpacingMode: () => SpacingMode,
|
|
148
|
-
StringSet: () => StringSet,
|
|
149
|
-
Texture: () => Texture,
|
|
150
|
-
TextureAtlas: () => TextureAtlas,
|
|
151
|
-
TextureAtlasPage: () => TextureAtlasPage,
|
|
152
|
-
TextureAtlasRegion: () => TextureAtlasRegion,
|
|
153
|
-
TextureFilter: () => TextureFilter,
|
|
154
|
-
TextureRegion: () => TextureRegion,
|
|
155
|
-
TextureWrap: () => TextureWrap,
|
|
156
|
-
TimeKeeper: () => TimeKeeper,
|
|
157
|
-
Timeline: () => Timeline,
|
|
158
|
-
ToProperty: () => ToProperty,
|
|
159
|
-
ToRotate: () => ToRotate,
|
|
160
|
-
ToScaleX: () => ToScaleX,
|
|
161
|
-
ToScaleY: () => ToScaleY,
|
|
162
|
-
ToShearY: () => ToShearY,
|
|
163
|
-
ToX: () => ToX,
|
|
164
|
-
ToY: () => ToY,
|
|
165
|
-
TrackEntry: () => TrackEntry,
|
|
166
|
-
TransformConstraint: () => TransformConstraint,
|
|
167
|
-
TransformConstraintData: () => TransformConstraintData,
|
|
168
|
-
TransformConstraintPose: () => TransformConstraintPose,
|
|
169
|
-
TransformConstraintTimeline: () => TransformConstraintTimeline,
|
|
170
|
-
TranslateTimeline: () => TranslateTimeline,
|
|
171
|
-
TranslateXTimeline: () => TranslateXTimeline,
|
|
172
|
-
TranslateYTimeline: () => TranslateYTimeline,
|
|
173
|
-
Triangulator: () => Triangulator,
|
|
174
|
-
Utils: () => Utils,
|
|
175
|
-
Vector2: () => Vector2,
|
|
176
|
-
VertexAttachment: () => VertexAttachment,
|
|
177
|
-
WindowedMean: () => WindowedMean,
|
|
178
|
-
isBoneTimeline: () => isBoneTimeline,
|
|
179
|
-
isConstraintTimeline: () => isConstraintTimeline,
|
|
180
|
-
isSlotTimeline: () => isSlotTimeline
|
|
181
|
-
});
|
|
182
|
-
|
|
183
14
|
// ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.3.7/node_modules/@esotericsoftware/spine-core/dist/Utils.js
|
|
184
15
|
var IntSet = class {
|
|
185
16
|
array = [];
|
|
@@ -13681,6 +13512,175 @@ var CommandPool = class {
|
|
|
13681
13512
|
}
|
|
13682
13513
|
};
|
|
13683
13514
|
|
|
13515
|
+
// ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.3.7/node_modules/@esotericsoftware/spine-canvas/dist/index.js
|
|
13516
|
+
var dist_exports = {};
|
|
13517
|
+
__export(dist_exports, {
|
|
13518
|
+
ATTACH_RETAIN: () => ATTACH_RETAIN,
|
|
13519
|
+
ATTACH_SETUP: () => ATTACH_SETUP,
|
|
13520
|
+
AlphaTimeline: () => AlphaTimeline,
|
|
13521
|
+
Animation: () => Animation,
|
|
13522
|
+
AnimationState: () => AnimationState,
|
|
13523
|
+
AnimationStateAdapter: () => AnimationStateAdapter,
|
|
13524
|
+
AnimationStateData: () => AnimationStateData,
|
|
13525
|
+
AssetCache: () => AssetCache,
|
|
13526
|
+
AssetManager: () => AssetManager,
|
|
13527
|
+
AssetManagerBase: () => AssetManagerBase,
|
|
13528
|
+
AtlasAttachmentLoader: () => AtlasAttachmentLoader,
|
|
13529
|
+
Attachment: () => Attachment,
|
|
13530
|
+
AttachmentTimeline: () => AttachmentTimeline,
|
|
13531
|
+
BinaryInput: () => BinaryInput,
|
|
13532
|
+
BlendMode: () => BlendMode,
|
|
13533
|
+
Bone: () => Bone,
|
|
13534
|
+
BoneData: () => BoneData,
|
|
13535
|
+
BonePose: () => BonePose,
|
|
13536
|
+
BoneTimeline1: () => BoneTimeline1,
|
|
13537
|
+
BoneTimeline2: () => BoneTimeline2,
|
|
13538
|
+
BoundingBoxAttachment: () => BoundingBoxAttachment,
|
|
13539
|
+
CURRENT: () => CURRENT,
|
|
13540
|
+
CanvasTexture: () => CanvasTexture,
|
|
13541
|
+
ClippingAttachment: () => ClippingAttachment,
|
|
13542
|
+
Color: () => Color,
|
|
13543
|
+
Constraint: () => Constraint,
|
|
13544
|
+
ConstraintData: () => ConstraintData,
|
|
13545
|
+
ConstraintTimeline1: () => ConstraintTimeline1,
|
|
13546
|
+
CurveTimeline: () => CurveTimeline,
|
|
13547
|
+
CurveTimeline1: () => CurveTimeline1,
|
|
13548
|
+
DebugUtils: () => DebugUtils,
|
|
13549
|
+
DeformTimeline: () => DeformTimeline,
|
|
13550
|
+
Downloader: () => Downloader,
|
|
13551
|
+
DrawOrder: () => DrawOrder,
|
|
13552
|
+
DrawOrderFolderTimeline: () => DrawOrderFolderTimeline,
|
|
13553
|
+
DrawOrderTimeline: () => DrawOrderTimeline,
|
|
13554
|
+
Event: () => Event,
|
|
13555
|
+
EventData: () => EventData,
|
|
13556
|
+
EventQueue: () => EventQueue,
|
|
13557
|
+
EventTimeline: () => EventTimeline,
|
|
13558
|
+
EventType: () => EventType,
|
|
13559
|
+
FIRST: () => FIRST,
|
|
13560
|
+
FakeTexture: () => FakeTexture,
|
|
13561
|
+
FromProperty: () => FromProperty,
|
|
13562
|
+
FromRotate: () => FromRotate,
|
|
13563
|
+
FromScaleX: () => FromScaleX,
|
|
13564
|
+
FromScaleY: () => FromScaleY,
|
|
13565
|
+
FromShearY: () => FromShearY,
|
|
13566
|
+
FromX: () => FromX,
|
|
13567
|
+
FromY: () => FromY,
|
|
13568
|
+
HOLD: () => HOLD,
|
|
13569
|
+
IkConstraint: () => IkConstraint,
|
|
13570
|
+
IkConstraintData: () => IkConstraintData,
|
|
13571
|
+
IkConstraintPose: () => IkConstraintPose,
|
|
13572
|
+
IkConstraintTimeline: () => IkConstraintTimeline,
|
|
13573
|
+
Inherit: () => Inherit,
|
|
13574
|
+
InheritTimeline: () => InheritTimeline,
|
|
13575
|
+
IntSet: () => IntSet,
|
|
13576
|
+
Interpolation: () => Interpolation,
|
|
13577
|
+
MODE: () => MODE,
|
|
13578
|
+
MathUtils: () => MathUtils,
|
|
13579
|
+
MeshAttachment: () => MeshAttachment,
|
|
13580
|
+
MixFrom: () => MixFrom,
|
|
13581
|
+
PathAttachment: () => PathAttachment,
|
|
13582
|
+
PathConstraint: () => PathConstraint,
|
|
13583
|
+
PathConstraintData: () => PathConstraintData,
|
|
13584
|
+
PathConstraintMixTimeline: () => PathConstraintMixTimeline,
|
|
13585
|
+
PathConstraintPose: () => PathConstraintPose,
|
|
13586
|
+
PathConstraintPositionTimeline: () => PathConstraintPositionTimeline,
|
|
13587
|
+
PathConstraintSpacingTimeline: () => PathConstraintSpacingTimeline,
|
|
13588
|
+
Physics: () => Physics,
|
|
13589
|
+
PhysicsConstraint: () => PhysicsConstraint,
|
|
13590
|
+
PhysicsConstraintDampingTimeline: () => PhysicsConstraintDampingTimeline,
|
|
13591
|
+
PhysicsConstraintData: () => PhysicsConstraintData,
|
|
13592
|
+
PhysicsConstraintGravityTimeline: () => PhysicsConstraintGravityTimeline,
|
|
13593
|
+
PhysicsConstraintInertiaTimeline: () => PhysicsConstraintInertiaTimeline,
|
|
13594
|
+
PhysicsConstraintMassTimeline: () => PhysicsConstraintMassTimeline,
|
|
13595
|
+
PhysicsConstraintMixTimeline: () => PhysicsConstraintMixTimeline,
|
|
13596
|
+
PhysicsConstraintPose: () => PhysicsConstraintPose,
|
|
13597
|
+
PhysicsConstraintResetTimeline: () => PhysicsConstraintResetTimeline,
|
|
13598
|
+
PhysicsConstraintStrengthTimeline: () => PhysicsConstraintStrengthTimeline,
|
|
13599
|
+
PhysicsConstraintTimeline: () => PhysicsConstraintTimeline,
|
|
13600
|
+
PhysicsConstraintWindTimeline: () => PhysicsConstraintWindTimeline,
|
|
13601
|
+
PointAttachment: () => PointAttachment,
|
|
13602
|
+
Pool: () => Pool,
|
|
13603
|
+
Posed: () => Posed,
|
|
13604
|
+
PosedActive: () => PosedActive,
|
|
13605
|
+
PosedData: () => PosedData,
|
|
13606
|
+
PositionMode: () => PositionMode,
|
|
13607
|
+
Pow: () => Pow,
|
|
13608
|
+
PowOut: () => PowOut,
|
|
13609
|
+
Property: () => Property,
|
|
13610
|
+
RGB2Timeline: () => RGB2Timeline,
|
|
13611
|
+
RGBA2Timeline: () => RGBA2Timeline,
|
|
13612
|
+
RGBATimeline: () => RGBATimeline,
|
|
13613
|
+
RGBTimeline: () => RGBTimeline,
|
|
13614
|
+
RegionAttachment: () => RegionAttachment,
|
|
13615
|
+
RotateMode: () => RotateMode,
|
|
13616
|
+
RotateTimeline: () => RotateTimeline,
|
|
13617
|
+
SETUP: () => SETUP,
|
|
13618
|
+
ScaleTimeline: () => ScaleTimeline,
|
|
13619
|
+
ScaleXTimeline: () => ScaleXTimeline,
|
|
13620
|
+
ScaleYMode: () => ScaleYMode,
|
|
13621
|
+
ScaleYTimeline: () => ScaleYTimeline,
|
|
13622
|
+
Sequence: () => Sequence,
|
|
13623
|
+
SequenceMode: () => SequenceMode,
|
|
13624
|
+
SequenceModeValues: () => SequenceModeValues,
|
|
13625
|
+
SequenceTimeline: () => SequenceTimeline,
|
|
13626
|
+
ShearTimeline: () => ShearTimeline,
|
|
13627
|
+
ShearXTimeline: () => ShearXTimeline,
|
|
13628
|
+
ShearYTimeline: () => ShearYTimeline,
|
|
13629
|
+
Skeleton: () => Skeleton,
|
|
13630
|
+
SkeletonBinary: () => SkeletonBinary,
|
|
13631
|
+
SkeletonBounds: () => SkeletonBounds,
|
|
13632
|
+
SkeletonClipping: () => SkeletonClipping,
|
|
13633
|
+
SkeletonData: () => SkeletonData,
|
|
13634
|
+
SkeletonJson: () => SkeletonJson,
|
|
13635
|
+
SkeletonRenderer: () => SkeletonRenderer,
|
|
13636
|
+
SkeletonRendererCore: () => SkeletonRendererCore,
|
|
13637
|
+
Skin: () => Skin,
|
|
13638
|
+
SkinEntry: () => SkinEntry,
|
|
13639
|
+
Slider: () => Slider,
|
|
13640
|
+
SliderData: () => SliderData,
|
|
13641
|
+
SliderMixTimeline: () => SliderMixTimeline,
|
|
13642
|
+
SliderPose: () => SliderPose,
|
|
13643
|
+
SliderTimeline: () => SliderTimeline,
|
|
13644
|
+
Slot: () => Slot,
|
|
13645
|
+
SlotCurveTimeline: () => SlotCurveTimeline,
|
|
13646
|
+
SlotData: () => SlotData,
|
|
13647
|
+
SlotPose: () => SlotPose,
|
|
13648
|
+
SpacingMode: () => SpacingMode,
|
|
13649
|
+
StringSet: () => StringSet,
|
|
13650
|
+
Texture: () => Texture,
|
|
13651
|
+
TextureAtlas: () => TextureAtlas,
|
|
13652
|
+
TextureAtlasPage: () => TextureAtlasPage,
|
|
13653
|
+
TextureAtlasRegion: () => TextureAtlasRegion,
|
|
13654
|
+
TextureFilter: () => TextureFilter,
|
|
13655
|
+
TextureRegion: () => TextureRegion,
|
|
13656
|
+
TextureWrap: () => TextureWrap,
|
|
13657
|
+
TimeKeeper: () => TimeKeeper,
|
|
13658
|
+
Timeline: () => Timeline,
|
|
13659
|
+
ToProperty: () => ToProperty,
|
|
13660
|
+
ToRotate: () => ToRotate,
|
|
13661
|
+
ToScaleX: () => ToScaleX,
|
|
13662
|
+
ToScaleY: () => ToScaleY,
|
|
13663
|
+
ToShearY: () => ToShearY,
|
|
13664
|
+
ToX: () => ToX,
|
|
13665
|
+
ToY: () => ToY,
|
|
13666
|
+
TrackEntry: () => TrackEntry,
|
|
13667
|
+
TransformConstraint: () => TransformConstraint,
|
|
13668
|
+
TransformConstraintData: () => TransformConstraintData,
|
|
13669
|
+
TransformConstraintPose: () => TransformConstraintPose,
|
|
13670
|
+
TransformConstraintTimeline: () => TransformConstraintTimeline,
|
|
13671
|
+
TranslateTimeline: () => TranslateTimeline,
|
|
13672
|
+
TranslateXTimeline: () => TranslateXTimeline,
|
|
13673
|
+
TranslateYTimeline: () => TranslateYTimeline,
|
|
13674
|
+
Triangulator: () => Triangulator,
|
|
13675
|
+
Utils: () => Utils,
|
|
13676
|
+
Vector2: () => Vector2,
|
|
13677
|
+
VertexAttachment: () => VertexAttachment,
|
|
13678
|
+
WindowedMean: () => WindowedMean,
|
|
13679
|
+
isBoneTimeline: () => isBoneTimeline,
|
|
13680
|
+
isConstraintTimeline: () => isConstraintTimeline,
|
|
13681
|
+
isSlotTimeline: () => isSlotTimeline
|
|
13682
|
+
});
|
|
13683
|
+
|
|
13684
13684
|
// ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.3.7/node_modules/@esotericsoftware/spine-canvas/dist/CanvasTexture.js
|
|
13685
13685
|
var CanvasTexture = class extends Texture {
|
|
13686
13686
|
constructor(image) {
|
|
@@ -17312,7 +17312,7 @@ import { plugin, registerTiledObjectClass } from "melonjs";
|
|
|
17312
17312
|
|
|
17313
17313
|
// package.json
|
|
17314
17314
|
var name = "@melonjs/spine-plugin";
|
|
17315
|
-
var version = "3.
|
|
17315
|
+
var version = "3.1.0";
|
|
17316
17316
|
var homepage = "https://www.npmjs.com/package/@melonjs/spine-plugin";
|
|
17317
17317
|
var peerDependencies = {
|
|
17318
17318
|
melonjs: ">=19.7.1"
|
|
@@ -17608,8 +17608,9 @@ var Spine = class extends Renderable2 {
|
|
|
17608
17608
|
setSkeleton(atlasFile, jsonFile) {
|
|
17609
17609
|
const atlas = this.plugin.assetManager.require(atlasFile);
|
|
17610
17610
|
const atlasLoader = new this.runtime.AtlasAttachmentLoader(atlas);
|
|
17611
|
-
const
|
|
17612
|
-
const
|
|
17611
|
+
const isBinary = jsonFile.endsWith(".skel");
|
|
17612
|
+
const skeletonReader = isBinary ? new this.runtime.SkeletonBinary(atlasLoader) : new this.runtime.SkeletonJson(atlasLoader);
|
|
17613
|
+
const skeletonData = skeletonReader.readSkeletonData(
|
|
17613
17614
|
this.plugin.assetManager.require(jsonFile)
|
|
17614
17615
|
);
|
|
17615
17616
|
this.premultipliedAlpha = atlas.pages.some((page) => {
|
|
@@ -17958,6 +17959,41 @@ var Spine = class extends Renderable2 {
|
|
|
17958
17959
|
findSlot(slotName) {
|
|
17959
17960
|
return this.skeleton.findSlot(slotName);
|
|
17960
17961
|
}
|
|
17962
|
+
/**
|
|
17963
|
+
* Find a constraint (Slider, IK, transform, path, or physics) by name.
|
|
17964
|
+
* Convenience wrapper around the 4.3 unified constraints list — like
|
|
17965
|
+
* {@link findBone}/{@link findSlot} but for any constraint type.
|
|
17966
|
+
*
|
|
17967
|
+
* Returns the constraint instance whose `data.name` matches; use
|
|
17968
|
+
* `instanceof Slider` (etc., re-exported by this plugin) to narrow
|
|
17969
|
+
* the type if you need the constraint's specific pose API.
|
|
17970
|
+
* @param {string} constraintName - the constraint name
|
|
17971
|
+
* @returns {SpineConstraint|null} the constraint, or null if not found
|
|
17972
|
+
* @example
|
|
17973
|
+
* // drive a Slider constraint manually (4.3+)
|
|
17974
|
+
* const rot = spine.findConstraint("rotation");
|
|
17975
|
+
* rot.pose.time = 1.5; // animation seconds; loops if `loop: true`
|
|
17976
|
+
* rot.pose.mix = 1.0; // 0..1+ — blend toward the constrained pose
|
|
17977
|
+
*/
|
|
17978
|
+
findConstraint(constraintName) {
|
|
17979
|
+
const constraints = this.skeleton.constraints;
|
|
17980
|
+
for (let i = 0, n = constraints.length; i < n; i++) {
|
|
17981
|
+
if (constraints[i].data.name === constraintName) {
|
|
17982
|
+
return constraints[i];
|
|
17983
|
+
}
|
|
17984
|
+
}
|
|
17985
|
+
return null;
|
|
17986
|
+
}
|
|
17987
|
+
/**
|
|
17988
|
+
* Get the list of constraint names available in this skeleton
|
|
17989
|
+
* (Slider, IK, transform, path, physics — 4.3 unified list).
|
|
17990
|
+
* @returns {string[]} array of constraint names
|
|
17991
|
+
*/
|
|
17992
|
+
getConstraintNames() {
|
|
17993
|
+
return this.skeleton.constraints.map((c) => {
|
|
17994
|
+
return c.data.name;
|
|
17995
|
+
});
|
|
17996
|
+
}
|
|
17961
17997
|
/**
|
|
17962
17998
|
* Register a listener for animation state events.
|
|
17963
17999
|
* @param {object} listener - an object with event handler methods
|
|
@@ -18018,8 +18054,16 @@ var Spine = class extends Renderable2 {
|
|
|
18018
18054
|
}
|
|
18019
18055
|
};
|
|
18020
18056
|
export {
|
|
18057
|
+
IkConstraint,
|
|
18058
|
+
PathConstraint,
|
|
18059
|
+
PhysicsConstraint,
|
|
18060
|
+
Slider,
|
|
18061
|
+
SliderData,
|
|
18062
|
+
SliderMixTimeline,
|
|
18063
|
+
SliderTimeline,
|
|
18021
18064
|
Spine,
|
|
18022
18065
|
SpinePlugin,
|
|
18066
|
+
TransformConstraint,
|
|
18023
18067
|
Spine as default
|
|
18024
18068
|
};
|
|
18025
18069
|
//# sourceMappingURL=index.js.map
|