About Score?

aalzankiaalzanki Member Posts: 283
edited November -1 in Working with GS (Mac)
Hi..
I added score and lives to my game, but i wanted to know can I tell that every 15 points one life adds?

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Something like this (the modulus thingy might not be right, but it is something like this!)

    Rule

    when game.score=game.score%15
    change attribute game.lives to game.lives+1

    if this doesn't work you'll want codemonkey or firemaple joe - they'll know for sure!
  • aalzankiaalzanki Member Posts: 283
    oh :)
    thanks for the help I will try it out :)
    But not now because I don't have my laptop right now :P
Sign In or Register to comment.