melonJS/melonJS: Release 2.1.0
Name: melonJS
Owner: melonJS
Release: melonJS 2.1.0
Released: 2015-05-05
License: MIT
Release Assets:
- Audio & Loader : file/clip names passed to various methods are now case sensitive. Removed uses of toLowerCase on variables.
- Audio : properly dispose of audio resources when using cocoonJS
- Container :
getChildByProp
and friends now accepts a RegExp for value matching - Color : added high-precision color transformation for me.Color
- Core : added
me.pool.exists
(@xorinzor) - Core : fixed collision detection with nested Containers
- Core : added
me.game.HASH
to pass key-value options in the URL - Core : now uses only case-sensitive string matching; DoN't MiX cAsE!
- Device : added browser language detection
- Entity : entity bodies now have a default shape if not overridden by the entity constructor.
- Entity : renderables are now positioned relative to the body bounds
- Font : updated me.Font to work with me.Color (@xorinzor)
- Font : updated the me.Font api to be consistent with me.BitmapFont and the Renderer class
- Font : added support for WebGL (using me.Font is however not recommended for performances reason)
- Input : added support for
pointerenter
andpointerleave
events (@TheManuz) - Input : allow regions to be any shape when registering pointer event, and not just me.Rect
- Input :
releasePointerEvent
now accepts an optional extra argument that references "which callback" to release - Particles : fixed angle variation and speed variation in
me.ParticleEmitter
- Renderable : normalized constructors for
me.Sprite
andme.AnimationSheet
(see the wiki upgrade guide) - Renderable : removed
hWidth
andhHeight
properties - Shapes : added basic support for the PhysicsEditor tool (mainly shapes definition)
- Texture : added support for the WebGL Renderer
- Texture : texture atlas can now be created using a “standard” sprite sheet
- Texture :
me.TextureAtlas
has been renamed tome.video.renderer.Texture
- TMX : added parsing of the new
id
(unique ID) property for objects (Tiled 0.11.0) - TMX : fixed horizontal, vertical and antidiagonal flipping for tile objects
- TMX : remove deprecated "transparency color" - use PNG images with alpha channel instead
- Video : refactored the me.video.init to be more flexible in terms of mandatory/optional arguments
- Video : turn canvas transparency off by default; can be enabled by passing
options.transparent = true
tome.video.init()
- Video : renderers are now classes that can be instantiated with
new me.CanvasRenderer
andnew me.WebGLRenderer
- Video : added support for the
image-rendering
CSS property standard "pixelated" value - Video : added new
scaleMethod
option :fit
,fill-max
,flex-height
,flex-width
, andstretch
; replaces oldmaintainAspectRatio
flag (@Djokal)