Releases: melonjs/melonJS
Releases · melonjs/melonJS
v14.1.1
Fixed
- Core: disable tree-shaking for now, as it is causing exception with the boilerplate
- ES6: use proper semantic when exporting default classes
- Physic: fix a regression in the quadtree implementation that was causing issues with some collision detection edge case
v14.1.0
v14.0.2
v14.0.1
v14.0.0
Added
- UI: New
UIBaseElement
class, a clickable container base UI element (thanks @wpernath) - UI: New
UITextButton
class, a clickable roundRect & Text base button (thanks @wpernath)
Changed
- Core: Build process will now only output a ES6 Bundle and the TS Declaration, ES5 is now fully deprecated
- Test Units: replaced the "old" ES5 based Jasmine+Karma framework by a modern ES6 based Mocha+Puppeteer one (thanks @L1lith)
- UI: the base
GUI_Object
class is now deprecated and replaced byUISpriteElement
, a Sprite based clickable element
Fixed
- Build: fix typescript generation (d.ts), no more missing API or modules
- Container: fix Container class initialization when no default viewport have been created
- Core: fix a regression with Ejecta platform detection (following ES6 refactoring)
v13.4.0
v13.3.0
v13.2.1
[13.2.1] (melonJS 2) - 2022-08-22
Fixed
- Release date and version/change tracking
[13.2.0] (melonJS 2) - 2022-08-22
Added
- Geometry: new base Point geometry object
- Tiled: now properly support Point geometry if defined in a map
Changed
- Core: replaced internal reference to the deprecated
trim[Left/Right]
methods by theirtrim[Start/End]
equivalents - WebGL: dissociate the
preMultipliedAlpha
setting from thetransparent
one since those are 2 different things
Fixed
- BitmapText: fix improper
fillStyle
initialization in BitmapText (thanks @wpernath) - Canvas: fix the "transparent" canvas mode with the canvas renderer (thanks @wpernath)
- Sprite: properly apply a tint when passed through the settings to the constructor
- WebGL: fix a regression with global opacity not being properly cascaded to texture in WebGL mode (thanks @wpernath)
v13.1.1
v13.1.0
Added
- Color: added a
setHSL(h, s, l)
andsetHSV(h, s, v)
method to the Color class - Tiled: add support for the new
class
property (note: melonJS will still set the deprecatedtype
one for backward compatibility) - Renderer: Canvas rendering mode can now be forced by adding
[#/&]canvas
to the URL (similarly with WebGL1/2 already) - Vector: new
moveTowards()
method for[Observable]Vector2d/3d
objects (limited to x and y axis for 3d vectors)
Changed
- Renderer: the double-buffering option for the Canvas Renderer is now deprecated, this to better align both renderer and enable further improvements
Fixed
- 9-Slice Sprite: fix resizing of a 9-slice sprite (thanks @NemoStein)
- Tiled: fix missing text property in TMX Object documentation
- Vector: fix
lerp()
not triggering the callback inObservableVector2/3d
objects - Renderer: fix the manual canvas scaling option (thanks @NemoStein)