All Versions
90
Latest Version
Avg Release Cycle
10 days
Latest Release
654 days ago

Changelog History
Page 7

  • v3.1.0 Changes

    May 17, 2016
    • Audio : exposed a me.audio.rate function to allow modifying the playback rate of the specified audio clip.
    • 🍱 Audio : added back the possibility to stream audio elements (through the stream flag when defining audio assets)
    • Camera : use the alpha component of the given color as the threshold for fading effect
    • πŸ‘ Color : normalized support for #RGBA and #RRGGBBAA formats (to match CSS standard)
    • ⚑️ Core : added a me.game.updateFrameRate function to change the renderer framerate at runtime
    • πŸ‘€ Core : simplified the "startup" functions to allow for shorter initialization code (see boilerplate)
    • 🚚 Core : removed previous Ejecta "hacks" (requires the latest Ejecta 2.1/development version)
    • πŸ“š Documentation : various fixes and missing items added (e.g me.Object that was missing)
    • πŸ‘€ Debug : debug panel(s) now automatically register themselves upon loading (see boilerplate)
    • πŸ‘ Input : added support for gamepad analogue axis binding
    • πŸ›  Input : fixed a regression with pointer events not firing with "floating" regions (@thedrumchannell)
    • πŸ›  Particles : fixed a crash when removing a particle emmiter during a level change/reset
    • πŸ›  Renderable : fixed missing onDestroyEvent function when adding basic renderables to the game world.
    • πŸ›  Renderable : fixed Sprite objects initialization when using a string argument for "image" (@trevorjwilliams)
    • πŸ‘ TMX : added support for JSON-format external tilesets
    • πŸ›  TMX : fixed the clearTile function when using preRender and the WebGL renderer
    • πŸ’» TMX : fixed prerender on browsers that support Canvas2DContextAttributes.alpha
    • TMX : disabled animated tiles when using the prerender mode (these two are not compatible)
    • πŸ“œ TMX : fixed a regression with Tile property parsing
    • πŸ›  TMX : fixed a regression with level loading when no tilesets are defined.
    • πŸ›  TMX : fixed decoding of maps using CSV data format (in Tiled) and exported to JSON
    • πŸ‘ TMX : added support for typed custom properties (Tiled 0.16)
    • πŸ‘€ WebGLRenderer : added a workaround for Safari resetting WebGL attributes bindings (see #783)
  • v3.0.1 Changes

    February 23, 2016
    • πŸ›  Core : fixed/improved compatibility with Ejecta (e.g. initialization, CAFF support)
    • Input : actually really truly fix pointer event z-ordering, finally
  • v3.0.0 Changes

    November 03, 2015
    • ⚑️ Audio : updated to the latest Howler v2.0.0 beta version
    • Audio : added a me.audio.resume function for added convenience (was already possible by calling back me.audio.play)
    • Container : added an autoDepth feature that auto-increments a child's z-coordinate when inserted
    • πŸ‘ Color : add support for the #ARGB and #AARRGGBB formats
    • πŸ›  Core : renamed Object.extend to me.Object.extend (fixes conflicts with FaceBook SDK and underscore/lodash) (@jdrorrer)
    • πŸ”Œ Core : plugins are now registered to me.plugins to prevent collisions within the me.plugin namespace
    • Core : replaced String.contains by its ES6 equivalent: String.includes
    • Core : replaced Number.sign by its ES6 equivalentL Math.sign
    • 🚚 Core : me.game.currentLevel has been removed in favor of accessing objects through me.game.world -- added me.LevelDirector.getCurrentLevel() as a stop-gap
    • ⚑️ Core : added me.sys.updatesPerSecond to configure updating less often than drawing (@Giwayume)
    • Entity : new positioning method, where the renderable is positioned according to its anchor and the Entity's body anchor (@Giwayume)
    • πŸ— Examples : added an example showing how to build a basic menu (with a panel, checkboxes and buttons)
    • πŸ›  Font : fixed font height not being set when specifying a CSS Unit for the size
    • Font : added basic CSS Unit conversion from β€˜pt’,’ex’,’em’ to β€˜px’ (these are approximation and not guaranteed accurate)
    • πŸš€ General : the release build files are no longer versioned; this replaces the old style "melonJS-x.x.x.js" file naming convention with just "melonJS.js"
    • Geometry : added a new me.Vector3d and me.ObservableVector3d class
    • 🚚 Geometry : removed reverse method from Vector classes; use negateSelf instead
    • 🚚 Geometry : removed reflect and reflectN methods from Vector classes
    • πŸ›  Geometry : fixed floor and floorSelf methods on Vector classes with negative values
    • πŸ›  Geometry : fixed angle method on Vector classes
    • LevelDirector : level loading is now asynchronous; for sequential behavior, use the LEVEL_LOADED event or new onLoaded callback
    • πŸ”€ LevelDirector : added an options argument to the loading method; for specifying a target container, callback, and whether to merge (flatten) object groups
    • 🚚 Input : renamed last remaining mouse-related objects : me.input.mouse => me.input.pointer, me.event.MOVEMOVE => me.event.POINTERMOVE
    • πŸ‘ Input : added HTML5 Gamepad API support, with button and axis remapping
    • Input : optimised pointer detection using the quadtree
    • Input : now properly respect object z ordering when firing pointer events
    • πŸ›  Input : fixed event detection on items in a nested container
    • Renderable : prevent position vector re-allocation when pooling renderable objects
    • Renderable : renderables are now using a 3d Vector for position, using the z axis for layer ordering.
    • πŸ›  Renderable : fixed a distortion issue when scaling and rotating sprites (@Giwayume)
    • πŸ›  Renderable : fixed frame position when using cropping in TexturePacker (@Giwayume)
    • 0️⃣ Renderable : anchorPoints now defines the renderable position, scaling and rotation default origin point (@Giwayume)
    • πŸ‘ Renderable : better animation definition, allowing to set the animation delay on a per-frame basis
    • Renderable : added anchorPoint setting to the constructor
    • Renderer : added renderer.createPattern() and renderer.drawPattern()
    • πŸ‘ Shapes : added support for the free Physic Body Editor tool (in addition to the existing PhysicsEditor support)
    • πŸ”¨ Shapes : refactored me.Rect to inherit from me.Polygon
    • πŸ‘ Texture : added support for per-frame pivot points in animations (@Giwayume)
    • πŸ‘ TMX : added hexagonal map support (@matthewmmorrow)
    • ⚑️ TMX : optimized all renderers to be more GC friendly (using the pooling system for temporary objects)
    • πŸ”¨ TMX : refactored the me.TMXTileMap object, so that it can be used to easily add level into a container object
    • TMX : me.ImageLayer is now drawn relative to the viewport boundary, and can be anchored appropriately
    • 🚚 TMX : internally normalizes XML into the same JSON format supported by Tiled; cleans up many compatibility functions and removes several fallback cases
    • 🚚 TMX : removed me.TMXTileMap.moveToCenter and me.TMXTileMap.reset methods
    • πŸ‘ TMX : added support for per-frame animation delay to Tiled Objects (for tileset animations)
    • πŸ‘ TMX : added support for layer data encoding in JSON map format (Tiled 0.13)
    • πŸ‘€ TMX : added support for evaluations in TMX data; see spike entities in the platformer for a useful example
    • πŸ›  TMX : fixed an isometric rendering bug with odd tile heights
    • πŸ—„ TMX : throw an error message when using map exported in XML (deprecated in Tiled 0.15)
    • πŸ“œ TMX : allow to parse the backgroundcolor attribute as formatted in Tiled 0.15 (#AARRGGBB)
    • πŸ“œ TMX : use the new columns property (if available) when parsing maps (Tiled 0.15)
    • πŸ›  TMX : fixed a regression in AD tile rotation (squares tiles only)
    • ⚑️ Video : optimized ImageLayer repeat modes (repeat modes require power-of-two sized images for WebGL)
    • Video : added fill-min and flex scaling modes
    • Video : animations are now able to skip frames for low FPS devices and high-speed animations
    • WebGLRenderer : added a repeat parameter to createTexture method
  • v2.1.4 Changes

    September 09, 2015
    • β†ͺ Audio : fixed the audio-enable workaround on iOS9
    • πŸ›  Tween : fixed potential re-initialization issues when recycling tween objects.
  • v2.1.3 Changes

    July 26, 2015
    • πŸ›  Audio : fixed an issue with decoding audio data on Opera
    • ⚑️ Audio : updated to the latest 2.0 Howler beta (fixes a loop issue on Chrome mobile, and touch event for iOS playback)
    • πŸ›  Core : fixed an exception in the Map polyfill
    • πŸ“š Documentation : added docs for the Renderer interface, including the beta WebGLRenderer and shader
    • πŸ‘» Particles : fix an exception in me.ParticleContainer (introduced in 2.1.2)
    • πŸ›  TMX : fixed TMXLayer opacity when preRender is enabled
    • πŸ›  TMX : fixed ImageLayer opacity
    • πŸ›  Video : fixed a regression where me.device.getPixelRatio() no longer works when called before me.video.init() (introduced in 2.1.0)
    • πŸ›  WebGLRenderer : fixed a bug that causes a compile failure with the quad fragment shader on a small number of platforms
  • v2.1.2 Changes

    July 09, 2015
    • LevelDirector : do not replace Tile Object's renderable
    • πŸ›  Renderable : fixed renderable bounds initialization with object pooling
  • v2.1.1 Changes

    June 06, 2015
    • πŸ›  Container : fixed child bounds when manipulating the container position.
    • πŸ›  Core : fixed a regression when using the pooling system with renderables.
    • πŸ›  Examples : fixed conditional debugPanel loading in cocoonJS
    • πŸ›  Font : fixed the drawStroke function (@zoiba)
    • πŸ›  Input : fixed an uncaught exception with the 'maxTouchPoints' polyfill under Chrome 43+
    • πŸ›  Input : fixed/improved pointerEvent and pointerLeave event bindings for the sample GUI Object
    • πŸ“œ Loader : throw an exception indicating to use JSON if XML parsing is not supported by the browser/platform
  • v2.1.0 Changes

    May 08, 2015
    • 🚚 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
    • 0️⃣ 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
    • 0️⃣ 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)
  • v2.0.2 Changes

    December 15, 2014
    • Audio : automatically cleanup onend callbacks in me.audio.play
    • Audio : me.audio.play now applies the loop, onend, and volume properties only to the expected sound instance ID
    • Audio : fix me.audio.unmute()
    • ⚑️ Audio : updated to the latest Howler 2.0 build (various fixes and improvements)
    • Audio : added instance_id parameter to mute and unmute methods
    • πŸ“š Audio : updated documentation
    • πŸ›  CanvasRenderer : fixed an issue/regression with the globalAlpha functions
    • πŸ›  Core : fixed collision detection between me.Ellipse (circle) and me.Line shapes
    • πŸ›  Core : fixed renderable positioning with nested me.Container objects
    • πŸ›  Core : fixed an uncaught exception in IE9 with Float32Array
    • πŸ“š Documentation : fixed anchor positioning
    • πŸ“š Documentation : added anchor target highlighting
    • πŸ“š Documentation : fixes in me.Font, me.BitmapFont, and me.Entity
    • 🚚 Entity : removed me.ObjectSettings
    • πŸ›  Font : fixed globalAlpha not being set when using me.Font.setOpacity()
    • πŸ›  TMX : fixed an uncaught exception when loading a map with an empty object layer (thanks @Tiagojdferreira)
  • v2.0.1 Changes

    November 28, 2014
    • πŸ›  Core : fixed loading under CocoonJS when using Canvas+
    • Shapes : replaced the isometric magic numbers used for scaling, by proper and more accurate math constants (ldd)
    • πŸ›  Audio : fixed sound looping
    • πŸ›  Audio : fixed onend callback not being repeatedly fired when looping a sound
    • Audio : cleaned the onend callback when stopping a sound
    • Audio : added a me.audio.fade() function