excalibur 0.32.0-alpha.1596 → 0.32.0-alpha.1598

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.
@@ -1,4 +1,4 @@
1
- /*! excalibur - 0.32.0-alpha.1596+548f5e4 - 2025-12-10
1
+ /*! excalibur - 0.32.0-alpha.1598+97bb68b - 2025-12-15
2
2
  https://github.com/excaliburjs/Excalibur
3
3
  Copyright (c) 2025 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>
4
4
  Licensed BSD-2-Clause
@@ -6544,12 +6544,14 @@ const Bl = {
6544
6544
  * @param strategy Optional strategy, default AnimationStrategy.Loop
6545
6545
  */
6546
6546
  static fromSpriteSheet(t, e, i, s = "loop", n) {
6547
- const o = t.sprites.length - 1, a = e.filter((h) => h < 0 || h > o);
6548
- return a.length && Ki._LOGGER.warn(
6549
- `Indices into SpriteSheet were provided that don't exist: ${a.join(",")} no frame will be shown`
6547
+ const o = t.sprites.length - 1, a = [], h = [];
6548
+ return e.forEach((l) => {
6549
+ l < 0 || l > o ? h.push(l) : a.push(l);
6550
+ }), h.length && Ki._LOGGER.warn(
6551
+ `Indices into SpriteSheet were provided that don't exist: frames ${h.join(",")} will not be shown`
6550
6552
  ), new this({
6551
- frames: t.sprites.filter((h, l) => e.indexOf(l) > -1).map((h) => ({
6552
- graphic: h,
6553
+ frames: a.map((l) => ({
6554
+ graphic: t.sprites[l],
6553
6555
  duration: i
6554
6556
  })),
6555
6557
  strategy: s,
@@ -22576,7 +22578,7 @@ class Tc {
22576
22578
  }
22577
22579
  }
22578
22580
  }
22579
- const an = "0.32.0-alpha.1596+548f5e4";
22581
+ const an = "0.32.0-alpha.1598+97bb68b";
22580
22582
  hn();
22581
22583
  export {
22582
22584
  Wn as ActionCompleteEvent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "excalibur",
3
3
  "sideEffects": false,
4
- "version": "0.32.0-alpha.1596",
4
+ "version": "0.32.0-alpha.1598",
5
5
  "exNextVersion": "0.32.0",
6
6
  "publishConfig": {
7
7
  "provenance": true
@@ -47,7 +47,10 @@
47
47
  </label>
48
48
  <button id="build" title="Build & Run (CTRL+S)">Build & Run</button>
49
49
  <button id="debug" title="Debug (CTRL+D)">Toggle Debug</button>
50
- <button id="share">Share</button>
50
+ <button id="share">
51
+ Share
52
+ <span class="tooltip">Link copied to clipboard!</span>
53
+ </button>
51
54
  </div>
52
55
  <div class="templates">
53
56
  <h2>Templates</h2>