Another bullets question
allaboutiweb
Member Posts: 42
Don't you just hate it when you can't work something out? As I have mentioned before in this forum I am designing a game loosely based on the fantastic demo from Orbz, 'Shoot where touch XY' - http://gamesalad.com/game/3097 - I have got the bullets to disappear when they have stopped and or hit a target. What I can't seem to do now is limit the number of bullets.
I have added an integer attribute with the number of bullets I want to be the limit and set up a rule that minuses one each time a bullet is fired, but they still keep coming.....
I have added an integer attribute with the number of bullets I want to be the limit and set up a rule that minuses one each time a bullet is fired, but they still keep coming.....
Comments
when number of bullets > 0
Spawn bullet
If you haven't then that should stop them spawning once the bullet number reaches 0.