CharlesCraft50 Posted February 26, 2017 Share Posted February 26, 2017 My problem is that the bullets, after they killed, the weapon plugin bullets will reload again: 'this.target.bullet = game.add.weapon(5, 'bullet_1');', what I mean is I want my weapon have a ammo/limit to fire, when the ammo is 0, then don't fire again, I don't want unlimited ammo/fire. Thanks in advanced... Link to comment Share on other sites More sharing options...
CharlesCraft50 Posted February 26, 2017 Author Share Posted February 26, 2017 I already solved the problem by using weapon.fireLimit = number; Link to comment Share on other sites More sharing options...
Recommended Posts