Discuss Scratch

your_real_name_name
New Scratcher
4 posts

Some questions about a simple game controlling a moving object

Hi, new user here

First, I'm using this to move:
when [up arrow] key pressed
move (10) steps

when [left arrow] key pressed
turn ccw (15) degrees
when [right arrow] key pressed
turn cw (15) degrees

How do I get rid of that small pause that happens when I hold Up and the sprite moves 10 step, then pauses for a little while, then starts to continuously move?
How do I make the sprite change to a certain sprite only when I'm moving and change back as soon as I stop moving
How can I make the movement smoother without changing the speed and be able to turn while moving
drmcw
Scratcher
1000+ posts

Some questions about a simple game controlling a moving object

This project https://scratch.mit.edu/projects/18453174/ should answer most of your questions.
ShayGaming24
Scratcher
1 post

Some questions about a simple game controlling a moving object

Try changing the script to
when [ v] key pressed
repeat (10)
move (1) steps
end

This might work.


Thanks,
ShayGaming24

Powered by DjangoBB