excalibur 0.26.0-alpha.288 → 0.26.0-alpha.289
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 -28
- package/build/dist/excalibur.js +2 -2
- package/build/dist/excalibur.min.js +1 -1
- package/build/dist/excalibur.min.js.LICENSE.txt +1 -1
- package/build/dist/index.js +2 -2
- package/build/esm/excalibur.js +2 -2
- package/build/esm/excalibur.min.js +1 -1
- package/build/esm/excalibur.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
8
8
|
### Breaking Changes
|
|
9
9
|
|
|
10
10
|
-
|
|
11
|
+
|
|
11
12
|
### Deprecated
|
|
12
13
|
|
|
13
14
|
-
|
|
@@ -16,7 +17,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
16
17
|
|
|
17
18
|
-
|
|
18
19
|
|
|
19
|
-
|
|
20
20
|
### Fixed
|
|
21
21
|
|
|
22
22
|
-
|
|
@@ -29,15 +29,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
29
29
|
|
|
30
30
|
-
|
|
31
31
|
|
|
32
|
-
|
|
33
32
|
<!--------------------------------- DO NOT EDIT BELOW THIS LINE --------------------------------->
|
|
34
33
|
<!--------------------------------- DO NOT EDIT BELOW THIS LINE --------------------------------->
|
|
35
34
|
<!--------------------------------- DO NOT EDIT BELOW THIS LINE --------------------------------->
|
|
36
|
-
## [v0.25.1] - 2021-11-05
|
|
37
35
|
|
|
38
|
-
|
|
36
|
+
## [0.25.1] - 2021-11-05
|
|
39
37
|
|
|
40
|
-
-
|
|
41
38
|
### Added
|
|
42
39
|
|
|
43
40
|
- *Experimental:* Native ES module bundle distribution in package `esm/excalibur.js` entrypoint ([#2064](https://github.com/excaliburjs/Excalibur/pull/2064))
|
|
@@ -45,7 +42,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
45
42
|
- Story to show a play / pause implementation.
|
|
46
43
|
- `ex.Animation` now support `totalDuration` that will calculate automatically each frame duration based on how many frames have.
|
|
47
44
|
- `ex.Animation` now supports `.reverse()` to reverse the direction of play in an animation, use the `ex.Animation.direction` to inspect if the animation is playing in the `ex.AnimationDirection.Forward` direction or the `ex.AnimationDirection.Backward` direction.
|
|
48
|
-
|
|
45
|
+
|
|
49
46
|
### Changed
|
|
50
47
|
|
|
51
48
|
- Internal Actions implementation converted to ECS system and component, this is a backwards compatible change with v0.25.0
|
|
@@ -53,13 +50,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
53
50
|
- Actions can be shared with all entities now!
|
|
54
51
|
- Dispatch the `hidePlayButton` on the Button Event to prevent that keep on the screen on some situations [#1431].
|
|
55
52
|
- Revert VSCode Workbench Colors
|
|
56
|
-
|
|
53
|
+
|
|
57
54
|
### Deprecated
|
|
58
55
|
|
|
59
56
|
- Actions `asPromise()` renamed to `toPromise()`
|
|
60
|
-
### Removed
|
|
61
57
|
|
|
62
|
-
-
|
|
63
58
|
### Fixed
|
|
64
59
|
|
|
65
60
|
- Fixed loader button position on window resize
|
|
@@ -123,7 +118,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
123
118
|
- Directly changing debug drawing by `engine.isDebug = value` has been replaced by `engine.showDebug(value)` and `engine.toggleDebug()` ([#1655](https://github.com/excaliburjs/Excalibur/issues/1655))
|
|
124
119
|
- `UIActor` Class instances need to be replaced to `ScreenElement` (This Class it's marked as Obsolete) ([#1656](https://github.com/excaliburjs/Excalibur/issues/1656))
|
|
125
120
|
- Switch to browser based promise, the Excalibur implementation `ex.Promise` is marked deprecated ([#994](https://github.com/excaliburjs/Excalibur/issues/994))
|
|
126
|
-
|
|
127
121
|
- `DisplayMode`'s have changed ([#1733](https://github.com/excaliburjs/Excalibur/issues/1733)) & ([#1928](https://github.com/excaliburjs/Excalibur/issues/1928)):
|
|
128
122
|
|
|
129
123
|
- `DisplayMode.FitContainer` fits the screen to the available width/height in the canvas parent element, while maintaining aspect ratio and resolution
|
|
@@ -199,6 +193,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
199
193
|
- Add `KeyEvent.originalEvent?: KeyboardEvent` which exposes the raw keyboard event handled from the browser.
|
|
200
194
|
- Added a new getter to GraphicsComponent.ts called currentKeys that will return the names of the graphics shown in all layers
|
|
201
195
|
- Added a new getter to GraphicsLayer called currentKeys that will the names of the graphics shown in this layer
|
|
196
|
+
|
|
202
197
|
### Changed
|
|
203
198
|
|
|
204
199
|
- `Gif` now supports new graphics component
|
|
@@ -219,8 +214,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
219
214
|
- `ex.Promise` is marked deprecated ([#994](https://github.com/excaliburjs/Excalibur/issues/994))
|
|
220
215
|
- `ex.DisplayMode.Position` CSS can accomplish this task better than Excalibur ([#1733](https://github.com/excaliburjs/Excalibur/issues/1733))
|
|
221
216
|
|
|
222
|
-
### Removed
|
|
223
|
-
|
|
224
217
|
### Fixed
|
|
225
218
|
|
|
226
219
|
- Fixed allow `ex.ColliderComponent` to not have a collider
|
|
@@ -253,8 +246,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
253
246
|
- Fixed `anchor` properly of single shape `Actor` [#1535](https://github.com/excaliburjs/Excalibur/issues/1535)
|
|
254
247
|
- Fixed Safari bug where `Sound` resources would fail to load ([#1848](https://github.com/excaliburjs/Excalibur/issues/1848))
|
|
255
248
|
|
|
249
|
+
<!----------------------------------------------------------------------------------------------->
|
|
256
250
|
|
|
257
|
-
## [
|
|
251
|
+
## [0.24.5] - 2020-09-07
|
|
258
252
|
|
|
259
253
|
### Breaking Changes
|
|
260
254
|
|
|
@@ -269,19 +263,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
269
263
|
- Adds new `ex.System` type which operates on matching Entities to do some behavior in Excalibur.
|
|
270
264
|
- Adds new `ex.Observable` a small observable implementation for observing Entity component changes over time
|
|
271
265
|
|
|
272
|
-
### Changed
|
|
273
|
-
|
|
274
|
-
### Deprecated
|
|
275
|
-
|
|
276
|
-
### Removed
|
|
277
|
-
|
|
278
266
|
### Fixed
|
|
279
267
|
|
|
280
268
|
- Fixed Animation flicker bug on the first frame when using animations with scale, anchors, or rotation. ([#1636](https://github.com/excaliburjs/Excalibur/issues/1636))
|
|
281
269
|
|
|
282
|
-
|
|
270
|
+
<!----------------------------------------------------------------------------------------------->
|
|
283
271
|
|
|
284
|
-
|
|
272
|
+
## [0.24.4] - 2020-09-02
|
|
285
273
|
|
|
286
274
|
### Added
|
|
287
275
|
|
|
@@ -302,10 +290,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
302
290
|
- Upgrade Excalibur to TypeScript 3.9.2
|
|
303
291
|
- Upgrade Excalibur to Node 12 LTS
|
|
304
292
|
|
|
305
|
-
### Deprecated
|
|
306
|
-
|
|
307
|
-
### Removed
|
|
308
|
-
|
|
309
293
|
### Fixed
|
|
310
294
|
|
|
311
295
|
- Fixed Loader play button markup and styles are now cleaned up after clicked ([#1431](https://github.com/excaliburjs/Excalibur/issues/1431))
|
|
@@ -315,6 +299,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
315
299
|
- Fixed issue where actors that were not in scene still received pointer events ([#1555](https://github.com/excaliburjs/Excalibur/issues/1555))
|
|
316
300
|
- Fixed Scene initialization order when using the lifecycle overrides ([#1553](https://github.com/excaliburjs/Excalibur/issues/1553))
|
|
317
301
|
|
|
302
|
+
<!----------------------------------------------------------------------------------------------->
|
|
303
|
+
|
|
318
304
|
## [0.24.0] - 2020-04-23
|
|
319
305
|
|
|
320
306
|
### Breaking Changes
|
|
@@ -382,7 +368,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
382
368
|
- Changed `moveBy`, `rotateBy`, and `scaleBy` to operate relative to the current actor position at a speed, instead of moving to an absolute by a certain time.
|
|
383
369
|
- Changed event handlers in excalibur to expect non-null event objects, before `hander: (event?: GameEvent) => void` implied that event could be null. This change addresses ([#1147](https://github.com/excaliburjs/Excalibur/issues/1147)) making strict null/function checks compatible with new TypeScript.
|
|
384
370
|
- Changed collision system to remove actor coupling, in addition `ex.Collider` is a new type that encapsulates all collision behavior. Use `ex.Actor.body.collider` to interact with collisions in Excalibur ([#1119](https://github.com/excaliburjs/Excalibur/issues/1119))
|
|
385
|
-
|
|
386
371
|
- Add new `ex.Collider` type that is the housing for all collision related code
|
|
387
372
|
- The source of truth for `ex.CollisionType` is now on collider, with a convenience getter on actor
|
|
388
373
|
- The collision system now operates on `ex.Collider`'s not `ex.Actor`'s
|
|
@@ -422,7 +407,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
422
407
|
- Removed `NaiveCollisionBroadphase` as it was no longer used
|
|
423
408
|
- Renamed methods and properties will be available until `v0.24.0`
|
|
424
409
|
- Deprecated collision attributes on actor, use `Actor.body.collider`
|
|
425
|
-
|
|
426
410
|
- `Actor.x` & `Actor.y` will be removed in `v0.24.0` use `Actor.pos.x` & `Actor.pos.y`
|
|
427
411
|
- `Actor.collisionArea` will be removed in `v0.24.0` use `Actor.body.collider.shape`
|
|
428
412
|
- `Actor.getLeft()`, `Actor.getRight()`, `Actor.getTop()`, and `Actor.getBottom` are deprecated
|
|
@@ -1184,7 +1168,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
1184
1168
|
|
|
1185
1169
|
<!----------------------------------------------------------------------------------------------->
|
|
1186
1170
|
|
|
1187
|
-
[unreleased]: https://github.com/excaliburjs/Excalibur/compare/v0.
|
|
1171
|
+
[unreleased]: https://github.com/excaliburjs/Excalibur/compare/v0.25.1...HEAD
|
|
1172
|
+
[0.25.1]: https://github.com/excaliburjs/Excalibur/compare/v0.25.0...v0.25.1
|
|
1173
|
+
[0.25.0]: https://github.com/excaliburjs/Excalibur/compare/v0.24.5...v0.25.0
|
|
1174
|
+
[0.24.5]: https://github.com/excaliburjs/Excalibur/compare/v0.24.4...v0.24.5
|
|
1175
|
+
[0.24.4]: https://github.com/excaliburjs/Excalibur/compare/v0.24.0...v0.24.4
|
|
1188
1176
|
[0.24.0]: https://github.com/excaliburjs/Excalibur/compare/v0.23.0...v0.24.0
|
|
1189
1177
|
[0.23.0]: https://github.com/excaliburjs/Excalibur/compare/v0.22.0...v0.23.0
|
|
1190
1178
|
[0.22.0]: https://github.com/excaliburjs/Excalibur/compare/v0.21.0...v0.22.0
|
package/build/dist/excalibur.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* excalibur - 0.26.0-alpha.
|
|
2
|
+
* excalibur - 0.26.0-alpha.289+f152deb - 2021-11-6
|
|
3
3
|
* https://github.com/excaliburjs/Excalibur
|
|
4
4
|
* Copyright (c) 2021 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>
|
|
5
5
|
* Licensed BSD-2-Clause
|
|
@@ -28687,7 +28687,7 @@ Promises_Promise = Promise_1 = Promises_decorate([
|
|
|
28687
28687
|
* The current Excalibur version string
|
|
28688
28688
|
* @description `process.env.__EX_VERSION` gets replaced by Webpack on build
|
|
28689
28689
|
*/
|
|
28690
|
-
const EX_VERSION = "0.26.0-alpha.
|
|
28690
|
+
const EX_VERSION = "0.26.0-alpha.289+f152deb";
|
|
28691
28691
|
|
|
28692
28692
|
polyfill();
|
|
28693
28693
|
// This file is used as the bundle entry point and exports everything
|