This site requires JavaScript, please enable it in your browser!
Greenfoot back
ADAM68801
ADAM68801 wrote ...

2022/3/20

Problem

ADAM68801 ADAM68801

2022/3/20

#
Hello I have to make actor which die after 2 hits of another actor. What is the easyest way to do it??
Super_Hippo Super_Hippo

2022/3/20

#
Use a variable and set it to two. Upon hit, instead of removing the actor, decrease the value by one and check if it reached zero and remove the actors then.
You need to login to post a reply.