Commits
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Pause System
* added a getter for pause status
* documentation, exposing Pause, vitest
* ran linter
* fixed particles
* added paused component to particle
* attempt a fix
* remove twoslash
* rm: package-lock.json
* Revert "rm: package-lock.json"
This reverts commit 566633350af750bd8ab2c0fccb1428c9c38f8834.
* Revert "remove twoslash"
This reverts commit 8080cb0d28a316b7b101bb0faceffb2e6abdecb9.
* revert package-lock.json to main
---------
Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>
Co-authored-by: Kamran Ayub <kamran@hey.com>
* ready for first cut review
* tweaks
* cleaned up TComp comments
* added documentation and cleaned up Serializer
* feat: Add unit tests for Serializer functionality and initialization
* linting changes
* fix: Update getRegistry return type to Map for better type safety, fixed linting and test issues
* fix index
* fix imports
* remove vestigial index
* rename spec to lc
* fix spec imports
* update imports
---------
Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Supports creating an instance of Sound to wrap
an already loaded Blob.
Resolves: #3688
## Changes:
- `Sound` class has static asynchronous `fromBlob` method, which yields a ready to play sound object.
Closes #3690
## Changes:
- Add `Color.fromFLoatArray` and `Color.toFloatArray` methods
- Replace couple places from `color.r / 255, color.g / 255, ...` to `colot.toFloatArray()`
This reverts commit 1511515c2c6e90c424b654491d3d4772d665316e.
This reverts commit 6f079bbacf495fd943d73aec60e45562166c6ddd.
Docusaurus ComponentCreator copies CJS interop properties onto function
components, hitting read-only Function.length. Two patch-package fixes:
- @docusaurus/core: try-catch in ComponentCreator.js property assignment
- docusaurus-plugin-typedoc-api: make ApiPage.length writable before export
Bumps and [ajv](https://github.com/ajv-validator/ajv). These dependencies needed to be updated together.
Updates `ajv` from 8.12.0 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.12.0...v8.18.0)
Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.12.0...v8.18.0)
---
updated-dependencies:
- dependency-name: ajv
dependency-version: 8.18.0
dependency-type: indirect
- dependency-name: ajv
dependency-version: 6.14.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash-es](https://github.com/lodash/lodash) to 4.17.23 and updates ancestor dependency [mermaid](https://github.com/mermaid-js/mermaid). These dependencies need to be updated together.
Updates `lodash-es` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)
Updates `mermaid` from 11.12.2 to 11.12.3
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.12.2...mermaid@11.12.3)
---
updated-dependencies:
- dependency-name: lodash-es
dependency-version: 4.17.23
dependency-type: indirect
- dependency-name: mermaid
dependency-version: 11.12.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add some lines omitted:
- Imports doesn't mentioned.
- Vector class needs 'new' keyword to make a new instance.
- Specific all actors added on each step.
Closes: https://github.com/excaliburjs/Excalibur/pull/3448
Bumps [diff](https://github.com/kpdecker/jsdiff) from 5.2.0 to 5.2.2.
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v5.2.0...v5.2.2)
---
updated-dependencies:
- dependency-name: diff
dependency-version: 5.2.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)
---
updated-dependencies:
- dependency-name: lodash
dependency-version: 4.17.23
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.95.0 to 5.105.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.95.0...v5.105.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-version: 5.105.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.0 to 14.1.1.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.0...14.1.1)
---
updated-dependencies:
- dependency-name: markdown-it
dependency-version: 14.1.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Fix indentation in the bird movement snippet.
- Move initialization logic to start() to match the stop() encapsulation pattern.
- Remove the placeholder comment since start() is no longer empty.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Issue was raised by @JSLegendDev on the discord https://discord.com/channels/1195771303215513671/1471972758136164606/1471985432568004649
Safari doesn't do as well when re-rastering and uploading that to the GPU causing visible hitches in games which is unacceptable. This can be worked around in the current version by reducing `quality` or making the text as static as possible for unchanging glyphs.
This PR improves the texture usage and reduces the size of text needed to raster for equivalent or better quality text
## Changes:
- Internally we use the smallest possible bitmap to represent the text
- Caching lookups are improved by using actual hashing with numbers
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This is a small adaptation to Graph class, to replace excalibur-pathfinding
## Changes:
- add `reset` method in Graph class
- add possibility to use a Data with id in Graph node, to use a custom id
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
<!--
Hi, and thanks for contributing to Excalibur!
Before you go any further, please read our contributing guide: https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md
especially the "Submitting Changes" section:
https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#submitting-changes
---
A quick summary checklist is included below for convenience:
-->
=== :clipboard: PR Checklist :clipboard: ===
- [x] :pushpin: issue exists in github for these changes
- [x] :microscope: existing tests still pass
- [x] :see_no_evil: code conforms to the [style guide](https://github.com/excaliburjs/Excalibur/blob/main/STYLEGUIDE.md)
- [x] :triangular_ruler: new tests written and passing / old tests updated with new scenario(s)
- [x] :page_facing_up: changelog entry added (or not needed)
==================
<!-- If you're closing an issue with this pull request, or contributing a significant change, please include your changes in the appropriate section of CHANGELOG.md as outlined in https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#creating-a-pull-request. -->
<!--Please format your pull request title according to our commit message styleguide: https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#commit-messages -->
<!-- Thanks again! -->
<!--------------------------------------------------------------------------------------------->
Closes #3649
## Changes:
- `Color.lerp` rename to `Color.lerpHSL`
- add `Color.lerpRGB` method, which uses linear interpolation for blending color
- add `Color.lerpLRGB` method, which uses linear interpolation with gamma correction
- add `Color.lerp` again, now as alias for other lerp methods with optional `colorSpace` param
* Pause System
* added a getter for pause status
* documentation, exposing Pause, vitest
* ran linter
* fixed particles
* added paused component to particle
* attempt a fix
* remove twoslash
* rm: package-lock.json
* Revert "rm: package-lock.json"
This reverts commit 566633350af750bd8ab2c0fccb1428c9c38f8834.
* Revert "remove twoslash"
This reverts commit 8080cb0d28a316b7b101bb0faceffb2e6abdecb9.
* revert package-lock.json to main
---------
Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>
Co-authored-by: Kamran Ayub <kamran@hey.com>
* ready for first cut review
* tweaks
* cleaned up TComp comments
* added documentation and cleaned up Serializer
* feat: Add unit tests for Serializer functionality and initialization
* linting changes
* fix: Update getRegistry return type to Map for better type safety, fixed linting and test issues
* fix index
* fix imports
* remove vestigial index
* rename spec to lc
* fix spec imports
* update imports
---------
Co-authored-by: Erik Onarheim <erik.onarheim@gmail.com>
This reverts commit 6f079bbacf495fd943d73aec60e45562166c6ddd.
Bumps and [ajv](https://github.com/ajv-validator/ajv). These dependencies needed to be updated together.
Updates `ajv` from 8.12.0 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.12.0...v8.18.0)
Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v8.12.0...v8.18.0)
---
updated-dependencies:
- dependency-name: ajv
dependency-version: 8.18.0
dependency-type: indirect
- dependency-name: ajv
dependency-version: 6.14.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash-es](https://github.com/lodash/lodash) to 4.17.23 and updates ancestor dependency [mermaid](https://github.com/mermaid-js/mermaid). These dependencies need to be updated together.
Updates `lodash-es` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)
Updates `mermaid` from 11.12.2 to 11.12.3
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.12.2...mermaid@11.12.3)
---
updated-dependencies:
- dependency-name: lodash-es
dependency-version: 4.17.23
dependency-type: indirect
- dependency-name: mermaid
dependency-version: 11.12.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [diff](https://github.com/kpdecker/jsdiff) from 5.2.0 to 5.2.2.
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v5.2.0...v5.2.2)
---
updated-dependencies:
- dependency-name: diff
dependency-version: 5.2.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)
---
updated-dependencies:
- dependency-name: lodash
dependency-version: 4.17.23
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.95.0 to 5.105.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.95.0...v5.105.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-version: 5.105.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.0 to 14.1.1.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.1.0...14.1.1)
---
updated-dependencies:
- dependency-name: markdown-it
dependency-version: 14.1.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Issue was raised by @JSLegendDev on the discord https://discord.com/channels/1195771303215513671/1471972758136164606/1471985432568004649
Safari doesn't do as well when re-rastering and uploading that to the GPU causing visible hitches in games which is unacceptable. This can be worked around in the current version by reducing `quality` or making the text as static as possible for unchanging glyphs.
This PR improves the texture usage and reduces the size of text needed to raster for equivalent or better quality text
## Changes:
- Internally we use the smallest possible bitmap to represent the text
- Caching lookups are improved by using actual hashing with numbers
<!--
Hi, and thanks for contributing to Excalibur!
Before you go any further, please read our contributing guide: https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md
especially the "Submitting Changes" section:
https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#submitting-changes
---
A quick summary checklist is included below for convenience:
-->
=== :clipboard: PR Checklist :clipboard: ===
- [x] :pushpin: issue exists in github for these changes
- [x] :microscope: existing tests still pass
- [x] :see_no_evil: code conforms to the [style guide](https://github.com/excaliburjs/Excalibur/blob/main/STYLEGUIDE.md)
- [x] :triangular_ruler: new tests written and passing / old tests updated with new scenario(s)
- [x] :page_facing_up: changelog entry added (or not needed)
==================
<!-- If you're closing an issue with this pull request, or contributing a significant change, please include your changes in the appropriate section of CHANGELOG.md as outlined in https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#creating-a-pull-request. -->
<!--Please format your pull request title according to our commit message styleguide: https://github.com/excaliburjs/Excalibur/blob/main/.github/CONTRIBUTING.md#commit-messages -->
<!-- Thanks again! -->
<!--------------------------------------------------------------------------------------------->
Closes #3649
## Changes:
- `Color.lerp` rename to `Color.lerpHSL`
- add `Color.lerpRGB` method, which uses linear interpolation for blending color
- add `Color.lerpLRGB` method, which uses linear interpolation with gamma correction
- add `Color.lerp` again, now as alias for other lerp methods with optional `colorSpace` param