Another bullets question

allaboutiweballaboutiweb Member Posts: 42
edited November -1 in Working with GS (Mac)
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.....

Comments

  • gazjmgazjm Member Posts: 578
    have you got your spawn rule inside a rule which says something like

    when number of bullets > 0

    Spawn bullet

    If you haven't then that should stop them spawning once the bullet number reaches 0.
Sign In or Register to comment.