Hello :)
Im new to Greenfoot and i hope some of u can help me.
They command i have so is :
if (Greenfoot.isKeyDown("right"))
move(1);
if (Greenfoot.isKeyDown("left"))
move(-1);
if (Greenfoot.isKeyDown("up"))
turn(3);
if (Greenfoot.isKeyDown("down"))
turn(-1);
But it would be nice that if i hit arrow up, he only moved up, and not turn
Can anyone please help me? :)