Releases: melonjs/melonJS
Releases · melonjs/melonJS
v15.15.0
20 Nov 00:52
Compare
Sorry, something went wrong.
No results found
Added
Renderable : new parentApp getter that returns the parent application/game instance to which a renderable belongs to.
Fixed
ImageLayer: fix a regression when loading a level within a sub container (thanks @RCL )
v15.14.0
16 Oct 23:57
Compare
Sorry, something went wrong.
No results found
Added
loader: prevent loading of previously loaded resources. e.g. duplicated resources across mutliple manifest (thanks @z0mb1 )
loader: add handling of asset load error, enabling to retry loading failed assets (thanks @z0mb1 )
Changed
UI: small optimization when rendering BitmapText
v15.13.0
07 Oct 08:15
Compare
Sorry, something went wrong.
No results found
Changed
UI: UITextButton backgroundColor and hoverColor properties are now deprecated in favor of hoverOffColor and hoverOnColor
Fixed
UI: fix duplicated text rendering in UITextButton
UI: fix an exception when destroying a UITextButton
v15.12.0
23 Sep 07:01
Compare
Sorry, something went wrong.
No results found
Added
Renderer: add proper width and height (getter/setter) properties and deprecate getHeight() and getWidth()
Changed
Audio: update howler.js to version 2.2.4
v15.11.0
15 Sep 05:51
Compare
Sorry, something went wrong.
No results found
plugin: the BasePlugin class now holds a reference to the app or game instance that registered the plugin
plugin: new plugin.get() method to retrieve a plugin instance by its Class Type or registered name
v15.10.0
05 Sep 00:39
Compare
Sorry, something went wrong.
No results found
Added
utils: new file getPath() method that return the path element of a full file path
Changed
Chore: new "docs" directory where production documentation is generated, and properly published using Github Workflows
Chore: update NPM dependencies
Fixed
Loader: fix the setParser() method not being exported (and therefore preventing from using and setting custom parser)
v15.9.2
28 Aug 08:02
Compare
Sorry, something went wrong.
No results found
Fixed
Renderer: fix the Canvas Renderer setMask() method ignoring the default path when no argument is passed
Geometries: fix missing type property for all geometry and use internally for type checking instead of relying on instanceof
v15.9.1
24 Aug 03:33
Compare
Sorry, something went wrong.
No results found
Fixed
Geometry: add default parameters to the Polygon constructor, allowing to instantiate "empty" polygons
TMX: fix CanvasRenderer option typo when using TMXLayer pre-rendering option (thanks @0o001 )
TypeScript: fix missing parameter for setMask() in the parent Renderer class
v15.9.0
16 Aug 00:43
Compare
Sorry, something went wrong.
No results found
Added
Input: new hasActiveEvents returning true if there are any pending events in the queue
Input: new hasRegisteredEvents returning true if there are registered pointer event listeners
Physic: new WORLD_STEP event emmitted after the builtin physic world has been updated (if enabled)
Renderer: fix/enable batching for all ellipse & arc(To) WebGL stroke operations
Renderer: the setTransform and transform() methods now also accept individual components to match the CanvasRenderingContext2D API
Fixed
Plugin: add missing deprecation warning for plugin.Base (deprecated since [15.1.6] and replaced by BasePlugin)
Changed
Physic: split the world update method into a separate step for clearer code when using custom update logic.
v15.8.0
29 Jul 01:57
Compare
Sorry, something went wrong.
No results found
Added
Doc: add proper documentation and example for Renderer drawing-related APIs
Physic: new physic flag allowing to disable the builtin physic implementation
Renderer: new TextureCanvas invalidate() method to force reuploading the corresponding WebGL Texture
Fixed
Doc: fix missing default game application instance
Renderer: properly deallocate and reallocate texture unit after a texture deletion in WebGL rendering mode