Hi st4282, usually when you have a scripting problem, it's best to post under Help with Scripts.
Anyway, on the bullet sprite:
when gf clicked forever if < touching [sprite] > change [score] by [-1] end endYou may also want to put a
hidein with the change score block if you want the bullet to disappear after hitting the sprite.
Offline
pi3 wrote:
Hi st4282, usually when you have a scripting problem, it's best to post under Help with Scripts.
Anyway, on the bullet sprite:when gf clicked forever if < touching [sprite] > change [score] by [-1] end endYou may also want to put ahidein with the change score block if you want the bullet to disappear after hitting the sprite.
That wouldn't work all the time because if the bullet is going slowly, it will still be touching the character. A better script is this
when gf clicked forever if <touching [main character v]?> change [score v] by [-1] wait until <not<touching [main character v]?>> end
Offline