I'm using Scratch to do an assignment for my Computer Science class. We have to create a program where button sprites and keys control the direction and change the speed, respectively. I know how to get those things working, but I cannot figure out how to make the sprite move constantly even after clicking the button sprites. Can someone please give me some ideas? I'd really appreciate it
Offline
This should be in All About Scratch.
Anyway, you said you have the speed variables working? What you need to do now is go to the sprite you want to move and add this script:
<when green flag clicked>
<forever>
<change y by( <{ set this to the x speed variable }> )>
<change x by( <{ set this to the y speed variable }> )>
<end>
Offline