09.03.2014 Views

worksheets - Indian Institute of Technology, Bombay

worksheets - Indian Institute of Technology, Bombay

worksheets - Indian Institute of Technology, Bombay

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lesson<br />

3<br />

Programming Multiple Sprites in Scratch<br />

Aim<br />

In this lesson you will learn:<br />

To demonstrate actions like games, in Scratch.<br />

To program coordination between various Sprites.<br />

Tejas: We want to animate two Sprites playing throw ball.<br />

Moz: How is this game played?<br />

Tejas: I throw the ball and Jyoti catches<br />

it. Next Jyoti throws and I have to<br />

catch it. Many players can also play this<br />

game together.<br />

Moz: Good! Now, plan the Scratch<br />

project for the game.<br />

Jyoti: Let us start with two players. So<br />

we need two Sprites.<br />

Tejas: We need one more Sprite- the<br />

ball.<br />

Jyoti: Let us have a playground as the Background.<br />

Moz: Ok. Now list out what you need. Are you painting or importing the<br />

Sprites?<br />

Tejas: We can import the ball and paint the two players.<br />

Jyoti: Let us import the ‘playground’ for the Background.<br />

What we need?<br />

3 Sprites (two players, one ball).<br />

One Background.<br />

50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!