mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
3.2 KiB
3.2 KiB
Phaser 3.85.0 Change Log
Return to the Change Log index.
matter.js version 0.20.0
Highlights
- Added support for high refresh rate displays with fixed timestep in
Matter.Runner
- Added support for sub-stepping for higher quality simulations in
Matter.Runner
- Changed to a fixed timestep by default in
Matter.Runner
- Improved frame pacing and average performance up to ~6% (see #1238)
- Reduced average memory usage up to ~30% (see #1238)
- Reduced memory garbage collection
- Bug fixes and improvements see changelog
Changes
See the release compare page and the changelog for a detailed list of changes.
Migration
Matter.Runner
related changes #1254:
Matter.Runner
now defaults to a fixed deterministic timestep and support for non-fixed timestep is removed- Optionally set your performance budgets
runner.maxFrameTime
(see docs) - Note that
Matter.Runner
can now call zero, one, or multiple engine updates and events per display frame (see docs) - If needed set up your polyfill for
window.requestAnimationFrame
- See
Matter.Runner
updated docs throughout
Performance related changes #1238:
Matter.Collision
usecollision.supportCount
instead ofcollision.supports.length
for active support countMatter.Pair
usepair.contacts
instead ofpair.activeContacts
Matter.Pair
usepair.contactCount
instead ofpair.contacts.length
for active contact countPair.id
format has changed
Comparison
For more information see comparison method.
Output sample comparison estimates of 44 examples against previous release matter-js@0.19.0:
Similarity 99.80% Overlap -1.92% Filesize +3.38% 81.58 KB
airFriction · · avalanche ● · ballPool ● · bridge ● · car ● · catapult ● ·
chains ● · circleStack · · cloth ● · collisionFiltering ● · compositeManipulation ● ·
compound · · compoundStack ● · concave ● · constraints ● · doublePendulum · ·
events ● · friction · · gravity ● · gyro ● · manipulation ● ◆
mixed ● · newtonsCradle · · pyramid ● · ragdoll ● · raycasting ● ·
remove ● ◆ restitution · · rounded ● · sensors · · sleeping ● ◆
slingshot ● · softBody ● · sprites ● · stack · · staticFriction ● ·
stats ● · stress ● · stress2 ● · stress3 ● · stress4 ● ·
timescale ● · views ● · wreckingBall ● ·
where for the sample · no change detected ● extrinsics changed ◆ intrinsics changed
Contributors ♥︎
Many thanks to the contributors of this release, past contributors as well those involved in the community for your input and support.