0% found this document useful (0 votes)
15 views

Ch-4 Scratch Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Ch-4 Scratch Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Gajera Global School

CHAPTER-4
SCRATCH PROGRAMMING
Chaitsi Desai
Computer Educator
Topics Covered
■ Introduction to Scratch

■ Working with blocks

■ Generating a new Sprite

■ Create one project

■ Working with two sprites

■ Forever block

■ Project : make a person walk in the desert

■ Saving a Project
Introduction to Scratch
■ Scratch is Visual programming Language

■ Scratch was designed by the Lifelong Kindergarten Learning group at MIT.

■ Scratch programming does not include commands or strict rules.

■ In scratch programming all programs are on screen we just have to drag and drop

them.

■ Scratch programming also includes graphics and sounds.


Steps To Install Offline Editor
1. Open your browser .

2. Type https://scratch.mit.edu/download
and press Enter

3. Click on Direct download

4. Now double click on that .exe file

5. Now click on Run to allow installation


process to begin.
Title Bar
Menu Bar Start and Stop Program
Stage

Script Area Sprite Preview


Block
Description

Sprite List
Sprites

■ Scratch projects are made of object called Sprites.

■ We can change the look of sprites by giving different Costume.

■ We can make sprite look like anything like man, tarin or butterfly.

■ We can draw image in paint editor also.

■ Default sprite in scratch programming is a Cat image.


Stage

■ This is the place at where all the


actions take place.

■ Object on stage is known as sprite.

■ Stage is 480 steps wide and 360 steps


tall

■ Center location for sprite is (0,0)


Scripts
■ We can give instructions to sprite.

■ To telling sprite what to do, we snap together the block into stacks called

Scripts( program).

■ Each block represent a different command or action that tells the application how

to execute.

■ When we run script, Scratch runs blocks from the top of the script to the bottom.
Motion Block
■ These blocks control sprite placement, direction, rotation, and movement.

■ When we start Scratch motion block is selected by default.

■ Cate always moves in the direction of its face.


Pen Block
■ This block can draw can be used to draw shapes using different colours and pen sizes.
Looks Block
■ These blocks change the sprite and background appearance.

■ In Scratch costumes are just different pictures a sprite can have. The cat has two

costumes that shows its leg in different positions.


Generating a New Sprite
■ Scratch provide four different options for
adding sprite to our applications.
■ These options can get through the New Sprite
button
– Choose a sprite from library
– Paint or create new sprite
– Upload sprite from file
– Surprise
Choose a sprite from library
■ Scratch provide access to different collections of graphic files that we can add to our scratch applications as sprites.
THANK YOU!!!

You might also like