All Versions
90
Latest Version
Avg Release Cycle
10 days
Latest Release
654 days ago
Changelog History
Page 7
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)
- Audio : exposed a
-
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 backme.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
tome.Object.extend
(fixes conflicts with FaceBook SDK and underscore/lodash) (@jdrorrer) - π Core : plugins are now registered to
me.plugins
to prevent collisions within theme.plugin
namespace - Core : replaced
String.contains
by its ES6 equivalent:String.includes
- Core : replaced
Number.sign
by its ES6 equivalentLMath.sign
- π Core :
me.game.currentLevel
has been removed in favor of accessing objects throughme.game.world
-- addedme.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
andme.ObservableVector3d
class - π Geometry : removed
reverse
method from Vector classes; usenegateSelf
instead - π Geometry : removed
reflect
andreflectN
methods from Vector classes - π Geometry : fixed
floor
andfloorSelf
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()
andrenderer.drawPattern()
- π Shapes : added support for the free Physic Body Editor tool (in addition to the existing PhysicsEditor support)
- π¨ Shapes : refactored
me.Rect
to inherit fromme.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
andme.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
andflex
scaling modes - Video : animations are now able to skip frames for low FPS devices and high-speed animations
- WebGLRenderer : added a
repeat
parameter tocreateTexture
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 beforeme.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
- LevelDirector : do not replace Tile Object's
-
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
andpointerLeave
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
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
- 0οΈβ£ 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)
-
v2.0.2 Changes
December 15, 2014- Audio : automatically cleanup
onend
callbacks inme.audio.play
- Audio :
me.audio.play
now applies theloop
,onend
, andvolume
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 tomute
andunmute
methods - π Audio : updated documentation
- π CanvasRenderer : fixed an issue/regression with the
globalAlpha
functions - π Core : fixed collision detection between
me.Ellipse
(circle) andme.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)
- Audio : automatically cleanup
-
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