I want my variable FISH to go up 1 when a fish sprite touches another sprite. But I only want the score to go up 1 and it is going up about 20 because that is how long it takes for the fish to pass over the other sprite. I thought I could solve it by having the score go up .05 but the variable now has decimals in it rather than rounding so that didn't work. Any suggestions?
Offline
when gf clicked forever if <touching [sprite 1 v]?> change [score v] by [1] wait until <not<touching [sprite 1 v]?>>Would this work for you?
Last edited by Prestige (2012-12-10 15:38:09)
Offline
What about this?
when gf clicked if <touching [sprite 1 v]?> change [score v] by [1] end
Last edited by maxamillion321 (2012-12-19 21:48:57)
Offline
Thanks a lot "Prestige" that script really helped
I'm doing a health version so i had to do change score by -1
Offline