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
Thanatos
wrote ...
2015/1/5
Need help when touching another actor
Thanatos
2015/1/5
#
I want actor A when touching actor B and Greenfoot.isKeyDown("left") is pressed turn left. Actor A is moving upwards. How can I do this?
danpost
2015/1/5
#
You can use the conditional operator '&&' to combine the two conditions into one. Then use 'setRotation' on the actor to avoid multiple turning of the actor.
Thanatos
2015/1/6
#
Thank You!
You need to login to post a reply.
X