Weapon#bulletLifespan

bulletLifespan : number

If you've set bulletKillType to Phaser.Weapon.KILL_LIFESPAN this controls the amount
of lifespan the Bullets have set on launch. The value is given in milliseconds.
When a Bullet hits its lifespan limit it will be automatically killed.

Source code: plugins/weapon/WeaponPlugin.js (Line 185)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.