Creating a character and making it lose lives


#1

Part of my student's project is to create a game where a character loses lives when it is bumped by another character. I can't seem to create a loop/variable (???) to make this happen. Can anyone show me a picture of the code for this? Thank you


#2




These are the three rules you need to do this.


#3



#4

Wait.. Teachers use the forum?


#5

Btw, welcome to the forum! It is a really helpful place to get answers!


#6

The pictures are great, but there's one little part missing.
If you add "When Lives = 0", then it will automatically perform the rule. Add a wait, then another check once if. This will be like a little guard :wink:


#7

Everybody else beat me to it! :stuck_out_tongue:


#8

I am a bit late... Next topic....