a fresh, modern & lightweight HTML5 game engine
MIT License
Bot releases are hidden (Show)
Published by obiot over 5 years ago
Published by obiot over 5 years ago
Published by obiot over 5 years ago
Published by obiot almost 6 years ago
drawShape()
is deprecated and has been replaced by a fill()
and stroke()
methodsPublished by obiot almost 6 years ago
getNextChild
function that returns the next child within the containerme.ScreenObject
to me.Stage
(with an alias to me.ScreenObject
for Backward compatibility)me.Camera2d
objects can now be defined per Stage, rather than having one static global camera under me.game
toBeCloseTo
function to determine if two values are closed "enough" to eachotherclipping
flag (was accidentally left private)Published by obiot about 6 years ago
Published by obiot about 6 years ago
clipping
feature to automatically clip childrens to their parent container bounds (disable by default)me
namespaceequals
function for me.Rect shapeonComplete
callbackfailIfMajorPerformanceCaveat
by default when attempting to create a GL ContextPublished by obiot over 6 years ago
onChildChange
callback for when a child is added or removedisKinematic
is now true by default except for me.Entity, me.Container and me.GUI objectPublished by obiot almost 7 years ago
Published by obiot almost 7 years ago
me.input.bindGamepad()
mousewheel
eventMS
prefixed Pointer EventisKinematic
property allowing to opt-out from collision and input eventsPublished by obiot over 7 years ago
Number.prototype.round()
me.state.set()
falling
and jumping
flags on me.Body
when gravity is reversedme.Vector3d.abs()
me.Matrix2d.multiplyVectorInverse()
methodtouchstart
eventsmousewheel
with W3C standard wheel
eventswheel
eventsPublished by obiot almost 8 years ago
me.audio.seek
function, to change or get the current position of a specific audio clipnull
if there is no corresponding tile, instead of throwing an exceptionPublished by obiot almost 8 years ago
currentTransform
property that defines the renderable transformation matrixautoTransform
flag (off by default for user-defined objects)Published by obiot over 8 years ago
me.audio.rate
function to allow modifying the playback rate of the specified audio clip.stream
flag when defining audio assets)alpha
component of the given color as the threshold for fading effectme.game.updateFrameRate
function to change the renderer framerate at runtimeonDestroyEvent
function when adding basic renderables to the game world.preRender
and the WebGL rendererprerender
on browsers that support Canvas2DContextAttributes.alphaprerender
mode (these two are not compatible)Published by obiot over 8 years ago
Published by obiot almost 9 years ago
me.audio.resume
function for added convenience (was already possible by calling back me.audio.play
)autoDepth
feature that auto-increments a child's z-coordinate when insertedObject.extend
to me.Object.extend
(fixes conflicts with FaceBook SDK and underscore/lodash) (@jdrorrer)me.plugins
to prevent collisions within the me.plugin
namespaceString.contains
by its ES6 equivalent: String.includes
Number.sign
by its ES6 equivalentL Math.sign
me.game.currentLevel
has been removed in favor of accessing objects through me.game.world
-- added me.LevelDirector.getCurrentLevel()
as a stop-gapme.sys.updatesPerSecond
to configure updating less often than drawing (@Giwayume)me.Vector3d
and me.ObservableVector3d
classreverse
method from Vector classes; use negateSelf
insteadreflect
and reflectN
methods from Vector classesfloor
and floorSelf
methods on Vector classes with negative valuesangle
method on Vector classesonLoaded
callbackoptions
argument to the loading method; for specifying a target container, callback, and whether to merge (flatten) object groupsme.input.mouse
=> me.input.pointer
, me.event.MOVEMOVE
=> me.event.POINTERMOVE
anchorPoints
now defines the renderable position, scaling and rotation default origin point (@Giwayume)anchorPoint
setting to the constructorrenderer.createPattern()
and renderer.drawPattern()
me.Rect
to inherit from me.Polygon
me.TMXTileMap
object, so that it can be used to easily add level into a container objectme.ImageLayer
is now drawn relative to the viewport boundary, and can be anchored appropriatelyme.TMXTileMap.moveToCenter
and me.TMXTileMap.reset
methodsbackgroundcolor
attribute as formatted in Tiled 0.15 (#AARRGGBB)columns
property (if available) when parsing maps (Tiled 0.15)fill-min
and flex
scaling modesrepeat
parameter to createTexture
methodPublished by obiot about 9 years ago
Published by parasyte about 9 years ago
me.ParticleContainer
(introduced in 2.1.2)me.device.getPixelRatio()
no longer works when called before me.video.init()
(introduced in 2.1.0)Published by obiot over 9 years ago
renderable
Published by obiot over 9 years ago
pointerEvent
and pointerLeave
event bindings for the sample GUI Object