Click to edit Master title style
1
Scratch 1.4
W i t h S c r a t c h , y o u c a n p r o g r a m y o u r o wn
i n t e r a c t i v e s t o r i e s , g a m e s , a n d a n i m a t i o n s
Click to edit Master title style
2 2
• Scratch is designed especially
for ages 8 to 18, but is used by
people of all ages. Millions of
people are creating Scratch
projects in a wide variety of
settings, including homes,
schools, museums, libraries, and
community centers.
Who Uses Scratch?
Click to edit Master title style
3 3
• The ability to code computer
programs is an important part of
literacy in today’s society. When
people learn to code in Scratch,
they learn important strategies
for solving problems, designing
projects, and communicating
ideas.
Learn to Code, Code to Learn
Click to edit Master title style
4 4
• Students are learning with
Scratch at all levels (from
elementary school to college)
and across disciplines (such as
math, computer science,
language arts, social studies).
Educators share stories,
exchange resources, ask
questions, and find people on
the ScratchEd website.
Scratch in Schools
Click to edit Master title style
5 5
• Scratch is used in more than 150
different countries and available
in more than 40 languages. To
change languages, click the
menu at the bottom of the page.
Or, in the Project Editor, click the
globe at the top of the page. To
add or improve a translation, see
the translation page.
Around the World
Click to edit Master title style
6 6
File Menu
Block Area
Sprite properties
Modify tools
Block Pane
Script Area
Start and Stop Button
Stage
Stage dimensions
Sprite Pane
Click to edit Master title style
7
What is Sprite?
7
A certain picture which we choose to
animate is known as SPRITE. We can
design/paint our own sprite or can take
from a no of option of predefine sprite
under choose sprite option.
Sprite is the actor who perform on Stage.
Click to edit Master title style
8
What is Script ?
8
When a certain set of blocks are combine together to do a particular
task on a particular that is know as a script of that sprite.
Click to edit Master title style
9
Script Area
9
Click to edit Master title style
10
10
Stage and its coordinates
Click to edit Master title style
11
Block Area
11
Motion
Looks
Sound
Pen
Control
Sensing
Operators
Variables
• In scratch there are total 8 Blocks
with different colours help us to do
8 different task.
8 Blocks
Click to edit Master title style
12
12
Motion
• This Bock help us to control the
motion of sprite in every
perspective.
• Eg- moving sprite , turning sprite
etc.
Click to edit Master title style
13
13
• This Bock help us to change the
looks i.e. costume of sprite and
also for making a text display.
• Eg- Changing Costume, saying
hello crate graphic effects etc.
Looks
Click to edit Master title style
14
14
• This Block is used to put sound
and adjust its timings, tempo and
volume.
• Eg- Playing Different sounds, play
drum etc.
Sound
Click to edit Master title style
15
15
• This Bock used to write down or
draw something on the stage.
Pen
Click to edit Master title style
16
16
• This Bock is the main block
controlling all the sprite and flow of
script .
• Eg- starting of script and stoping,
repeating a set of script etc.
Control
Click to edit Master title style
17
17
• This Bock help us to sense the
colour and replying from it.also it
will sense if any key ois pressed
or not.
• Eg- touching color , mouse down
etc.
Sensing
Click to edit Master title style
18
18
• This Bock is used to use operators
in various condition according to
the task we want to do. Basically it
works on variable we create in the
scratch.
• Eg- adding, conditions etc.
Operators
Click to edit Master title style
19
19
• This Bock let us create a variable
or a list of variables in scratch. And
operate that variable.
Variables
Click to edit Master title style
20
What is Variable?
20
House no A2
House no A1 House no A3
Person living
here is Mohit
Person living
here is Rohan
Person living
here is Ajay
Click to edit Master title style
21
What is Variable?
21
House no A2
House no A1 House no A3
This is our memory!!
Click to edit Master title style
22
So the variable is the
small allocation in
memory which stores
something and we call it
by its name.
22
Click to edit Master title style
23
23
Conditions
• In programming, a condition is something that must be true
in order for something to happen.
• A condition is thus said to "evaluate to true“ or "evaluate to
false."
• In Scratch, any block whose label says "if”,"when," or "until"
is a sort of conditional construct.
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
24
24
Conditions
• If Construct: Instruct a sprite to say hello only if, say, the
user has depressed the mouse button:
• If-Else Construct: Instruct a sprite to say hello or goodbye,
depending on whether the user has depressed the mouse
button:
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
25
25
Conditions
• When Construct: Instruct a sprite to do something when an
event occurs:
• When Construct: Instruct a sprite to wait to do something
until a condition is true:
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
26
26
Loops
• A loop can induce multiple executions of statements.
• In Scratch, any block whose label begins with "forever" or
"repeat" is a looping construct.
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
27
27
Threads
• In programming, a thread is like a miniprogram within a
program that can execute at the same time as other threads.
• In Scratch, any block whose label begins with "when"
essentially demarks the start of a thread.
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
28
28
Adding a Level
• Levels can be added using threads and events.
Few Essentials Terms to learn while
Writing Script.
Click to edit Master title style
29
Lets Learn while doing!!
29
Click to edit Master title style
30
Lets make simple games!!
30
Click to edit Master title style
31
Thinking , concept
of game.
31
Designing of
backgrounds or Sprites.
Writing Script
Click to edit Master title style
32
TASK 1 Designing
32
Click to edit Master title style
33
Task 2 Script writing
33
• Which Conditions should be
used.
• What is the movement of Sprite.
• What are the responses of
Sprite.
Now Lets write the script.

1.Scratch 1.pptx

  • 1.
    Click to editMaster title style 1 Scratch 1.4 W i t h S c r a t c h , y o u c a n p r o g r a m y o u r o wn i n t e r a c t i v e s t o r i e s , g a m e s , a n d a n i m a t i o n s
  • 2.
    Click to editMaster title style 2 2 • Scratch is designed especially for ages 8 to 18, but is used by people of all ages. Millions of people are creating Scratch projects in a wide variety of settings, including homes, schools, museums, libraries, and community centers. Who Uses Scratch?
  • 3.
    Click to editMaster title style 3 3 • The ability to code computer programs is an important part of literacy in today’s society. When people learn to code in Scratch, they learn important strategies for solving problems, designing projects, and communicating ideas. Learn to Code, Code to Learn
  • 4.
    Click to editMaster title style 4 4 • Students are learning with Scratch at all levels (from elementary school to college) and across disciplines (such as math, computer science, language arts, social studies). Educators share stories, exchange resources, ask questions, and find people on the ScratchEd website. Scratch in Schools
  • 5.
    Click to editMaster title style 5 5 • Scratch is used in more than 150 different countries and available in more than 40 languages. To change languages, click the menu at the bottom of the page. Or, in the Project Editor, click the globe at the top of the page. To add or improve a translation, see the translation page. Around the World
  • 6.
    Click to editMaster title style 6 6 File Menu Block Area Sprite properties Modify tools Block Pane Script Area Start and Stop Button Stage Stage dimensions Sprite Pane
  • 7.
    Click to editMaster title style 7 What is Sprite? 7 A certain picture which we choose to animate is known as SPRITE. We can design/paint our own sprite or can take from a no of option of predefine sprite under choose sprite option. Sprite is the actor who perform on Stage.
  • 8.
    Click to editMaster title style 8 What is Script ? 8 When a certain set of blocks are combine together to do a particular task on a particular that is know as a script of that sprite.
  • 9.
    Click to editMaster title style 9 Script Area 9
  • 10.
    Click to editMaster title style 10 10 Stage and its coordinates
  • 11.
    Click to editMaster title style 11 Block Area 11 Motion Looks Sound Pen Control Sensing Operators Variables • In scratch there are total 8 Blocks with different colours help us to do 8 different task. 8 Blocks
  • 12.
    Click to editMaster title style 12 12 Motion • This Bock help us to control the motion of sprite in every perspective. • Eg- moving sprite , turning sprite etc.
  • 13.
    Click to editMaster title style 13 13 • This Bock help us to change the looks i.e. costume of sprite and also for making a text display. • Eg- Changing Costume, saying hello crate graphic effects etc. Looks
  • 14.
    Click to editMaster title style 14 14 • This Block is used to put sound and adjust its timings, tempo and volume. • Eg- Playing Different sounds, play drum etc. Sound
  • 15.
    Click to editMaster title style 15 15 • This Bock used to write down or draw something on the stage. Pen
  • 16.
    Click to editMaster title style 16 16 • This Bock is the main block controlling all the sprite and flow of script . • Eg- starting of script and stoping, repeating a set of script etc. Control
  • 17.
    Click to editMaster title style 17 17 • This Bock help us to sense the colour and replying from it.also it will sense if any key ois pressed or not. • Eg- touching color , mouse down etc. Sensing
  • 18.
    Click to editMaster title style 18 18 • This Bock is used to use operators in various condition according to the task we want to do. Basically it works on variable we create in the scratch. • Eg- adding, conditions etc. Operators
  • 19.
    Click to editMaster title style 19 19 • This Bock let us create a variable or a list of variables in scratch. And operate that variable. Variables
  • 20.
    Click to editMaster title style 20 What is Variable? 20 House no A2 House no A1 House no A3 Person living here is Mohit Person living here is Rohan Person living here is Ajay
  • 21.
    Click to editMaster title style 21 What is Variable? 21 House no A2 House no A1 House no A3 This is our memory!!
  • 22.
    Click to editMaster title style 22 So the variable is the small allocation in memory which stores something and we call it by its name. 22
  • 23.
    Click to editMaster title style 23 23 Conditions • In programming, a condition is something that must be true in order for something to happen. • A condition is thus said to "evaluate to true“ or "evaluate to false." • In Scratch, any block whose label says "if”,"when," or "until" is a sort of conditional construct. Few Essentials Terms to learn while Writing Script.
  • 24.
    Click to editMaster title style 24 24 Conditions • If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button: • If-Else Construct: Instruct a sprite to say hello or goodbye, depending on whether the user has depressed the mouse button: Few Essentials Terms to learn while Writing Script.
  • 25.
    Click to editMaster title style 25 25 Conditions • When Construct: Instruct a sprite to do something when an event occurs: • When Construct: Instruct a sprite to wait to do something until a condition is true: Few Essentials Terms to learn while Writing Script.
  • 26.
    Click to editMaster title style 26 26 Loops • A loop can induce multiple executions of statements. • In Scratch, any block whose label begins with "forever" or "repeat" is a looping construct. Few Essentials Terms to learn while Writing Script.
  • 27.
    Click to editMaster title style 27 27 Threads • In programming, a thread is like a miniprogram within a program that can execute at the same time as other threads. • In Scratch, any block whose label begins with "when" essentially demarks the start of a thread. Few Essentials Terms to learn while Writing Script.
  • 28.
    Click to editMaster title style 28 28 Adding a Level • Levels can be added using threads and events. Few Essentials Terms to learn while Writing Script.
  • 29.
    Click to editMaster title style 29 Lets Learn while doing!! 29
  • 30.
    Click to editMaster title style 30 Lets make simple games!! 30
  • 31.
    Click to editMaster title style 31 Thinking , concept of game. 31 Designing of backgrounds or Sprites. Writing Script
  • 32.
    Click to editMaster title style 32 TASK 1 Designing 32
  • 33.
    Click to editMaster title style 33 Task 2 Script writing 33 • Which Conditions should be used. • What is the movement of Sprite. • What are the responses of Sprite. Now Lets write the script.