1 decade ago by ArcadeHype
Does anyone know of a way to remove projectiles such as bullets after they have passed beyond the boundaries of the player camera?
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
if (this.pos.x < ig.game.screen.x || this.pos.x > ig.game.screen.x + ig.system.width) { this.kill(); }