Gaining bullets
Hello,
In my game i need to make a rule that gives the player 1 rocket for every 15 score points. I thought that the rule to use was
When atribute game.score = game.score+15 then game.bullet=game.bullet+1 but unfortunately this doesn't work, can someone help me?
In my game i need to make a rule that gives the player 1 rocket for every 15 score points. I thought that the rule to use was
When atribute game.score = game.score+15 then game.bullet=game.bullet+1 but unfortunately this doesn't work, can someone help me?
Comments
You would use it like this if it works. game.pointtracker = (game.score+1)%15 then when game.pointtracker is at 0 give a rocket. You would have that everytime a point is gained.