Discuss Scratch

TheRealNetherBefore
Scratcher
1000+ posts

Issue with lives

link
I seem to be having an issue with my code where, rather than taking away one life after getting hit, it's taking away two. Can anyone figure out why this is happening?

*Drinks ketchup*
there is no ethical consumption under capitalism my dudes
Small Games | Tips and Advice | Boredom Cat | Misc
Want to make a fantasy world everyone on scratch can use? Click here!
G'thorpax the Unspoken
mstone326
Scratcher
1000+ posts

Issue with lives

It is still broadcasting . because the log continues to touch so 2 are taken away. Add a wait until not touching log after the broadcast and it will fix your issue.

High School Athletic Director / Middle School Tech Teacher / High School Baseball Coach
Kung Fu by Nintendo 1984 - https://scratch.mit.edu/projects/369994801/
Taco Defense - Speed Typing - https://scratch.mit.edu/projects/316795450/
Halloween Boss Battle - Taking Back our Woods - https://scratch.mit.edu/projects/257155118/
Almost Pong - https://scratch.mit.edu/projects/656276979/
Studio - My Best Projects - https://scratch.mit.edu/studios/4125978/
Forum Help Project Examples - https://scratch.mit.edu/studios/4133335
TheRealNetherBefore
Scratcher
1000+ posts

Issue with lives

mstone326 wrote:

It is still broadcasting . because the log continues to touch so 2 are taken away. Add a wait until not touching log after the broadcast and it will fix your issue.
Ok thanks!

*Drinks ketchup*
there is no ethical consumption under capitalism my dudes
Small Games | Tips and Advice | Boredom Cat | Misc
Want to make a fantasy world everyone on scratch can use? Click here!
G'thorpax the Unspoken

Powered by DjangoBB