melonJS v13.1.0 Release Notes

Release Date: 2022-08-10 // over 1 year ago
  • โž• Added

    • Color: added a setHSL(h, s, l) and setHSV(h, s, v) method to the Color class
    • ๐Ÿ—„ Tiled: add support for the new class property (note: melonJS will still set the deprecated type 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 in ObservableVector2/3d objects
    • Renderer: fix the manual canvas scaling option (thanks @NemoStein)