HOW TO MAKE A RACE IN SCRATCH
1) Choose suitable racing sprites – in this case they must have 2 costumes
Costumes tab > import
2) Reduce sprite size, to, say 40%
1) Choose suitable racing sprites – in this case they must have 2 costumes
Costumes tab > import
2) Reduce sprite size, to, say 40%
3) Get it moving and changing its costume
forever
move
wait
next costume
move wait
next costume
4) Do the same for the other sprite
It’s easiest to duplicate original sprite and then redo the costumes of the duplicate
5) Bounce off the edge
motion > if on edge, bounce
Alter rotation style for back and forward motion
6) Randomize motion
Numbers > pick random 1 to 10
7) Draw a finish line
New sprite
Pen down
Point in direction up
Set pen size to 20
move
8) Finish the race when one sprite crosses the finish line
forever
if touching colour
Say “!” for 2 seconds
Stop all
else movement script
It’s easiest to duplicate original sprite and then redo the costumes of the duplicate
5) Bounce off the edge
motion > if on edge, bounce
Alter rotation style for back and forward motion
6) Randomize motion
Numbers > pick random 1 to 10
7) Draw a finish line
New sprite
Pen down
Point in direction up
Set pen size to 20
move
8) Finish the race when one sprite crosses the finish line
forever
if touching colour
Say “!” for 2 seconds
Stop all
else movement script
6 comments:
I'm happy that it is your favourite subject :-)
nice pics but you haven't altered the words at all :-(
The words weren't altered, but the use of a Sprite AS the finish line is really creative for the initial race. (you end up doing that in the second extension race)
You haven't altered the words. But, the blog looks ok.
there isn't enough writing!
i would have no idea what
to do if i read this and it needs more close ups.
:\
Needs more text, but still good overall.
Post a Comment