All Versions
90
Latest Version
Avg Release Cycle
10 days
Latest Release
506 days ago
Changelog History
Page 2
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)
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
-
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 thedata:[<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 instantiableApplication
object, withgame
now being the default instance of it (@see #1091) - ๐ฑ Loader:
onload
andonerror
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)
- Event: also provide a reference to the camera viewport being resized when emitting
-
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 theonReady()
function)
๐ Changed
- โก๏ธ Renderable: update the Light2d constructor to allow creating elliptical shaped lights
๐ Fixed
- ๐ป Core: fix an uncaught exception when using parcel (thanks @8Observer8)
- Event: new
-
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
andy
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
andsetFriction
method scope - Webdoc: fix wrong or missing argument names (
Path2D.arcTo
,Rect.centerOn
,Texture.AdduVs
)
- State: new
-
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
ortoHex8
- ๐ 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()
byFunction()
when parsing map including executable code - ๐ Core: replace internal calls to deprecated
substr
function withslice
๐ Fixed
- โก๏ธ Renderable: mark renderable(s) as dirty when their pos or bounds are updated
- Geometry: fix a regression with roundRect shape drawing
- 0๏ธโฃ Core: new
-
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
- Geometry : add a proper
-
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)