Releases: melonjs/melonJS
Releases · melonjs/melonJS
v10.1.1
v10.1.0
Changed
- Input: refactor me.Pointer by extending me.Bounds instead of me.Rect (simplify implementation and memory usage when using pointer Event)
- WebGL: refactor/simplify the WebGLCompositor implementation to be more generic
- WebGL: prevent temporary Array Buffer Allocation when using WebGL2
- WebGL: tint color are now packed into Uint32 before passing them to the Vertex Shader
- Device: replace use of deprecated
onorientationchange()
event listener by the standard ScreenOrientation one
Fixed
- Input: fix a regression, throwing an undefined property exception, when accessing me.input.pointer before registering on any events (thanks @kkeiper1103)
- WebGL: fix initial declaration of the WebGLVersion property
v10.0.2
v10.0.1
v10.0.0
Added
- melonJS is now a pure ES6 library, for class definition, inheritance and semantic
- melonJS now includes typescript definition for the ESM
melonjs.module
bundle (thanks @qpwo) - Core : new
me.event.BOOT
event that will be triggered when melonJS is initialized - Physic : physic bodies can now be configured as static bodies (which do not move automatically and do not check for collision with others)
- Event : new system events at the beginning and end of both the update and draw "loop"
Changed
- Jay Inheritance has been replaced with ES6 standard inheritance
- Core : object using the pooling function must now implement a
onResetEvent
method and use therecycling
flag when registered - Core : manually pushing a non recyclable object into the object pool will now throw an exception instead of silently failing
- Physic : physic body update and collision check is now automatically done through the world simulation update loop
- Physic : fixed gravitational acceleration (thanks @neilsf)
- Event: minPubSub event based implementation has been replaced by a nodeJS event emitter based implementation
- Renderable: calling
flipX/Y()
without argument will now flip the renderable as expected
Deprecated
- all deprecated API from the legacy melonJS version have been removed
Fixed
- Renderer: fix the stencil masking feature on renderable components (for both WebGL and Canvas mode)
- Loader: fix a graphic glitch in the default preloading screen
v9.1.2
https://github.com/melonjs/melonJS/wiki/Upgrade-Guide#80x-to-91x-stable
Fixed
- fix a regression with state pause & resume when losing & gaining window focus
- remove duplicated translate method for basic shapes and add missing shift method to Polygon
v9.1.1
v9.1.0
[9.1.0] - 2021-09-26
Added
- Renderable : simplify ImageLayer implementation by extending Sprite object
- TMX : add missing tinting support for Image Layers (was added "only" for Tiled Layer in 9.0.0)
- TMX : add support for the new Tiled Parallax Layers x and y ratio properties
Fixed
- TMX : fix a regression with Parallax scrolling ratio
melonJS 9.0.2
- Audio : Howler audio core update (2.2.3)
- Core : overall code rewrite to comply with ES6 module and class semantic (at the exception of #1021)
- Core : melonJS build process now automatically output one ES5 umd "legacy" bundle, and one pure ES6 module
- Core : the "legacy" es5 umd bundle is now automatically transpiled (from ES6 to ES5) using rollup and bubble
- Core : internal rewrite on object bound implementation, with all Renderable now fully using/relying on the me.Bounds object introduced in last version
- Container : Unified bound management between Container and Renderable (Container now follow its parent Renderable implementation)
- Container : Containers defines an additional
enableChildBoundsUpdate
flag to enable full bounds update, including child bounds (disabled by default) - Entity : me.CollectableEntity is now deprecated and replaced by a more generic
me.Collectable
base object that do not extend me.Entity anymore - Entity : me.LevelEntity is now deprecated and replaced by a more generic
me.Trigger
objects that do not extend me.Entity anymore - Math : add missing
applyInverse()
method to the Matrix3d implementation - Math : fix Matrix3d translate method when passing a 2d vector as argument
- Renderable : fix Renderables bounds not correctly respecting the anchor point.
- Renderer : WebGL2 is now the default mode when using the WebGL renderer (use
preferWebGL1 = true
calling me.video.init if you need to force WebGL1) - Tiled : add TMX
tintcolor
parsing for tile and object layers - Stage :
me.Stage
constructor now accept new argument properties to specify theonResetEvent
andonDestroyEvent
functions - Stage : fix a crash with legacy API when using the deprecated me.ScreenObject object
- TMX : fix crash when trying to add collisionType to text nodes (thanks @framp)
- TMX : fix a regression with the Tile Layer preRender feature
- TMX : fix tile properties import for the new Tiled JSON format (thanks @3ck0o)
- TMX : "unnamed" object in Tiled will now instantiate base Renderable object (with a physic body) rather than an "sprite-less" Entity object
- Tween: allow to pass a set of tween properties to the '.to' method instead of just the duration (thanks @0xf0f0f0)
melonJS 8.0.1
8.0.0 release fix for NPM and jsDeliver, see https://github.com/melonjs/melonJS/releases/tag/8.0.0