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*
Check out my:
Small Games | Tips and Advice | Boredom Cats | Collab | Art
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.

Technology Director / Teacher Grades K-8
Head High School Baseball Coach

Jeopardy Board for Teacher Review (import your own .txt file of questions and answers)
https://scratch.mit.edu/projects/200955428/
Most Recent - Meltman
https://scratch.mit.edu/projects/144049407/
Studio - My Best Projects
https://scratch.mit.edu/studios/4125978/
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*
Check out my:
Small Games | Tips and Advice | Boredom Cats | Collab | Art
G'thorpax the Unspoken

Powered by DjangoBB

Standard | Mobile