Bullet pools (Phaser 3)

Space battle 480x480

Here are two bullet pool examples using Arcade Physics. The second uses an extended class and the first doesn’t.

A bullet pool is a sprite pool where all the sprites are initially inactive. They are activated when fired and then deactivated when they collide or expire.

2 Likes