What's Changed
Deprecated
- Actions
asPromise()
renamed totoPromise()
, will be removed in v0.26.0
Added Features
- feat: [#1892] Animations should allow you to specify the total duration by @catrielmuller in #2065
ex.Animation
now supporttotalDuration
that will calculate automatically each frame duration based on how many frames have.withEngine
utils support an aditional options parameter to override the Engine default options.- Story to show a play / pause implementation.
- chore(webpack): add experimental esm bundle output by @kamranayub in #2064
- Experimental: Native ES module bundle distribution in package
esm/excalibur.js
entrypoint
- Experimental: Native ES module bundle distribution in package
- feat: [#2069] Add easy reverse support to Animations by @eonarheim in #2070
ex.Animation
now supports.reverse()
to reverse the direction of play in an animation, use theex.Animation.direction
to inspect if the animation is playing in theex.AnimationDirection.Forward
direction or theex.AnimationDirection.Backward
direction.
- feat: [#2044] Add Current Graphics Keys to GraphicsComponent by @ignoreintuition in #2072
Bug Fixes
- fix: loader button position on window resize
- fix: issue with setting
ex.TileMap.z
to a value - fix: crash in debug system if there is no collider geometry
- fix: [#2049]: ImageSource loading error message by @nidble in #2052
- fix: [#1431] Dispatch the hidePlayButton on the Button Event to prevent that keep on the screen on some situations [#1431] by @catrielmuller in #2066
- fix: [#2076] Defer initialization until after final resolution calculated by @eonarheim in #2093
- fix: [#1731] Replace TSC build constant + Simplify version generation by @eonarheim in #2053
- revert: VSCode Workbench Colors configurations by @catrielmuller in #2067
Updates
Docs
- docs: Fix typos by @jedeen in #2055
- chore(storybook): fix Storybook by @kamranayub in #1986
Changed/Refactor
- feat: Refactor Actions to ECS System and Component by @eonarheim in #2061
- Internal Actions implementation converted to ECS system and component, this is a backwards compatible change with v0.25.0
ex.ActionsSystem
andex.ActionsComponent
now wrap the existingex.ActionContext
- Actions can be shared with all entities now!
- Dispatch the
hidePlayButton
on the Button Event to prevent that keep on the screen on some situations [#1431]. - Revert VSCode Workbench Colors
Build Dependencies Updates
- chore: Update dependency webpack to v5.56.1 by @renovate in #2054
- chore: Pin dependencies by @renovate in #2074
- chore: Update Node.js to v14.18.1 by @renovate in #2075
- chore: Update dependency @types/react-color to v3.0.6 by @renovate in #2077
- chore: Update dependency @types/webpack-env to v1.16.3 by @renovate in #2078
- chore: Update dependency eslint-plugin-jsdoc to v36.1.1 by @renovate in #2079
- chore: Update dependency karma to v6.3.6 by @renovate in #2080
- chore: Update dependency typescript to v4.4.4 by @renovate in #2081
- chore: Update storybook monorepo by @renovate in #2082
- chore: Update babel monorepo by @renovate in #2083
- chore: Update dependency karma to v6.3.7 by @renovate in #2091
- chore: Update dependency @octokit/rest to v18.12.0 by @renovate in #2084
- chore: Update dependency @types/jasmine to v3.10.1 by @renovate in #2085
- chore: Update dependency core-js to v3.19.0 by @renovate in #2086
- chore: Update dependency css-loader to v6.5.0 by @renovate in #2087
- chore: Update dependency replace-in-file to v6.3.2 by @renovate in #2088
- chore: Update dependency typedoc to v0.22.7 by @renovate in #2089
- chore: Update dependency webpack to v5.61.0 by @renovate in #2090
- chore: Update dependency webpack-cli to v4.9.1 by @renovate in #2092
Contributors
- @nidble made their first contribution in #2052
- @ignoreintuition made their first contribution in #2072
- @Evgenii190
- @floAr
- @tarsupin
- @nilskj
- @0xEAB
Full Changelog: v0.25.0...v0.25.1