a fresh, modern & lightweight HTML5 game engine
MIT License
Bot releases are hidden (Show)
Published by obiot over 9 years ago
getChildByProp
and friends now accepts a RegExp for value matchingme.pool.exists
(@xorinzor)me.game.HASH
to pass key-value options in the URLpointerenter
and pointerleave
events (@TheManuz)releasePointerEvent
now accepts an optional extra argument that references "which callback" to releaseme.ParticleEmitter
me.Sprite
and me.AnimationSheet
(see the wiki upgrade guide)hWidth
and hHeight
propertiesme.TextureAtlas
has been renamed to me.video.renderer.Texture
id
(unique ID) property for objects (Tiled 0.11.0)options.transparent = true
to me.video.init()
new me.CanvasRenderer
and new me.WebGLRenderer
image-rendering
CSS property standard "pixelated" valuescaleMethod
option : fit
, fill-max
, flex-height
, flex-width
, and stretch
; replaces old maintainAspectRatio
flag (@Djokal)Published by obiot almost 10 years ago
onend
callbacks in me.audio.play
me.audio.play
now applies the loop
, onend
, and volume
properties only to the expected sound instance IDme.audio.unmute()
instance_id
parameter to mute
and unmute
methodsglobalAlpha
functionsme.Ellipse
(circle) and me.Line
shapesme.ObjectSettings
me.Font.setOpacity()
Published by obiot almost 10 years ago
Published by obiot almost 10 years ago
me.Polygon
/me.Line
shapes.me.video.WEBGL
flag to me.video.init()
Published by obiot almost 10 years ago
me.Polygon
/me.Line
shapes.me.video.WEBGL
flag to me.video.init()
Published by obiot about 10 years ago
me.Error
class to help better track down execeptions' originaddChild
and addChildAt
now return the added childme.SpriteObject
to me.Sprite
and me.ObjectContainer
to me.Container
, for a cleaner APIme.ObjectEntity
has been renamed to me.Entity
to avoid confusion between the old and new entity component.Published by obiot about 10 years ago
strokeArc
and fillArc
function from the canvas renderermaxChildren
and maxDepth
parameters when creating the quad tree, and increased maxChildren
default value to 8spritewidh
/spriteheight
properties (supposed to be optional)body
objects are now properly relative to their parent containerme.video.getPixelRatio
(was throwing an exception if called before me.video.init
)collisionMap
stroke*
functions to accept a linewidth
param.setCollisionMask
functionme.Error
classPublished by obiot about 10 years ago
me.Rect
constructorPublished by obiot about 10 years ago
me.Error
class to help better track down execeptions' originaddChild
and addChildAt
now return the added childme.SpriteObject
to me.Sprite
and me.ObjectContainer
to me.Container
, for a cleaner APIme.ObjectEntity
has been renamed to me.Entity
to avoid confusion between the old and new entity component.Published by obiot over 10 years ago
me.Vector2d
constructorPublished by obiot over 10 years ago
monospace
and "Trebuchet MS"
Published by obiot over 10 years ago
visible
flag not being set based on their parent group visible statuspauseOnBlur
and StopOnBlur
being enabled by defaultsetTile
functionPublished by obiot over 10 years ago
me.game
accordinglyme.game.world
as a reference to the game world root object container.me.device
object containing device specific capabilities and events (agmcleod)dispose
function)me.sys.scalingInterpolation
when display is resized.ratio
properties that are different valuesHUD
objects have been completely replaced by me.ObjectContainer; See Platformer example for new HUD implementation pattern.animationspeed
property, now defines the delay between frames in terms of milliseconds (as opposed to framecount)false
really fixed this time
me.Rect.getRect()
renamed getBounds()
Published by obiot over 10 years ago
me.TextureAtlas
)tps
data type has been changed to a more generic json
data type (agmcleaod)****move
eventsme.sys.isMobile
UA sniffer (fix Firefox OS detection)Published by obiot over 10 years ago
obj.alwaysUpdate
flag is enabledme.sys.isMobile
flag to detect running on a mobile devicescreencanvas
extension for CocoonJSme.game.remove()
destroying the object too earlyrenderable
component (does not anymore inherit from AnimationSheet)left
/top
me.Font
and me.BitmapFont
me.Vector2d
methods return a reference to this
, to allow method chainingme.input.unlockKey()
function that allows to manually unlock key (DblK)me.TextureAtlas
)me.ImageLayer.ratio
on Firefox & Operame.game.getEntityByProp()
function (DblK)pixelToTileCoords()
function)json:
viewport.shake()
Published by obiot over 10 years ago
me.loader.load
not adding TMX into the me.levelDirector
Published by obiot over 10 years ago
me.game.getEntityByName
function when using camelcase namesclick
, dblclick
, tap
eventscollideType
function to check for collision with a specific typerepeat
property to Image Layer instances, similar to CSS background-positiongetObjectGroupByName()
functionPublished by obiot over 10 years ago
Published by obiot over 10 years ago
Published by obiot over 10 years ago