excalibur 0.32.0-alpha.1571 → 0.32.0-alpha.1573
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/Graphics/SpriteFont.d.ts +3 -2
- package/build/dist/excalibur.development.js +5 -3
- package/build/dist/excalibur.js +5 -3
- package/build/dist/excalibur.min.development.js +3 -3
- package/build/dist/excalibur.min.js +3 -3
- package/build/esm/excalibur.development.js +5 -3
- package/build/esm/excalibur.js +5 -3
- package/build/esm/excalibur.min.development.js +3 -3
- package/build/esm/excalibur.min.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -74,6 +74,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
74
74
|
|
|
75
75
|
### Fixed
|
|
76
76
|
|
|
77
|
+
- Fixed issue where pointer containment WAS NOT being uses on collision shape geometry, only their bounds
|
|
77
78
|
- Fixed issue where overriding built in uniforms and graphics no longer worked as v0.30.x
|
|
78
79
|
- Fixed issue where clearSchedule during a scheduled callback could cause a cb to be skipped
|
|
79
80
|
- Fixed issue where specifying custom events was difficult in TypeScript switched from `export type ...Events {` to `export interface ...Events {` which allows declaration merging by user game code to specify custom events
|
|
@@ -3,6 +3,7 @@ import type { ExcaliburGraphicsContext } from './Context/ExcaliburGraphicsContex
|
|
|
3
3
|
import type { FontRenderer } from './FontCommon';
|
|
4
4
|
import type { GraphicOptions } from './Graphic';
|
|
5
5
|
import { Graphic } from './Graphic';
|
|
6
|
+
import type { Sprite } from './Sprite';
|
|
6
7
|
import type { SpriteSheet } from './SpriteSheet';
|
|
7
8
|
import { BoundingBox } from '../Collision/BoundingBox';
|
|
8
9
|
export interface SpriteFontOptions {
|
|
@@ -46,7 +47,7 @@ export declare class SpriteFont extends Graphic implements FontRenderer {
|
|
|
46
47
|
lineHeight: number | undefined;
|
|
47
48
|
private _logger;
|
|
48
49
|
constructor(options: SpriteFontOptions & GraphicOptions);
|
|
49
|
-
|
|
50
|
+
protected _getCharacterSprites(text: string): Sprite[];
|
|
50
51
|
measureText(text: string, maxWidth?: number): BoundingBox;
|
|
51
52
|
protected _drawImage(ex: ExcaliburGraphicsContext, x: number, y: number, maxWidth?: number): void;
|
|
52
53
|
render(ex: ExcaliburGraphicsContext, text: string, _color: any, x: number, y: number, maxWidth?: number): void;
|
|
@@ -59,5 +60,5 @@ export declare class SpriteFont extends Graphic implements FontRenderer {
|
|
|
59
60
|
private _cachedText?;
|
|
60
61
|
private _cachedLines?;
|
|
61
62
|
private _cachedRenderWidth?;
|
|
62
|
-
|
|
63
|
+
protected _getLinesFromText(text: string, maxWidth?: number): string[];
|
|
63
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! excalibur - 0.32.0-alpha.
|
|
1
|
+
/*! excalibur - 0.32.0-alpha.1573+fb2f11d - 2025-11-28
|
|
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
|
|
@@ -27215,7 +27215,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
27215
27215
|
const collider = colliders[i];
|
|
27216
27216
|
const maybePointer = this._entityToPointer.get(collider.owner);
|
|
27217
27217
|
if (maybePointer && (maybePointer.useColliderShape || this.overrideUseColliderShape)) {
|
|
27218
|
-
|
|
27218
|
+
if (collider.contains(pos.worldPos)) {
|
|
27219
|
+
this._pointerEventDispatcher.addPointerToObject(collider.owner, pointerId);
|
|
27220
|
+
}
|
|
27219
27221
|
}
|
|
27220
27222
|
}
|
|
27221
27223
|
const graphics = this._graphicsHashGrid.query(pos.worldPos);
|
|
@@ -33440,7 +33442,7 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
33440
33442
|
this._count += count;
|
|
33441
33443
|
}
|
|
33442
33444
|
}
|
|
33443
|
-
const EX_VERSION = "0.32.0-alpha.
|
|
33445
|
+
const EX_VERSION = "0.32.0-alpha.1573+fb2f11d";
|
|
33444
33446
|
polyfill();
|
|
33445
33447
|
exports2.ActionCompleteEvent = ActionCompleteEvent;
|
|
33446
33448
|
exports2.ActionContext = ActionContext;
|
package/build/dist/excalibur.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! excalibur - 0.32.0-alpha.
|
|
1
|
+
/*! excalibur - 0.32.0-alpha.1573+fb2f11d - 2025-11-28
|
|
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
|
|
@@ -27215,7 +27215,9 @@ If you want to do custom drawing, use Actor.graphics, or any onPreDraw or onPost
|
|
|
27215
27215
|
const collider = colliders[i];
|
|
27216
27216
|
const maybePointer = this._entityToPointer.get(collider.owner);
|
|
27217
27217
|
if (maybePointer && (maybePointer.useColliderShape || this.overrideUseColliderShape)) {
|
|
27218
|
-
|
|
27218
|
+
if (collider.contains(pos.worldPos)) {
|
|
27219
|
+
this._pointerEventDispatcher.addPointerToObject(collider.owner, pointerId);
|
|
27220
|
+
}
|
|
27219
27221
|
}
|
|
27220
27222
|
}
|
|
27221
27223
|
const graphics = this._graphicsHashGrid.query(pos.worldPos);
|
|
@@ -33440,7 +33442,7 @@ Read more about this issue at https://excaliburjs.com/docs/performance`
|
|
|
33440
33442
|
this._count += count;
|
|
33441
33443
|
}
|
|
33442
33444
|
}
|
|
33443
|
-
const EX_VERSION = "0.32.0-alpha.
|
|
33445
|
+
const EX_VERSION = "0.32.0-alpha.1573+fb2f11d";
|
|
33444
33446
|
polyfill();
|
|
33445
33447
|
exports2.ActionCompleteEvent = ActionCompleteEvent;
|
|
33446
33448
|
exports2.ActionContext = ActionContext;
|