4000.0.0-alpha.26
[4000.0.0-alpha.26] - 2026-01-12
Added
- Added
AreaCompOpt.isSensor. Areas without body or is sensor will no longer
be eligible for collisions - @mflerackers - Added
floodFill()for puzzle games - @mflerackers - Added
AreaComp.isVisuallyCollidingto test collisions in screen space. This
can be used for fixed objects which do not necessarily collide in world space.
Note that this involves additional processing as it tests outside the
collision system, which works in world space - @mflerackers - Added
buildConnectivityMap()- @mflerackers - Added
buildConvexHull()- @mflerackers
Changed
- Both worldPos and screenPos are properties now - @mflerackers
Fixed
- Fixed
tween()not cloning the passed vectors/colors - @lajbel - Fixed
timer()related events (tween/loop/wait) not takingdebug.timeScale
into account - @Stanko - Fixed the vibration effect on bodies introduced in alpha.25 thanks to
@lajbel's debugging skills - @mflerackers - Fixed
SpriteComp.hasAnim()returning false erroneously when the animation
named was just constant frame 0 - @dragoncoder047 - Fixed
levelComp.serialize()use for...of in the place of the for...in
when looping through the tile object keys - @benhuangbmj - Fixed input events attached to a game object having the event's paused value
reset when the object is paused or unpaused - @dragoncoder047 - Hidden objects are processed again in transform - @mflerackers
- When the parent is changed, the transform is invalidated - @mflerackers
- Fixed click and hover for
fixed()objects - @mflerackers - Object toWorld/fromWorld/toScreen/fromScreen work more logical now -
@mflerackers - Sticky platforms work again - @mflerackers
What's Changed
- feat: tween clone rgb/vec2 parameters by @lajbel in #982
- feat: Introduces sensors by @mflerackers in #979
- fix: return true for hasAnim() even if anim is just frame 0 by @dragoncoder047 in #985
- refactor: Convert hover handler to a system by @mflerackers in #986
- chore: build in typescript, improve contributing.md by @lajbel in #990
- fix: Should fix click by @mflerackers in #993
- feat: Added isVisuallyColliding to area by @mflerackers in #997
- feat: Added floodfill (used in various puzzle games and puzzle bobble like games) by @mflerackers in #998
- fix: input events now retain their paused state by @dragoncoder047 in #988
- fix: fix for loop syntax to use 'of' instead of 'in' by @benhuangbmj in #991
- fix(timer): use timeScale in loop/wait/tween by @Stanko in #1007
New Contributors
- @benhuangbmj made their first contribution in #991
- @Stanko made their first contribution in #1007
Full Changelog: 4000.0.0-alpha.25...4000.0.0-alpha.26