4.
Assuming that worked (if it didn’t then go back and keep trying!), you will have noticed that pressing left makes the shark swim backwards (also known as ‘moon-swimming’*). To fix that we can tellthe shark to point either left (when moving left) or right (whenmoving right). We don’t need to worry about pointing up or down.The trick here is to
ADD
a block to the existing instructions - not to write a whole new set alongside what we’ve already got. So in thisscreenshot only
ONE BLOCK
is new.5. At the top of the
Scripts
window there are three buttons that control the way the
sprite
rotates. Try each one and see what the difference is - and whichone is best for this sprite.6. Finally for this section, click the
Costumes
taband
Import
the
shark1-b
costume (the one where the shark looks ready to eat someone). We want a new block of code so that when wepress
space
the shark will open its mouth (hint:
switch to costume
), wait 0.5 seconds and close it again.
* If you don’t get the reference, ask your parents about
Michael Jackson
Page 3
By MWClarkson
Based on an idea by DJPhillips
Add a Comment