new ScaleMinMax() The ScaleMinMax component allows a Game Object to limit how far it can be scaled by its parent.
new Health() The Health component provides the ability for Game Objects to have a health propertythat can be damaged
top : number The y coordinate of the Game Object.This is the same as y - offsetY.
x : number The position of the Game Object on the x axis relative to the local coordinates of the parent.
overlap(displayObject) → {boolean} Checks to see if the bounds of this Game Object overlaps with
checkWorldBounds : boolean If this is set to true the Game Object checks if it is within the World bounds each frame
[readonly] offsetY : number The amount the Game Object is visually offset from its y coordinate
sendToBack() → {PIXI.DisplayObject} Sends this Game Object to the bottom of its parents display
new LifeSpan() LifeSpan Component Features. Source code:
play(name, frameRate, loop, killOnComplete) → {
Page 8 of 9