Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Guide 5 Scratch Complete the following proyects, save them on your desktop and when you finish the

complete guide send the projects to my mail: luis.masaya@interamericano.edu.gt

Flying Bat Animation


In this exercise we will create a night time scene where our mouse will control the flight path of a bat. We will be using the two step process: Visual step, followed by Programming step. Remember that the visual step includes painting the stage, and making, selecting and changing sprites.

Create a night time scene by using dark colors. In the example above Ive suggested the pyramids of Egypt under a pail moon. You may draw any night time scene you wish.

Step2. Find the black bat and load bat2-a as the main sprite. Step3. Choose Costumes and import bat2-b as the second costume. Step4. Change the rotation of the Sprite to dont rotate.

In this section we will learn about animation and control for one sprite.

Above we have two blocks of code. Each block begins with a When Flag Clicked block. Each block of code contains a forever loop. This means the code blocks inside the loops will repeat until the program is stopped by pressing the red stop button above the stage.

When two independent blocks of code run, at the same time, this is called multi-threading. Step1: Drag some blocks onto the script area as shown above. Step2: Test your code as you go along. Observe what happens! Step3: Complete both blocks of code and test your program. NOW SAVE YOUR WORK IN A FOLDER ON YOUR DESKTOP WITH YOUR NAME FOLLOWED BY exercise 1. (Ex: Raul Exercise 1)

Speed Racer

1. Start a new project 2. Go to the Background for the Stage Paint a new costume

3. Paint a track that looks like this a. start with the paint can b. use the big brush 4. Go to the Costume for Sprite1 Import a new costume get a car 5. Use the Shrink tool to get your car down to a good size 6. How to make the car turn? Use the arrow keys 7. How to make the car move? Start with the green flag 8. Use the move block inside a forever loop

Speed Racer Extras:


Control the speed o Create a variable called speed (select for this sprite only) o Put the speed into the move block o Use the up arrow and down arrow to change speed o Set the initial speed Countdown o Create a countdown sprite with three costumes (3, 2, 1) o On the green flag start the countdown o At the end broadcast a message to start moving and hide o Change the car (Sprite 1) script to receive the message o Place the car at the starting spot and face forward before moving

NOW SAVE YOUR WORK IN A FOLDER ON YOUR DESKTOP WITH YOUR NAME FOLLOWED BY exercise 2. (Ex: Raul Exercise 2)

NOW SEND YOUR 3 EXERCISES TO MY MAIL: luis.masaya@interamericano.edu.gt

You might also like