phaser-slopes
phaser-slopes copied to clipboard
:triangular_ruler: A Phaser 3 Plugin that smooths out MatterJS Tilemap Layer collisions
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
[Matter.js 0.18.0](https://github.com/liabru/matter-js/blob/0.18.0/CHANGELOG.md), and downstream [Phaser 3.60.0-beta.4](https://github.com/photonstorm/phaser/releases/tag/v3.60.0-beta.4), have introduced some breaking changes to collision handling, albeit in the name of optimisation. Fix these incompatibilities in their entirety and try to incorporate...
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. Changelog Sourced from ssri's changelog. 6.0.2 (2021-04-07) Bug Fixes backport regex change from 8.0.1 (b30dfdb), closes #19 Commits b7c8c7c chore(release): 6.0.2 b30dfdb fix: backport...
Installed using npm as per readme. Getting the following errors during game build: `ERROR in ./node_modules/phaser-slopes/src/Matter/World.js Module not found: Error: Can't resolve 'phaser/src/physics/matter-js/lib/geometry/Bounds' in '/home/b3l7/Repos/hoq/node_modules/phaser-slopes/src/Matter' @ ./node_modules/phaser-slopes/src/Matter/World.js 2:0-70 527:9-15 611:9-15...
When colliding with certain tiles (currently, just "L shaped collision" ones), the game is frozen, and an error is thrown in the console: `TypeError: pair.collision.edge is undefined, can't access property...
Some data and code is irrelevant to the final solution, left over from experimentation. Remove it.
The `Resolver.preSolveCollision()` override can be extracted to an event listener. The less overrides, the better!
Collision reuse was circumvented while implementing edge collision. It needs to be restored.
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...