Here, this is split into chapters. This is for new scratchers, to learn how to use basic scripts.
Click on of the links below to get started.
Basic arrow key movement
Velocity
Last edited by owetre18 (2011-02-13 11:32:07)
Offline
learn HOW to
Offline
Basic arrow key movement
Here you can make a sprite move with the arrow keys.
Here is the script.
You need to make a variable called "Speed" and you can change that to change the speed of the sprite. Don't set it to below 0, the arrow keys will be backwards. And don't set it to 0, or the sprite will not move.
Offline
Instead of (join [-](speed) ) do ( (speed) * (-1) ).
Offline
Velocity
Velocity will speed up the character after the arrow keys being held down. The script looks like this.
Offline
scimonster wrote:
Instead of (join [-](speed) ) do ( (speed) * (-1) ).
I got it, I am pretty good with scratch.
Offline
I think I have a youtube video on how to make a maze game somewhere...
Mute the sound if you wish
http://www.scratch.mit.edu/ext/youtube/?v=NcFL42Ow0d4
Offline
<stop all sounds><play sound[ (( <*> ))(( </> ))<think[ ]for( )secs><think[
Offline
owetre18 wrote:
scimonster wrote:
Instead of (join [-](speed) ) do ( (speed) * (-1) ).
I got it, I am pretty good with scratch.
What if it is already negative? Then it is something like --3, which isn't anything.
Offline
scimonster wrote:
owetre18 wrote:
scimonster wrote:
Instead of (join [-](speed) ) do ( (speed) * (-1) ).
I got it, I am pretty good with scratch.
What if it is already negative? Then it is something like --3, which isn't anything.
Did you read the post, or just look at the pictures. I put notes.
Offline
owetre18 wrote:
scimonster wrote:
owetre18 wrote:
I got it, I am pretty good with scratch.What if it is already negative? Then it is something like --3, which isn't anything.
Did you read the post, or just look at the pictures. I put notes.
I read the post, but it is still better the other way.
Offline