Creature#debug

debug : boolean A debug flag designed for use with Game.enableStep. Inherited From Phaser.Component.Core#debug Source code: gameobjects/components/Core.js (Line 218)

Creature#data

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be used by your own code, orby Phaser Plugins, to store data that needs to be associated with the Game Object,without polluting the Game Object directly. Inherited From Phaser.Component.Core#data Default Value {} Source code: gameobjects/components/Core.js (Line 160)

Creature#Creature

new Creature(game, x, y, key, mesh, animation) Creature is a custom Game Object used in conjunction with the Creature Runtime libraries by Kestrel Moon Studios. It allows you to display animated Game Objects that were created with the Creature Automated Animation Tool. Note 1: You can only use Phaser.Creature objects in WebGL enabled games. They do not work in Canvas mode games. Note 2: You must use a build of Phaser that includes the CreatureMeshBone.js runtime and gl-matrix.js, or have them

Creature#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)

Creature#children

[readonly] children : Array.<DisplayObject> [read-only] The array of children of this container. Type Array.<DisplayObject> Inherited From PIXI.DisplayObjectContainer#children Source code: pixi/display/DisplayObjectContainer.js (Line 17)

Creature#cameraOffset

cameraOffset : Phaser.Point The x/y coordinate offset applied to the top-left of the camera that this Game Object will be drawn at if fixedToCamera is true. The values are relative to the top-left of the camera view and in addition to any parent of the Game Object on the display list. Inherited From Phaser.Component.FixedToCamera#cameraOffset Source code: gameobjects/components/FixedToCamera.js (Line 86)

Creature#bringToTop()

bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list.Visually this means it will render over the top of any old child in the same Group. If this Game Object hasn't been added to a custom Group then this method will bring it to the top of the Game World,because the World is the root Group from which all Game Objects descend. Returns PIXI.DisplayObject - This instance. Inherited From Phaser.Component.BringToTop#bringToTop Source code: gameo

Creature#autoCull

autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame.If it is not intersecting the Camera bounds at any point then it has its renderable property set to false.This keeps the Game Object alive and still processing updates, but forces it to skip the render step entirely. This is a relatively expensive operation, especially if enabled on hundreds of Game Objects. So enable it only if you know it's required,or you have tested perfor

Creature#animations

animations : Phaser.AnimationManager If the Game Object is enabled for animation (such as a Phaser.Sprite) this is a reference to its AnimationManager instance.Through it you can create, play, pause and stop animations. Inherited From Phaser.Component.Core#animations Source code: gameobjects/components/Core.js (Line 193) See Phaser.AnimationManager

Creature#animation

animation :CreatureAnimation The CreatureAnimation instance. Source code: gameobjects/Creature.js (Line 69)