melonJS/melonJS: Release 15.3.0
Added
- Renderer: new
scaleTarget
that allows to specify which HTML element to be used as reference when scaling the canvas (thanks @johnhyde)
Changed
- Application: world steps and rendering update are now done through a new global
TICK
event
- Application: further "decoupling" of Application, Stage and State (see #1091)
- Renderable : faster implementation of the
tint
getter/setter, and Color copy
method
Fixed
- doc: fix the @name value of
state.DEFAULT
(thanks @johnhyde)
- doc: fix documentation for the
TMXUtils
namespace
- Renderer: fix potential memory leak in WebGL, where the renderer was not clearing the save/restore stack upon reset
- TypeScript : fix optional arguments typings for all renderers and Application constructor