I've just joined scratch and im trying to make my own game. I'm wondering how i can use arrow keys in order to move my sprites left, right up and down using scratch. Do any of you know? If yes please answer here!
Thank youu!!! )
Offline
Hello, it is very simple: just go to controls, drag when ... key pressed for example (when right arrow key pressed) and add a motion move ... steps to make it move right. to make it move left set when ... key pressed to left and move -10 steps to make it move left! I hope i helped!
Offline
There's two methods;
The first one's the simplest, but you'll notice it's not very smooth. For that reason, I recommened using the second method.
Of course, you'd put it four times. For the right arrow key, put change x by 5, for the up arrow key, put change y by 5, and for the down arrow key, it's change y by -5.
I hope this helped!
Offline