github melonjs/melonJS 2.1.0
melonJS 2.1.0

latest releases: 10.5.2, 10.5.1, 10.5.0...
8 years ago
  • 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 and pointerleave 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 and me.AnimationSheet (see the wiki upgrade guide)
  • Renderable : removed hWidth and hHeight 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 to me.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 to me.video.init()
  • Video : renderers are now classes that can be instantiated with new me.CanvasRenderer and new 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, and stretch; replaces old maintainAspectRatio flag (@Djokal)

Don't miss a new melonJS release

NewReleases is sending notifications on new releases.