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

Session 8

Recall test

1. What are the four important point in direction() commands?

2. Which point in direction will make the sprite stand straight on


the stage ?
3. What are the four xy commands to move the sprite up, down, left
and right?

4. What is the difference between point towards mouse pointer and


go to mouse pointer ?

Goto command will move along with the mouse pointer and point
towards command just make the sprite face the direction of the mouse
pointer.

5. What are the different commands to move a sprite upwards?


a. Change y by ()
b. Point in direction (0) and move () steps

6. What are the x coordinate and y coordinate values on stage?

On the Scratch stage x-coordinate varies from -240 to 240 and


y-coordinate varies from -180 to 180.

7. What are the four quadrant values?

(x,y), (-x,y), (-x,-y) and (x,-y)


Topic for the session
Exploring more about motion block

Goto (other sprite) :


This command will make the sprite follow another sprite.

Glide () sec to ( other sprite):


It will slowly glide towards the specified sprite.

Concept test

How to make a sprite to follow the other sprite?

Using the go to () command and glide () secs to () command will make


one sprite to follow the other.
What is the use of point towards() command?

The point towards () another sprite will make the sprite point towards the
direction of the other.

Class activity-1:
Edward participated in a basketball competition in school.Edward
decided to create a scratch project to present how he plays his
favourite sport game.
-Add basketball backdrop.
-Add player sprite.
-Add code for player sprite to follow after the basketball and
always point towards the direction of the ball.

Commands for the basketball :


Commands for the ben:
Class Activity-2:Cat chasing after mouse
Hi I am Tom.I have to follow Jerry but I am not allowed to
go out of the square box.Let’s help Tom in doing his task
using scratch project.
-Paint square box backdrop.
-Add cat and mouse sprite.
-Add code for cat to chase the mouse.

Commands for the mouse:


.
Commands for the cat :

Class Activity-3:Castle Story


Princess Diana went out for a walk and lost her way
home.Princess Diana was worried and anxious.Wizard
saw Princess Diana in stress and helped reach her way
home.Let’s create a project in scratch to see how Wizard
helped Princess Diana.
-Add backdrop.
-Add princess and wizard sprite.
-Add code for both the sprites.

Code for Wizard:


Code for Princess:
Home assignment

Create a chasing game project, in which draw a maze and add


3 sprite characters and make them follow each other in a row.
Use point towards and glide () secs to () command to follow the
sprite one after another. And add point in direction (), glide () to
x() y() command for the leading sprite.
Also try go to () command instead of glide() to() command

Commands for cat sprite :

Commands for mouse sprite:


Commands for muffin:

Muffin sprite should go in the path of the maze.

You might also like