Skip to content

melonJS 6.3.0

Compare
Choose a tag to compare
@obiot obiot released this 24 Dec 00:54
  • 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 a fill() and stroke() 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