melonJS v10.10.0 Release Notes

Release Date: 2022-06-07 // almost 2 years ago
  • โž• Added

    • 0๏ธโƒฃ Core: new CanvasTexture object to allow recycling canvas through the engine (text caching, default particles, effect, etc..)
    • ๐Ÿšง Core : new experimental light effect that simply simulate a spot/point light for now (work in progress)
    • Color : allow overriding the alpha component with a specific value when calling toRGBA or toHex8
    • ๐Ÿ‘ Renderer: support reverse clipping when applying geometry masks (alpha component of the masked area is ignored in legacy Canvas rendering mode)
    • Renderer: added multiple clipping region for masks (only works with overlapping region in legacy Canvas rendering mode)

    ๐Ÿ”„ Changed

    • ๐Ÿ“œ TMX: replace use of eval() by Function() when parsing map including executable code
    • ๐Ÿ—„ Core: replace internal calls to deprecated substr function with slice

    ๐Ÿ›  Fixed

    • โšก๏ธ Renderable: mark renderable(s) as dirty when their pos or bounds are updated
    • Geometry: fix a regression with roundRect shape drawing