Bullet#body

body : Phaser.Physics.Arcade.Body | Phaser.Physics.P2.Body | Phaser.Physics.Ninja.Body | null body is the Game Objects physics body. Once a Game Object is enabled for physics you access all associatedproperties and methods via it. By default Game Objects won't add themselves to any physics system and their body property will be null. To enable this Game Object for physics you need to call game.physics.enable(object, system) where object is this objectand system is the Physics system you are u

Bullet#blendMode

blendMode : number The blend mode to be applied to the sprite. Set to PIXI.blendModes.NORMAL to remove any blend mode. Warning: You cannot have a blend mode and a filter active on the same Sprite. Doing so will render the sprite invisible. Inherited From PIXI.Sprite#blendMode Default Value PIXI.blendModes.NORMAL; Source code: pixi/display/Sprite.js (Line 82)

Bullet#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

Bullet#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

Bullet#anchor

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top leftSetting than anchor to 0.5,0.5 means the textures origin is centeredSetting the anchor to 1,1 would mean the textures origin points will be the bottom right corner Inherited From PIXI.Sprite#anchor Source code: pixi/display/Sprite.js (Line 17)

Bullet#angle

angle : number The angle property is the rotation of the Game Object in degrees from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range.For example, the statement player.angle = 450 is the same as player.angle = 90. If you wish to work in radians instead of degrees you can use the property rotation instead.Working

Bullet#alive

alive : boolean A useful flag to control if the Game Object is alive or dead. This is set automatically by the Health components damage method should the object run out of health.Or you can toggle it via your game code. This property is mostly just provided to be used by your game - it doesn't effect rendering or logic updates.However you can use Group.getFirstAlive in conjunction with this property for fast object pooling and recycling. Inherited From Phaser.Component.LifeSpan#alive Defau

Bullet#alignTo()

alignTo(parent, position, offsetX, offsetY) → {Object} Aligns this Game Object to the side of another Game Object, or Rectangle, known as the'parent', in one of 11 possible positions. The parent must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Game Objects within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Sprite t

Bullet#alignIn()

alignIn(container, position, offsetX, offsetY) → {Object} Aligns this Game Object within another Game Object, or Rectangle, known as the'container', to one of 9 possible positions. The container must be a Game Object, or Phaser.Rectangle object. This can include propertiessuch as World.bounds or Camera.view, for aligning Game Objects within the worldand camera bounds. Or it can include other Sprites, Images, Text objects, BitmapText,TileSprites or Buttons. Please note that aligning a Sprite t

Bullet#addChild()

addChild(child) → {DisplayObject} Adds a child to the container. Parameters Name Type Description child DisplayObject The DisplayObject to add to the container Returns DisplayObject - The child that was added. Inherited From PIXI.DisplayObjectContainer#addChild Source code: pixi/display/DisplayObjectContainer.js (Line 42)