melonJS/melonJS: Release 6.2.0
Name: melonJS
Owner: melonJS
Release: melonJS 6.2.0
Released: 2018-11-23
License: MIT
Release Assets:
- Audio : fixed a regression when passing an initial volume value to the play function (thanks @PLAYERKILLERS)
- Container : new
getNextChild
function that returns the next child within the container - Core : renamed
me.ScreenObject
tome.Stage
(with an alias tome.ScreenObject
for Backward compatibility) - Core : cleaned and improved the window auto focus feature
- Core : improve automatic object instance collection & recycling of base components like vectors and shapes.
- Core : ensure the internal coordinates system is updated when the DOM tree structure is modified
- Camera :
me.Camera2d
objects can now be defined per Stage, rather than having one static global camera underme.game
- Camera : fix infinite generation of the VIEWPORT_ONCHANGE event when using camera damping
- Device : added a me.device.focus() function
- Entity : fix "DRAGEND" event triggering for Draggable Entity, when pointer is moved outside of the screen area
- Entity : fix a regression introduced in 6.0 on optional me.Entity constructor parameters
- Font : fix bounds calculation for BitmapFont objects
- Font : enable Font & BitmapFont bounding box drawing through the Debug Panel
- Font : fix missing documentation on properties for BitmapFont Object.
- Font : Font & BitmapFont objects can now be directly added to a container like any other me.Renderable
- Font : Improved performances when drawing regular me.Font objects
- Font : new me.Text and me.BitmapText generic object replacing me.Font and me.BitmapFont (now deprecated)
- Input : fix a potential issue with "undefined" pointer location upon loading
- Loader : added support for Font Face preloading
- Math : new
toBeCloseTo
function to determine if two values are closed "enough" to eachother - Renderable : new onVisibilityChange event handler that is called when leaving or entering a camera viewport
- Renderable : fix documentation for the container
clipping
flag (was accidentally left private) - Renderable : update visibility flag for floating objects using actual screen coordinates
- Sprite : fix an issue when flipping trimmed sprite textures (@YosuaHamonangan)
- TMX : add support for orthogonal tile rendering order
- TMX : add support for Text object, allowing to add me.Text or me.BitmapText directly from Tiled
- TMX : optimized the getTile function to avoid duplicate calls to the pixel to tile coordinates functions
- WebGLRenderer : fix a bug when clipping is disabled due to the clipping area being equal to the canvas size