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
smify22
wrote ...
2013/3/15
turning problem
smify22
2013/3/15
#
I've got my object moving 90 degress but is there a way where it will only do the action once everytime I press the correct key?
danpost
2013/3/15
#
Use 'if ("
keyname
".equals(Greenfoot.getKey())' instead of 'if (Greenfoot.isKeyDown("
keyname
"))'.
You need to login to post a reply.
X