@melonjs/spine-plugin 2.0.1 → 2.2.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/build/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * melonJS Spine plugin - 2.0.1
2
+ * melonJS Spine plugin - 2.2.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,7 +11,7 @@ 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.2.108/node_modules/@esotericsoftware/spine-canvas/dist/index.js
14
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.109/node_modules/@esotericsoftware/spine-canvas/dist/index.js
15
15
  var dist_exports = {};
16
16
  __export(dist_exports, {
17
17
  AlphaTimeline: () => AlphaTimeline,
@@ -136,7 +136,7 @@ __export(dist_exports, {
136
136
  WindowedMean: () => WindowedMean
137
137
  });
138
138
 
139
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Utils.js
139
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Utils.js
140
140
  var IntSet = class {
141
141
  array = new Array();
142
142
  add(value) {
@@ -523,7 +523,7 @@ var WindowedMean = class {
523
523
  }
524
524
  };
525
525
 
526
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/Attachment.js
526
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/Attachment.js
527
527
  var Attachment = class {
528
528
  name;
529
529
  constructor(name2) {
@@ -638,7 +638,7 @@ var VertexAttachment = class _VertexAttachment extends Attachment {
638
638
  }
639
639
  };
640
640
 
641
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/Sequence.js
641
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/Sequence.js
642
642
  var Sequence = class _Sequence {
643
643
  static _nextID = 0;
644
644
  id = _Sequence.nextID();
@@ -702,7 +702,7 @@ var SequenceModeValues = [
702
702
  SequenceMode.pingpongReverse
703
703
  ];
704
704
 
705
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Animation.js
705
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Animation.js
706
706
  var Animation = class {
707
707
  /** The animation's name, which is unique across all animations in the skeleton. */
708
708
  name;
@@ -3545,7 +3545,7 @@ var SequenceTimeline = class _SequenceTimeline extends Timeline {
3545
3545
  }
3546
3546
  };
3547
3547
 
3548
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/AnimationState.js
3548
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/AnimationState.js
3549
3549
  var AnimationState = class _AnimationState {
3550
3550
  static _emptyAnimation = new Animation("<empty>", [], 0);
3551
3551
  static emptyAnimation() {
@@ -4586,7 +4586,7 @@ var HOLD_MIX = 4;
4586
4586
  var SETUP = 1;
4587
4587
  var CURRENT = 2;
4588
4588
 
4589
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/AnimationStateData.js
4589
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/AnimationStateData.js
4590
4590
  var AnimationStateData = class {
4591
4591
  /** The SkeletonData to look up animations when they are specified by name. */
4592
4592
  skeletonData;
@@ -4630,7 +4630,7 @@ var AnimationStateData = class {
4630
4630
  }
4631
4631
  };
4632
4632
 
4633
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/BoundingBoxAttachment.js
4633
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/BoundingBoxAttachment.js
4634
4634
  var BoundingBoxAttachment = class _BoundingBoxAttachment extends VertexAttachment {
4635
4635
  color = new Color(1, 1, 1, 1);
4636
4636
  constructor(name2) {
@@ -4644,7 +4644,7 @@ var BoundingBoxAttachment = class _BoundingBoxAttachment extends VertexAttachmen
4644
4644
  }
4645
4645
  };
4646
4646
 
4647
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/ClippingAttachment.js
4647
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/ClippingAttachment.js
4648
4648
  var ClippingAttachment = class _ClippingAttachment extends VertexAttachment {
4649
4649
  /** Clipping is performed between the clipping polygon's slot and the end slot. Returns null if clipping is done until the end of
4650
4650
  * the skeleton's rendering. */
@@ -4666,7 +4666,7 @@ var ClippingAttachment = class _ClippingAttachment extends VertexAttachment {
4666
4666
  }
4667
4667
  };
4668
4668
 
4669
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Texture.js
4669
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Texture.js
4670
4670
  var Texture = class {
4671
4671
  _image;
4672
4672
  constructor(image) {
@@ -4715,7 +4715,7 @@ var FakeTexture = class extends Texture {
4715
4715
  }
4716
4716
  };
4717
4717
 
4718
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/TextureAtlas.js
4718
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/TextureAtlas.js
4719
4719
  var TextureAtlas = class {
4720
4720
  pages = new Array();
4721
4721
  regions = new Array();
@@ -4949,7 +4949,7 @@ var TextureAtlasRegion = class extends TextureRegion {
4949
4949
  }
4950
4950
  };
4951
4951
 
4952
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/MeshAttachment.js
4952
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/MeshAttachment.js
4953
4953
  var MeshAttachment = class _MeshAttachment extends VertexAttachment {
4954
4954
  region = null;
4955
4955
  /** The name of the texture region for this attachment. */
@@ -5102,7 +5102,7 @@ var MeshAttachment = class _MeshAttachment extends VertexAttachment {
5102
5102
  }
5103
5103
  };
5104
5104
 
5105
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/PathAttachment.js
5105
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/PathAttachment.js
5106
5106
  var PathAttachment = class _PathAttachment extends VertexAttachment {
5107
5107
  /** The lengths along the path in the setup pose from the start of the path to the end of each Bezier curve. */
5108
5108
  lengths = [];
@@ -5129,7 +5129,7 @@ var PathAttachment = class _PathAttachment extends VertexAttachment {
5129
5129
  }
5130
5130
  };
5131
5131
 
5132
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/PointAttachment.js
5132
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/PointAttachment.js
5133
5133
  var PointAttachment = class _PointAttachment extends VertexAttachment {
5134
5134
  x = 0;
5135
5135
  y = 0;
@@ -5161,7 +5161,7 @@ var PointAttachment = class _PointAttachment extends VertexAttachment {
5161
5161
  }
5162
5162
  };
5163
5163
 
5164
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/attachments/RegionAttachment.js
5164
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/attachments/RegionAttachment.js
5165
5165
  var RegionAttachment = class _RegionAttachment extends Attachment {
5166
5166
  /** The local x translation. */
5167
5167
  x = 0;
@@ -5343,7 +5343,7 @@ var RegionAttachment = class _RegionAttachment extends Attachment {
5343
5343
  static V4 = 31;
5344
5344
  };
5345
5345
 
5346
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/AtlasAttachmentLoader.js
5346
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/AtlasAttachmentLoader.js
5347
5347
  var AtlasAttachmentLoader = class {
5348
5348
  atlas;
5349
5349
  constructor(atlas) {
@@ -5397,7 +5397,7 @@ var AtlasAttachmentLoader = class {
5397
5397
  }
5398
5398
  };
5399
5399
 
5400
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/BoneData.js
5400
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/BoneData.js
5401
5401
  var BoneData = class {
5402
5402
  /** The index of the bone in {@link Skeleton#getBones()}. */
5403
5403
  index = 0;
@@ -5453,7 +5453,7 @@ var Inherit;
5453
5453
  Inherit2[Inherit2["NoScaleOrReflection"] = 4] = "NoScaleOrReflection";
5454
5454
  })(Inherit || (Inherit = {}));
5455
5455
 
5456
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Bone.js
5456
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Bone.js
5457
5457
  var Bone = class {
5458
5458
  /** The bone's setup pose data. */
5459
5459
  data;
@@ -5813,7 +5813,7 @@ var Bone = class {
5813
5813
  }
5814
5814
  };
5815
5815
 
5816
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/ConstraintData.js
5816
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/ConstraintData.js
5817
5817
  var ConstraintData = class {
5818
5818
  name;
5819
5819
  order;
@@ -5825,7 +5825,7 @@ var ConstraintData = class {
5825
5825
  }
5826
5826
  };
5827
5827
 
5828
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/AssetManagerBase.js
5828
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/AssetManagerBase.js
5829
5829
  var AssetManagerBase = class {
5830
5830
  pathPrefix = "";
5831
5831
  textureLoader;
@@ -6287,7 +6287,7 @@ var Downloader = class {
6287
6287
  }
6288
6288
  };
6289
6289
 
6290
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Event.js
6290
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Event.js
6291
6291
  var Event = class {
6292
6292
  data;
6293
6293
  intValue = 0;
@@ -6304,7 +6304,7 @@ var Event = class {
6304
6304
  }
6305
6305
  };
6306
6306
 
6307
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/EventData.js
6307
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/EventData.js
6308
6308
  var EventData = class {
6309
6309
  name;
6310
6310
  intValue = 0;
@@ -6318,7 +6318,7 @@ var EventData = class {
6318
6318
  }
6319
6319
  };
6320
6320
 
6321
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/IkConstraint.js
6321
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/IkConstraint.js
6322
6322
  var IkConstraint = class {
6323
6323
  /** The IK constraint's setup pose data. */
6324
6324
  data;
@@ -6600,7 +6600,7 @@ var IkConstraint = class {
6600
6600
  }
6601
6601
  };
6602
6602
 
6603
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/IkConstraintData.js
6603
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/IkConstraintData.js
6604
6604
  var IkConstraintData = class extends ConstraintData {
6605
6605
  /** The bones that are constrained by this IK constraint. */
6606
6606
  bones = new Array();
@@ -6634,7 +6634,7 @@ var IkConstraintData = class extends ConstraintData {
6634
6634
  }
6635
6635
  };
6636
6636
 
6637
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/PathConstraintData.js
6637
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/PathConstraintData.js
6638
6638
  var PathConstraintData = class extends ConstraintData {
6639
6639
  /** The bones that will be modified by this path constraint. */
6640
6640
  bones = new Array();
@@ -6687,7 +6687,7 @@ var RotateMode;
6687
6687
  RotateMode2[RotateMode2["ChainScale"] = 2] = "ChainScale";
6688
6688
  })(RotateMode || (RotateMode = {}));
6689
6689
 
6690
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/PathConstraint.js
6690
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/PathConstraint.js
6691
6691
  var PathConstraint = class _PathConstraint {
6692
6692
  static NONE = -1;
6693
6693
  static BEFORE = -2;
@@ -7124,7 +7124,7 @@ var PathConstraint = class _PathConstraint {
7124
7124
  }
7125
7125
  };
7126
7126
 
7127
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/PhysicsConstraint.js
7127
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/PhysicsConstraint.js
7128
7128
  var PhysicsConstraint = class {
7129
7129
  data;
7130
7130
  _bone = null;
@@ -7388,7 +7388,7 @@ var PhysicsConstraint = class {
7388
7388
  }
7389
7389
  };
7390
7390
 
7391
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Slot.js
7391
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Slot.js
7392
7392
  var Slot = class {
7393
7393
  /** The slot's setup pose data. */
7394
7394
  data;
@@ -7455,7 +7455,7 @@ var Slot = class {
7455
7455
  }
7456
7456
  };
7457
7457
 
7458
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/TransformConstraint.js
7458
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/TransformConstraint.js
7459
7459
  var TransformConstraint = class {
7460
7460
  /** The transform constraint's setup pose data. */
7461
7461
  data;
@@ -7678,7 +7678,7 @@ var TransformConstraint = class {
7678
7678
  }
7679
7679
  };
7680
7680
 
7681
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Skeleton.js
7681
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Skeleton.js
7682
7682
  var Skeleton = class _Skeleton {
7683
7683
  static quadTriangles = [0, 1, 2, 2, 3, 0];
7684
7684
  static yDown = false;
@@ -8286,7 +8286,7 @@ var Physics;
8286
8286
  Physics2[Physics2["pose"] = 3] = "pose";
8287
8287
  })(Physics || (Physics = {}));
8288
8288
 
8289
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/PhysicsConstraintData.js
8289
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/PhysicsConstraintData.js
8290
8290
  var PhysicsConstraintData = class extends ConstraintData {
8291
8291
  _bone = null;
8292
8292
  /** The bone constrained by this physics constraint. */
@@ -8326,7 +8326,7 @@ var PhysicsConstraintData = class extends ConstraintData {
8326
8326
  }
8327
8327
  };
8328
8328
 
8329
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SkeletonData.js
8329
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SkeletonData.js
8330
8330
  var SkeletonData = class {
8331
8331
  /** The skeleton's name, which by default is the name of the skeleton data file, if possible. May be null. */
8332
8332
  name = null;
@@ -8504,7 +8504,7 @@ var SkeletonData = class {
8504
8504
  }
8505
8505
  };
8506
8506
 
8507
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Skin.js
8507
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Skin.js
8508
8508
  var SkinEntry = class {
8509
8509
  slotIndex;
8510
8510
  name;
@@ -8679,7 +8679,7 @@ var Skin = class {
8679
8679
  }
8680
8680
  };
8681
8681
 
8682
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SlotData.js
8682
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SlotData.js
8683
8683
  var SlotData = class {
8684
8684
  /** The index of the slot in {@link Skeleton#getSlots()}. */
8685
8685
  index = 0;
@@ -8719,7 +8719,7 @@ var BlendMode;
8719
8719
  BlendMode2[BlendMode2["Screen"] = 3] = "Screen";
8720
8720
  })(BlendMode || (BlendMode = {}));
8721
8721
 
8722
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/TransformConstraintData.js
8722
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/TransformConstraintData.js
8723
8723
  var TransformConstraintData = class extends ConstraintData {
8724
8724
  /** The bones that will be modified by this transform constraint. */
8725
8725
  bones = new Array();
@@ -8759,7 +8759,7 @@ var TransformConstraintData = class extends ConstraintData {
8759
8759
  }
8760
8760
  };
8761
8761
 
8762
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SkeletonBinary.js
8762
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SkeletonBinary.js
8763
8763
  var SkeletonBinary = class {
8764
8764
  /** Scales bone positions, image sizes, and translations as they are loaded. This allows different size images to be used at
8765
8765
  * runtime than were used in Spine.
@@ -9997,7 +9997,7 @@ var PHYSICS_RESET = 8;
9997
9997
  var CURVE_STEPPED = 1;
9998
9998
  var CURVE_BEZIER = 2;
9999
9999
 
10000
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SkeletonBounds.js
10000
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SkeletonBounds.js
10001
10001
  var SkeletonBounds = class {
10002
10002
  /** The left edge of the axis aligned bounding box. */
10003
10003
  minX = 0;
@@ -10182,7 +10182,7 @@ var SkeletonBounds = class {
10182
10182
  }
10183
10183
  };
10184
10184
 
10185
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/Triangulator.js
10185
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/Triangulator.js
10186
10186
  var Triangulator = class _Triangulator {
10187
10187
  convexPolygons = new Array();
10188
10188
  convexPolygonsIndices = new Array();
@@ -10388,7 +10388,7 @@ var Triangulator = class _Triangulator {
10388
10388
  }
10389
10389
  };
10390
10390
 
10391
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SkeletonClipping.js
10391
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SkeletonClipping.js
10392
10392
  var SkeletonClipping = class _SkeletonClipping {
10393
10393
  triangulator = new Triangulator();
10394
10394
  clippingPolygon = new Array();
@@ -10833,7 +10833,7 @@ var SkeletonClipping = class _SkeletonClipping {
10833
10833
  }
10834
10834
  };
10835
10835
 
10836
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/SkeletonJson.js
10836
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/SkeletonJson.js
10837
10837
  var SkeletonJson = class {
10838
10838
  attachmentLoader;
10839
10839
  /** Scales bone positions, image sizes, and translations as they are loaded. This allows different size images to be used at
@@ -11881,7 +11881,7 @@ function getValue(map, property, defaultValue) {
11881
11881
  return map[property] !== void 0 ? map[property] : defaultValue;
11882
11882
  }
11883
11883
 
11884
- // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.108/node_modules/@esotericsoftware/spine-core/dist/polyfills.js
11884
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-core@4.2.109/node_modules/@esotericsoftware/spine-core/dist/polyfills.js
11885
11885
  (() => {
11886
11886
  if (typeof Math.fround === "undefined") {
11887
11887
  Math.fround = /* @__PURE__ */ (function(array) {
@@ -11892,7 +11892,7 @@ function getValue(map, property, defaultValue) {
11892
11892
  }
11893
11893
  })();
11894
11894
 
11895
- // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.108/node_modules/@esotericsoftware/spine-canvas/dist/CanvasTexture.js
11895
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.109/node_modules/@esotericsoftware/spine-canvas/dist/CanvasTexture.js
11896
11896
  var CanvasTexture = class extends Texture {
11897
11897
  constructor(image) {
11898
11898
  super(image);
@@ -11905,7 +11905,7 @@ var CanvasTexture = class extends Texture {
11905
11905
  }
11906
11906
  };
11907
11907
 
11908
- // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.108/node_modules/@esotericsoftware/spine-canvas/dist/AssetManager.js
11908
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.109/node_modules/@esotericsoftware/spine-canvas/dist/AssetManager.js
11909
11909
  var AssetManager = class extends AssetManagerBase {
11910
11910
  constructor(pathPrefix = "", downloader = new Downloader()) {
11911
11911
  super((image) => {
@@ -11914,7 +11914,7 @@ var AssetManager = class extends AssetManagerBase {
11914
11914
  }
11915
11915
  };
11916
11916
 
11917
- // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.108/node_modules/@esotericsoftware/spine-canvas/dist/SkeletonRenderer.js
11917
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-canvas@4.2.109/node_modules/@esotericsoftware/spine-canvas/dist/SkeletonRenderer.js
11918
11918
  var worldVertices = Utils.newFloatArray(8);
11919
11919
  var SkeletonRenderer = class _SkeletonRenderer {
11920
11920
  static QUAD_TRIANGLES = [0, 1, 2, 2, 3, 0];
@@ -12134,7 +12134,7 @@ var SkeletonRenderer = class _SkeletonRenderer {
12134
12134
  }
12135
12135
  };
12136
12136
 
12137
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/index.js
12137
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/index.js
12138
12138
  var dist_exports2 = {};
12139
12139
  __export(dist_exports2, {
12140
12140
  AlphaTimeline: () => AlphaTimeline,
@@ -12299,7 +12299,7 @@ __export(dist_exports2, {
12299
12299
  WindowedMean: () => WindowedMean
12300
12300
  });
12301
12301
 
12302
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/WebGL.js
12302
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/WebGL.js
12303
12303
  var ManagedWebGLRenderingContext = class {
12304
12304
  canvas;
12305
12305
  gl;
@@ -12338,7 +12338,7 @@ var ManagedWebGLRenderingContext = class {
12338
12338
  }
12339
12339
  };
12340
12340
 
12341
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/GLTexture.js
12341
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/GLTexture.js
12342
12342
  var GLTexture = class _GLTexture extends Texture {
12343
12343
  context;
12344
12344
  texture = null;
@@ -12426,7 +12426,7 @@ var GLTexture = class _GLTexture extends Texture {
12426
12426
  }
12427
12427
  };
12428
12428
 
12429
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/AssetManager.js
12429
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/AssetManager.js
12430
12430
  var AssetManager2 = class extends AssetManagerBase {
12431
12431
  constructor(context, pathPrefix = "", downloader = new Downloader()) {
12432
12432
  super((image) => {
@@ -12435,7 +12435,7 @@ var AssetManager2 = class extends AssetManagerBase {
12435
12435
  }
12436
12436
  };
12437
12437
 
12438
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Vector3.js
12438
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Vector3.js
12439
12439
  var Vector3 = class {
12440
12440
  x = 0;
12441
12441
  y = 0;
@@ -12511,7 +12511,7 @@ var Vector3 = class {
12511
12511
  }
12512
12512
  };
12513
12513
 
12514
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Matrix4.js
12514
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Matrix4.js
12515
12515
  var M00 = 0;
12516
12516
  var M01 = 4;
12517
12517
  var M02 = 8;
@@ -12766,7 +12766,7 @@ var Matrix4 = class _Matrix4 {
12766
12766
  }
12767
12767
  };
12768
12768
 
12769
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Camera.js
12769
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Camera.js
12770
12770
  var OrthoCamera = class {
12771
12771
  position = new Vector3(0, 0, 0);
12772
12772
  direction = new Vector3(0, 0, -1);
@@ -12818,7 +12818,7 @@ var OrthoCamera = class {
12818
12818
  }
12819
12819
  };
12820
12820
 
12821
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Input.js
12821
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Input.js
12822
12822
  var Input = class {
12823
12823
  element;
12824
12824
  mouseX = 0;
@@ -13053,7 +13053,7 @@ var Touch = class {
13053
13053
  }
13054
13054
  };
13055
13055
 
13056
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/CameraController.js
13056
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/CameraController.js
13057
13057
  var CameraController = class {
13058
13058
  canvas;
13059
13059
  camera;
@@ -13121,7 +13121,7 @@ var CameraController = class {
13121
13121
  }
13122
13122
  };
13123
13123
 
13124
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Shader.js
13124
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Shader.js
13125
13125
  var Shader = class _Shader {
13126
13126
  vertexShader;
13127
13127
  fragmentShader;
@@ -13382,7 +13382,7 @@ void main () {
13382
13382
  }
13383
13383
  };
13384
13384
 
13385
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/Mesh.js
13385
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/Mesh.js
13386
13386
  var Mesh = class {
13387
13387
  attributes;
13388
13388
  context;
@@ -13568,7 +13568,7 @@ var VertexAttributeType;
13568
13568
  VertexAttributeType2[VertexAttributeType2["Float"] = 0] = "Float";
13569
13569
  })(VertexAttributeType || (VertexAttributeType = {}));
13570
13570
 
13571
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/PolygonBatcher.js
13571
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/PolygonBatcher.js
13572
13572
  var GL_ONE = 1;
13573
13573
  var GL_ONE_MINUS_SRC_COLOR = 769;
13574
13574
  var GL_SRC_ALPHA = 770;
@@ -13699,7 +13699,7 @@ var PolygonBatcher = class _PolygonBatcher {
13699
13699
  }
13700
13700
  };
13701
13701
 
13702
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/ShapeRenderer.js
13702
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/ShapeRenderer.js
13703
13703
  var ShapeRenderer = class {
13704
13704
  context;
13705
13705
  isDrawing = false;
@@ -14007,7 +14007,7 @@ var ShapeType;
14007
14007
  ShapeType2[ShapeType2["Filled"] = 4] = "Filled";
14008
14008
  })(ShapeType || (ShapeType = {}));
14009
14009
 
14010
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/SkeletonDebugRenderer.js
14010
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/SkeletonDebugRenderer.js
14011
14011
  var SkeletonDebugRenderer = class _SkeletonDebugRenderer {
14012
14012
  boneLineColor = new Color(1, 0, 0, 1);
14013
14013
  boneOriginColor = new Color(0, 1, 0, 1);
@@ -14210,7 +14210,7 @@ var SkeletonDebugRenderer = class _SkeletonDebugRenderer {
14210
14210
  }
14211
14211
  };
14212
14212
 
14213
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/SkeletonRenderer.js
14213
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/SkeletonRenderer.js
14214
14214
  var Renderable = class {
14215
14215
  vertices;
14216
14216
  numVertices;
@@ -14384,7 +14384,7 @@ var SkeletonRenderer2 = class _SkeletonRenderer {
14384
14384
  }
14385
14385
  };
14386
14386
 
14387
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/SceneRenderer.js
14387
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/SceneRenderer.js
14388
14388
  var quad = [
14389
14389
  0,
14390
14390
  0,
@@ -14856,7 +14856,7 @@ var ResizeMode;
14856
14856
  ResizeMode2[ResizeMode2["Fit"] = 2] = "Fit";
14857
14857
  })(ResizeMode || (ResizeMode = {}));
14858
14858
 
14859
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/LoadingScreen.js
14859
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/LoadingScreen.js
14860
14860
  var spinnerImage;
14861
14861
  var logoImage;
14862
14862
  var loaded = 0;
@@ -14966,7 +14966,7 @@ var LoadingScreen = class {
14966
14966
  var SPINNER_DATA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKMAAACjCAYAAADmbK6AAAALKElEQVR42u2de2iW5R/GPzuqcwfnnKfNmafl5tTNHWzqNi3DEMQykcAoJSsySkspjSIk0iD/07Kf4R+FnVBDUTshZGpWUEJaaiWFgZlUFmXmIe3HNXthyebeZ77P9H13ffBG8Y8H7ut7vff93N/7fu4vGGPiFZiez/Qtw9lytJajfzfw9z/j+efPOv7cV8W+lUNY2a8T/ayTCRsWFLJA5rtUO1LLkV5p9LJeJizQiHeqnlOtmVFtdTGrrZkJCxYXsTgaI6r9MY4/UpNItW4mFDaXsTlaM6qVZlBq3UwofFrJp0HMWJ9DvXUzobCznJ1BzFjWlTLrZkJh/TDWBzFjTgo51s2EgnKI0Rrx+FiOWzNzVaym91Syx5qZsGBWb2ZFa0ZN6dbMhAWTcpkUrRmXD2K5NTNhgVbH0Zpxbl/mWjMTFvRIo0e0ZpzcncnWzISKtvmiMWNRJ4qslwmVXRXsas2Ix8ZwzFqZsGFREYtaM+Oaa1ljrUzYkJ9G/ok6TlzKjJWZVFor0y7c1Zu7WjLiqiGsskamXdHopyT4vALmzS9k/t19uHtKHlOSIMn6xAtARj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hRTD6ovXBRwFzwWgCSEF0QVjJUGmgEllTS5OLlCIlIN1mS9mx/cZ5eLDALpCTI2RAhkTZQqYoTgpoCPECbaBHQ2ETL3PUl98ECAXYijG0OyYAmQoTG7W5ODkAF1CnVgm2JQx4okPA+gCMTbGskBGgRmaOblAh5GTORIrfKFx4VH4EIAxIXIxlg2SBbMvECY3e7oApbDaIgQu5/2HmeEKEINYiwSRi7EQkLFgumZOCuggctKGI4ULZN/vMeSLj0AYMytWEqMLzFg4fYDaoKaC6wvOFR4FkIPQFaILxrJAOsHsc/zlfYDWXE8qF22s8Pz5KHxcgEVALBtjJXBSSEOwFhk1Zgy4hitCT4hVw+gFs8/zwxqIBbUgyK7fcyA0PD9XX4iVxhiC0xdof6STWCsoBmKF7+cVCWFXQYyBMxRpf+STX1b0x45AhN0OMSrOGEirhrY/dfQAdjvS7oy+WCF6r1RIFxXWvlTRg1YVqFWBmxZbD99ig9pt0YPQw9rD1nstVri9V+/Ve3XrS/wfim4P5fIFxLoAAAAASUVORK5CYII=";
14968
14968
 
14969
- // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.108/node_modules/@esotericsoftware/spine-webgl/dist/SpineCanvas.js
14969
+ // ../../node_modules/.pnpm/@esotericsoftware+spine-webgl@4.2.109/node_modules/@esotericsoftware/spine-webgl/dist/SpineCanvas.js
14970
14970
  var SpineCanvas = class {
14971
14971
  config;
14972
14972
  context;
@@ -15081,6 +15081,12 @@ var SkeletonRenderer3 = class {
15081
15081
  * @default false
15082
15082
  */
15083
15083
  debugRendering = false;
15084
+ /**
15085
+ * Whether textures use premultiplied alpha
15086
+ * @type {boolean}
15087
+ * @default false
15088
+ */
15089
+ premultipliedAlpha = false;
15084
15090
  // reusable color instances to avoid allocations
15085
15091
  tintColor = new MColor();
15086
15092
  tempColor = new MColor();
@@ -15159,7 +15165,10 @@ var SkeletonRenderer3 = class {
15159
15165
  );
15160
15166
  renderer.setGlobalAlpha(color.a);
15161
15167
  renderer.setTint(color);
15162
- renderer.setBlendMode(BLEND_MODES[slot.data.blendMode]);
15168
+ renderer.setBlendMode(
15169
+ BLEND_MODES[slot.data.blendMode],
15170
+ this.premultipliedAlpha
15171
+ );
15163
15172
  if (triangles) {
15164
15173
  this.drawMesh(renderer, image, worldVertices2, triangles);
15165
15174
  } else {
@@ -15459,19 +15468,19 @@ var SpineBatcher = class extends Batcher {
15459
15468
  };
15460
15469
 
15461
15470
  // src/SpinePlugin.js
15462
- import { plugin } from "melonjs";
15471
+ import { plugin, registerTiledObjectClass } from "melonjs";
15463
15472
 
15464
15473
  // package.json
15465
15474
  var name = "@melonjs/spine-plugin";
15466
- var version = "2.0.1";
15475
+ var version = "2.2.0";
15467
15476
  var homepage = "https://www.npmjs.com/package/@melonjs/spine-plugin";
15468
15477
  var peerDependencies = {
15469
- melonjs: ">=18.2.1"
15478
+ melonjs: ">=18.3.0"
15470
15479
  };
15471
15480
  var dependencies = {
15472
- "@esotericsoftware/spine-canvas": "^4.2.108",
15473
- "@esotericsoftware/spine-core": "^4.2.108",
15474
- "@esotericsoftware/spine-webgl": "^4.2.108"
15481
+ "@esotericsoftware/spine-canvas": "^4.2.109",
15482
+ "@esotericsoftware/spine-core": "^4.2.109",
15483
+ "@esotericsoftware/spine-webgl": "^4.2.109"
15475
15484
  };
15476
15485
 
15477
15486
  // src/AssetManager.js
@@ -15597,6 +15606,7 @@ var SpinePlugin = class extends plugin.BasePlugin {
15597
15606
  `${name} ${version} - spine runtime ${dependencies["@esotericsoftware/spine-core"]} | ${homepage}`
15598
15607
  );
15599
15608
  this.assetManager = new AssetManager3(this.app.renderer);
15609
+ registerTiledObjectClass("Spine", Spine);
15600
15610
  }
15601
15611
  };
15602
15612
 
@@ -15606,7 +15616,6 @@ var Spine = class extends Renderable2 {
15606
15616
  runtime;
15607
15617
  skeleton;
15608
15618
  plugin;
15609
- renderer;
15610
15619
  animationState;
15611
15620
  skeletonRenderer;
15612
15621
  root;
@@ -15680,20 +15689,15 @@ var Spine = class extends Renderable2 {
15680
15689
  "Spine plugin: plugin needs to be registered first using plugin.register"
15681
15690
  );
15682
15691
  }
15683
- this.renderer = this.plugin.app.renderer;
15684
- if (this.renderer.WebGLVersion >= 1) {
15692
+ const renderer = this.plugin.app.renderer;
15693
+ this.isWebGL = renderer.WebGLVersion >= 1;
15694
+ if (this.isWebGL) {
15685
15695
  this.runtime = dist_exports2;
15686
- this.gl = this.renderer.gl;
15687
- this.canvas = this.renderer.renderTarget.canvas;
15688
- this.context = this.renderer;
15689
- this.twoColorTint = true;
15690
- if (!this.renderer.batchers.has("spine")) {
15691
- this.renderer.addBatcher(
15692
- new SpineBatcher(this.renderer, this.canvas),
15693
- "spine"
15694
- );
15696
+ this.canvas = renderer.renderTarget.canvas;
15697
+ if (!renderer.batchers.has("spine")) {
15698
+ renderer.addBatcher(new SpineBatcher(renderer, this.canvas), "spine");
15695
15699
  }
15696
- this.spineBatcher = this.renderer.batchers.get("spine");
15700
+ this.spineBatcher = renderer.batchers.get("spine");
15697
15701
  this.skeletonRenderer = new this.runtime.SkeletonRenderer(
15698
15702
  this.canvas,
15699
15703
  true
@@ -15756,14 +15760,20 @@ var Spine = class extends Renderable2 {
15756
15760
  const skeletonData = skeletonJson.readSkeletonData(
15757
15761
  this.plugin.assetManager.require(jsonFile)
15758
15762
  );
15763
+ this.premultipliedAlpha = atlas.pages.some((page) => {
15764
+ return page.pma;
15765
+ });
15766
+ this.skeletonRenderer.premultipliedAlpha = this.premultipliedAlpha;
15759
15767
  this.skeleton = new this.runtime.Skeleton(skeletonData);
15760
- if (this.skeletonRenderer instanceof SkeletonRenderer3) {
15768
+ if (!this.isWebGL) {
15761
15769
  this.skeletonRenderer.triangleRendering = skeletonData.skins.some(
15762
15770
  (skin) => {
15763
- for (const [, attachments] of skin.attachments.entries()) {
15764
- for (const [, attachment] of attachments.entries()) {
15765
- if (attachment instanceof MeshAttachment) {
15766
- return true;
15771
+ for (const attachments of skin.attachments) {
15772
+ if (attachments) {
15773
+ for (const attachment of Object.values(attachments)) {
15774
+ if (attachment instanceof MeshAttachment) {
15775
+ return true;
15776
+ }
15767
15777
  }
15768
15778
  }
15769
15779
  }
@@ -15816,7 +15826,7 @@ var Spine = class extends Renderable2 {
15816
15826
  * @returns {Spine} Reference to this object for method chaining
15817
15827
  */
15818
15828
  rotate(angle, v) {
15819
- if (this.renderer.WebGLVersion >= 1) {
15829
+ if (this.isWebGL) {
15820
15830
  this.skeleton.getRootBone().rotation -= Math2.radToDeg(angle);
15821
15831
  } else {
15822
15832
  this.skeleton.getRootBone().rotation -= Math2.radToDeg(angle) + 90;
@@ -15830,8 +15840,10 @@ var Spine = class extends Renderable2 {
15830
15840
  * @returns {Spine} Reference to this object for method chaining
15831
15841
  */
15832
15842
  scale(x, y = x) {
15833
- this.root.scaleX *= x;
15834
- this.root.scaleY *= y;
15843
+ if (this.isWebGL) {
15844
+ this.root.scaleX *= x;
15845
+ this.root.scaleY *= y;
15846
+ }
15835
15847
  return super.scale(x, y);
15836
15848
  }
15837
15849
  /**
@@ -15902,8 +15914,13 @@ var Spine = class extends Renderable2 {
15902
15914
  * @param {CanvasRenderer|WebGLRenderer} renderer - A renderer instance.
15903
15915
  */
15904
15916
  draw(renderer) {
15905
- if (this.renderer.WebGLVersion >= 1) {
15906
- this.renderer.setBatcher("spine");
15917
+ if (typeof this.skeleton === "undefined") {
15918
+ return;
15919
+ }
15920
+ const t = this.tint.toArray();
15921
+ this.skeleton.color.set(t[0], t[1], t[2], this.skeleton.color.a);
15922
+ if (this.isWebGL) {
15923
+ renderer.setBatcher("spine");
15907
15924
  this.skeletonRenderer.draw(
15908
15925
  this.spineBatcher,
15909
15926
  this.skeleton,
@@ -15916,7 +15933,7 @@ var Spine = class extends Renderable2 {
15916
15933
  this.shapesShader.bind();
15917
15934
  this.shapesShader.setUniform4x4f(
15918
15935
  this.runtime.Shader.MVP_MATRIX,
15919
- this.context.projectionMatrix.val
15936
+ renderer.projectionMatrix.toArray()
15920
15937
  );
15921
15938
  this.shapes.begin(this.shapesShader);
15922
15939
  this.skeletonDebugRenderer.draw(this.shapes, this.skeleton);
@@ -15931,7 +15948,7 @@ var Spine = class extends Renderable2 {
15931
15948
  * Called automatically when the renderable is removed from the world.
15932
15949
  */
15933
15950
  dispose() {
15934
- if (this.renderer.WebGLVersion >= 1) {
15951
+ if (this.isWebGL) {
15935
15952
  this.shapes.dispose();
15936
15953
  this.shapesShader.dispose();
15937
15954
  this.skeletonDebugRenderer.dispose();