melonJS 1.1.0 beta 1
Pre-release
Pre-release
- Core : reorganised source code for all basic object definition/augmentation
- Core : new CI and unit testing frameworks
- Core : new object inheritance mechanism: http://github.com/parasyte/jay-inheritance
- Core : added array random and weightedRandom functions (aaschmitz)
- Core : added a Base64 Encode function (aaschmitz)
- Core : new
me.Error
class to help better track down execeptions' origin - Core : brand new "Separate Axis Theorem " based collision algorithm (support polygon/ellipse, and providex more accurate collision response)
- Container :
addChild
andaddChildAt
now return the added child - Video : refactored canvas drawing out to me.CanvasRenderer. Video is now agnostic of rendering target. Use me.video.renderer to call things like getWidth, getHeight, getSystemCanvas, getSystemContext, etc.
- Video : constructor parameters changed. 2nd parameter now expects renderer type. For now, just supports me.video.CANVAS
- CanvasRenderer : object is passed to the draw calls of each object in the world Container. Implemented various draw apis fillRect, and fillArc for example.
- Renderable : renamed
me.SpriteObject
tome.Sprite
andme.ObjectContainer
tome.Container
, for a cleaner API - Renderable : constructors refactored to accept x & y numeric values, over a single vector object. Effects: me.Container, me.Rect, me.PolyShape, me.Ellipse, me.Renderable
- Shapes : setShape updated to accept x & y numeric values over a vector object for: me.Rect, me.PolyShape, me.Ellipse
- Camera : fixed viewport bounds setting when using isometric map (Juhana Paavola)
- Entity : entity object redesign with a full polygon shape based physic body implementation
- Entity :
me.ObjectEntity
has been renamed tome.Entity
to avoid confusion between the old and new entity component. - Audio : fixed some audio load issues and error callbacks
- Audio : sync'ed with last Howler 1.1.25 version (fixes numerous issues, see official changelog for more details)
- TMX : fixed the background color drawing when the level is smaller than the display canvas
- TMX : fixed the getTile function returning wrong tiles when using isometric maps