Hey guys so I have a project for Uni we have to make Pacman in greenfoot. And we use a Act method which means it loops continuously. So the problem is my character moves straight away. I only want it to move after I press a key how do I do this?
You need to show some attempted code at controlling the actor like you want. If you are trying to limit the execution of something, use an 'if' condition and place the code within the 'if' block. Refer to the Greenfoot class API for a method that detects key presses.