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

2013/3/15

turning problem

smify22 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 danpost

2013/3/15

#
Use 'if ("keyname".equals(Greenfoot.getKey())' instead of 'if (Greenfoot.isKeyDown("keyname"))'.
You need to login to post a reply.