Hello
I'm having a bit of trouble with subtracting my [lifes] variable by 1 just ONCE if the Bomb sprite touches the Blue Sprite.
Right now it keeps subtracting the score very fast like up to -100 by the time the Bomb sprite explodes and disappears
[blocks]
<when green flag clicked>
<set{ lifes }to( 4)
<switch to costume[ 1]
<forever if><key[ space ]pressed?>
<show>
<repeat until><touching[ Blue]
<change y by( -5)
<if><touching[ Blue]
<switch to costume[ 2]
<wait( 1 )secs>
<hide>
Offline