- 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)