melonJS/melonJS: Release 6.3.0
Name: melonJS
Owner: melonJS
Release: melonJS 6.3.0
Released: 2018-12-22
License: MIT
Release Assets:
- Audio : audio core update (2.1.1), mostly improving auto audio unlock on latest (non-mobile) browser versions
- Color : fixed alpha value not being properly clamped (leading to issue in WebGL mode when passing the glArray buffer)
- Debug : fixed wrong bounding box drawing position for nested containers and entity childs
- Entity : fixed ancestor value for renderable component
- Renderable : added support for rendering mask (in both Canvas and WebGL mode), allowing to use any me.Shape object as a mask
- Renderer :
drawShape()
is deprecated and has been replaced by afill()
andstroke()
methods - Renderer : cleaned and aligned drawing APIs between the Canvas and WebGL Renderer
- WebGLRenderer : added stroke and fill operations for all me.Shape objects
- WebGLRenderer : fillRect() now use newly added fill method, instead of creating/using a fill texture
- WebGLRenderer : optimized memory usage for shape drawing operations
- WebGLRenderer : enable batching of triangle vertices to speed up shape drawing (when applicable)
- WebGLRenderer : fixed a clipping issue with nested containers
- WebGLRenderer : fixed the clearRect method