melonJS v13.1.0 Release Notes
Release Date: 2022-08-10 // over 1 year ago-
โ 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)
- Color: added a