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.
- package/CHANGELOG.md +1 -0
- package/build/dist/excalibur.development.js +14 -6
- package/build/dist/excalibur.js +14 -6
- package/build/dist/excalibur.min.development.js +3 -3
- package/build/dist/excalibur.min.js +3 -3
- package/build/esm/excalibur.development.js +14 -6
- package/build/esm/excalibur.js +14 -6
- package/build/esm/excalibur.min.development.js +9 -7
- package/build/esm/excalibur.min.js +9 -7
- package/package.json +1 -1
- package/playground/index.html +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! excalibur - 0.32.0-alpha.
|
|
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 =
|
|
6548
|
-
return
|
|
6549
|
-
|
|
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:
|
|
6552
|
-
graphic:
|
|
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.
|
|
22581
|
+
const an = "0.32.0-alpha.1598+97bb68b";
|
|
22580
22582
|
hn();
|
|
22581
22583
|
export {
|
|
22582
22584
|
Wn as ActionCompleteEvent,
|
package/package.json
CHANGED
package/playground/index.html
CHANGED
|
@@ -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">
|
|
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>
|