All Versions
90
Latest Version
Avg Release Cycle
10 days
Latest Release
506 days ago

Changelog History
Page 2

  • v13.1.1 Changes

    August 10, 2022

    ๐Ÿ›  Fixed

    • ๐Ÿš€ Release date and version/change tracking
  • v13.1.0 Changes

    August 10, 2022

    โž• 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)
  • v13.0.0 Changes

    July 18, 2022

    โž• added

    • Event: also provide a reference to the camera viewport being resized when emitting VIEWPORT_ONRESIZE
    • ๐Ÿฑ Unit Test: added base64 encoded data preload testing for image and audio assets
    • Utils: new isDataUrl() helper returning true if the given url is in the data:[<mediatype>][;base64],<data> format.

    ๐Ÿ”„ Changed

    • ๐Ÿ”จ Core: full ES6 refactoring of me.device, and API clean-up (@see https://github.com/melonjs/melonJS/wiki/Upgrade-Guide#120x-to-130x-stable)
    • ๐Ÿ”จ Game: refactoring of the global game into an instantiable Application object, with game now being the default instance of it (@see #1091)
    • ๐Ÿฑ Loader: onload and onerror callbacks are now optionals when directly loading assets (easier with base64 encoded assets)
    • ๐Ÿ‘€ Physic: World physic implementation is now properly tight to its corresponding parent application/game (@see #1091)
    • Physic: Gravity is now properly applied as a force, instead of directly modifying a body velocity
    • Physic: Gravity now properly takes in account the body mass
    • โšก๏ธ Physic: resulting force is now properly cancelled at the end of an update cycle (not required anymore to manually set it to 0 in user code)

    ๐Ÿ›  Fixed

    • ๐Ÿ“š Doc: fix missing Timer documentation following previous refactoring
    • ๐Ÿฑ Loader: fix loading/preloading of base64 audio assets, and base64 encoded FontFace
    • Renderer: fix a regression with the masking features in the Canvas Rendering mode
    • ๐Ÿ‘ป Text: fix an uncaught exception when removing Text object from the game world that use offScreenCanvas texture caching (thanks @wpernath)
  • v12.0.0 Changes

    June 27, 2022

    ๐Ÿ”„ Changed

    • โšก๏ธ Loader: the default loading screen has been updated with the new melonjs logo
    • String: replaced own trim[left/right] functions with native es10 equivalent (with polyfill)
  • v11.0.0 Changes

    June 23, 2022

    โž• Added

    • Event: new DOM_READY event triggered when the DOM is loaded and ready (now used internally to trigger the onReady() function)

    ๐Ÿ”„ Changed

    • โšก๏ธ Renderable: update the Light2d constructor to allow creating elliptical shaped lights

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ป Core: fix an uncaught exception when using parcel (thanks @8Observer8)
  • v10.12.0 Changes

    June 20, 2022

    โž• Added

    • State: new get(state) function that return the instance to the Stage associated with the given state

    ๐Ÿ”„ Changed

    • ๐Ÿšš Physic: simplify the collision api and implementation (removed collision.response that serves no purpose anymore)
    • Pooling: silently fail if internally failing at recycling body physic shapes

    ๐Ÿ›  Fixed

    • Physic: fix a regression with Ellipse vs Polygon SAT collision detection
    • 0๏ธโƒฃ Text: make sure the optional x and y arguments of the draw method are set to a default value
    • TypeScript: fix and uniform draw method signature across all renderables
    • TypeScript: fix typings for the onCollision method
    • TypeScript: fix setMaxVelocity and setFriction method scope
    • Webdoc: fix wrong or missing argument names (Path2D.arcTo, Rect.centerOn, Texture.AdduVs)
  • v10.11.0 Changes

    June 14, 2022

    ๐Ÿ”„ Changed

    • Core: fix all rollup "$1" related duplicated declaration and/or export
    • ๐Ÿ”จ Core: refactored Timer into an instantiable class with timer (namespace) now being the default instance of the Timer class
    • ๐Ÿ“š Doc: replaced JSDoc by Webdoc for documentation generation (huge thanks to @ShukantPal)

    ๐Ÿ›  Fixed

    • Bounds: fix the addFrame() method
    • Core: fix a regression when accessing localStorage
    • Core: fix a regression when when running melonJS in node.js (undefined global reference in the roundRect polyfill)
    • ๐Ÿ‘ฏ Geometry: fix the RoundRect clone() method
    • Input: fix PointerEvent detection on Firefox for Android mobile (thanks @kutyamutya)
    • Renderer: fix a regression with strokeLine() in the CanvasRenderer
  • v10.10.0 Changes

    June 07, 2022

    โž• 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
  • v10.9.0 Changes

    May 21, 2022

    โž• Added

    • Geometry : add a proper contains and other utility methods to RoundRect

    ๐Ÿ›  Fixed

    • Renderer: fix clipping of RoundRect mask with the Canvas Renderer
  • v10.8.0 Changes

    May 16, 2022

    โž• Added

    • Geometry : new RoundRect geometry object
    • ๐Ÿ‘ Geometry : new Path2D API to provide better abstraction when drawing primitives in WebGL

    ๐Ÿ”„ Changed

    • ๐Ÿ”จ Renderer: refactored the WebGL renderer to use the new Path2D API for primitive drawing

    ๐Ÿ›  Fixed

    • Core: improve internal object recycling, to fix instance leaking or hoarding by the pool system
    • โš  Input: fix a warning on using passive target disabling swipe on a WebView (thanks @zngb)