a fresh, modern & lightweight HTML5 game engine
MIT License
Bot releases are visible (Hide)
unload
implementation for font assetsPublished by obiot 7 months ago
stereo()
, position()
, orientation()
and panner()
)src
urls with different format (preparing for later usage)isPowerOfFour()
methodrenderTarget
property specifying the default CanvasRenderTarget
to use when renderingCanvasTexture
is now deprecated and replaced by a new CanvasRenderTarget
classisWebGLSupported
multiple timesPublished by obiot 8 months ago
createSpritefromAnim
parameter is now optional, and if not defined will use all defined index in the corresponding atlassetOptions
method that allows specifying custom settings to be applied to fetch requests (crossOrigin, withCredentials, etc..)crossOrigin
and withCredentials
are now deprecated and have to be set through the setOptions
methodPublished by obiot 8 months ago
compare()
requires a "x.y.z" version format)Published by obiot 8 months ago
Published by obiot 9 months ago
Published by obiot 9 months ago
autoplay
and loop
parameters when [pre]loading
audio and video assets (false
by default)Published by obiot 9 months ago
toBlob
, toDataURL
and toImageBitmap
method signature to better match with the W3C APIPublished by obiot 11 months ago
parentApp
getter that returns the parent application/game instance to which a renderable belongs to.Published by obiot about 1 year ago
Published by obiot about 1 year ago
backgroundColor
and hoverColor
properties are now deprecated in favor of hoverOffColor
and hoverOnColor
Published by obiot about 1 year ago
width
and height
(getter/setter) properties and deprecate getHeight()
and getWidth()
Published by obiot about 1 year ago
BasePlugin
class now holds a reference to the app or game instance that registered the pluginplugin.get()
method to retrieve a plugin instance by its Class Type or registered namePublished by obiot about 1 year ago
getPath()
method that return the path element of a full file pathsetParser()
method not being exported (and therefore preventing from using and setting custom parser)Published by obiot about 1 year ago
setMask()
method ignoring the default path when no argument is passedtype
property for all geometry and use internally for type checking instead of relying on instanceof
Published by obiot about 1 year ago
Polygon
constructor, allowing to instantiate "empty" polygonssetMask()
in the parent Renderer
classPublished by obiot about 1 year ago
hasActiveEvents
returning true if there are any pending events in the queuehasRegisteredEvents
returning true if there are registered pointer event listenersWORLD_STEP
event emmitted after the builtin physic world has been updated (if enabled)setTransform
and transform()
methods now also accept individual components to match the CanvasRenderingContext2D APIplugin.Base
(deprecated since [15.1.6] and replaced by BasePlugin
)Published by obiot about 1 year ago
physic
flag allowing to disable the builtin physic implementationinvalidate()
method to force reuploading the corresponding WebGL Texturegame
application instancePublished by obiot over 1 year ago
setFloat
method allowing to specify RGBA components in a normalized float formatPublished by obiot over 1 year ago
load
method in the documentation and typingsdepth
getter/setter that will returns the depth of a renderable on the z axisVIDEO_INIT
eventbeginPath
, lineTo
, moveTo
, rect
, roundRect
, closePath
, fill
and stroke
)document
(now using globalThis.document
)