This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
MrMinestrone
wrote ...
2019/3/14
How do you check if one actor is in front of another?
MrMinestrone
2019/3/14
#
I am making a game in which if you crash into another actor the other one gets deleted. How do I do this?
danpost
2019/3/14
#
MrMinestrone wrote...
I am making a game in which if you crash into another actor the other one gets deleted. How do I do this?
Do you mean like this:
if (isTouching(Actor.class)) removeTouching(Actor.class);
placed in code after the actor moves?
You need to login to post a reply.
X