Weapon#bulletAnimation

bulletAnimation : string The string based name of the animation that the Bullet will be given on launch.This is set via Weapon.addBulletAnimation. Source code: plugins/weapon/WeaponPlugin.js (Line 112)

Weapon#bulletClass

bulletClass : Object The Class of the bullets that are launched by this Weapon. Defaults Phaser.Bullet, but can beoverridden before calling createBullets and set to your own class type. Source code: plugins/weapon/WeaponPlugin.js (Line 1111)

Weapon#bulletCollideWorldBounds

bulletCollideWorldBounds : boolean Should bullets collide with the World bounds or not? Source code: plugins/weapon/WeaponPlugin.js (Line 1199)

Weapon#bulletFrame

bulletFrame : string | integer The Texture Frame that the Bullets use when rendering.Changing this has no effect on bullets in-flight, only on newly spawned bullets. Type string | integer Source code: plugins/weapon/WeaponPlugin.js (Line 221)

Weapon#bulletFrameCycle

bulletFrameCycle : boolean If you've added a set of frames via Weapon.setBulletFrames then you can optionallychose for each Bullet fired to use the next frame in the set. The frame index is thenadvanced one frame until it reaches the end of the set, then it starts from the startagain. Cycling frames like this allows you to create varied bullet effects viasprite sheets. Source code: plugins/weapon/WeaponPlugin.js (Line 129)

Weapon#bulletFrameRandom

bulletFrameRandom : boolean If you've added a set of frames via Weapon.setBulletFrames then you can optionallychose for each Bullet fired to pick a random frame from the set. Source code: plugins/weapon/WeaponPlugin.js (Line 119)

Weapon#bulletGravity

bulletGravity : Phaser.Point This is the amount of gravity added to the Bullets physics body when fired.Gravity is expressed in pixels / second / second. Source code: plugins/weapon/WeaponPlugin.js (Line 199)

Weapon#bulletInheritSpriteSpeed

bulletInheritSpriteSpeed : boolean When a Bullet is fired it can optionally inherit the velocity of the trackedSprite if set. Source code: plugins/weapon/WeaponPlugin.js (Line 105)

Weapon#bulletKey

bulletKey : string The Texture Key that the Bullets use when rendering.Changing this has no effect on bullets in-flight, only on newly spawned bullets. Source code: plugins/weapon/WeaponPlugin.js (Line 214)

Weapon#bulletKillDistance

bulletKillDistance : number If you've set bulletKillType to Phaser.Weapon.KILL_DISTANCE this controls the distancethe Bullet can travel before it is automatically killed. The distance is given in pixels. Source code: plugins/weapon/WeaponPlugin.js (Line 192)