SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Introduction toIntroduction to
Scratch!Scratch!
What is Scratch?
• Scratch is a free programmable
toolkit that enables kids to create
their own games, animated stories,
and interactive art and share their
creations with one another over the
Internet.
What is Scratch?
• Scratch is being developed by the
Lifelong Kindergarten research group
at the MIT Media Lab, in
collaboration with
KIDS research group at the UCLA
Graduate School of Education &
Information Studies.
Let’s Get Started!
• To Open Scratch, visit the following
website: http://scratch.mit.edu/
• Click on “Try it Out”
Getting Started With
Scratch
Once you’ve opened Scratch, you
should see this default screen:
Let’s Look At Some
Scratch Examples
• Go to “View Projects”, and click on
“Animation” on the left-hand side of the
screen
• Look through them and see what you will
be able to do in Scratch!
Choose Your Sprite!
• You will notice that the default sprite is an
orange cat.
(A sprite is a small graphic that can be
moved independently around the screen,
producing animated effects.)
• You can choose a different sprite to
program from a library in Scratch, or you
can draw your own! You can create your
own sprite later; for now, choose one
already created.
Choose Your Sprite!
• To choose a sprite
from the Scratch
library, click on the
Folder with a Sprite
icon.
• If you want to
remove the old
sprite, right-click on
the cat and click
“delete”. You can
have more than one
sprite in your
animation!
Resize Your Sprite!
• You can make your sprite larger or
smaller by using the “grow sprite” or
“shrink sprite” icons.
• You click on one of these icons, then
click on your sprite until it is the size
you’d like.
Choose Your Background!
• Right now, you have a plain, white
background – boring!
• You can change your background by
choosing one from the Scratch
library or creating your own.
Choose Your Background!
• Click on the button
called “New
Backdrop”:
• Now select “Choose
Backdrop from
Library”
Now, We’re Ready to
Program!
Now, you should have a sprite and a
background that you’d like to work
with!
Programming In Scratch!
• The first thing you need to do is to
double-click on the sprite you want to
program, and select the “Scripts” tab.
• Since your sprite is the only thing that can
be animated, make sure you have it
selected.
• The Scripts area is where you “build” your
program by using the programming blocks.
Programming In Scratch!
• In the upper, left-hand corner of your
Scratch window, you will see 10 buttons .
• Each of these buttons have programming
blocks in those particular areas.
• We will first experiment with the Motion
blocks.
Motion!
• When you click on the motion button,
you will see the programming blocks
that can be used with your sprite.
• Let’s all program our sprites with the
same code first, and then you’ll be
allowed to experiment on your own!
Motion!
• Drag out the “move 10 steps” block.
• Change the “10” to “50” by clicking in the
block and typing in 50.
• To see your sprite move 50 pixels to the
right, double click on the block in the
Script area. Cool, isn’t it?!
Motion
• You can also set the motion block to
move a negative number of pixels by
typing a negative number in the block.
• This will move your sprite that
number of pixels in the opposite
direction – like your sprite is moving
backwards!
What Is A Pixel?
• We’ve been talking about pixels – what is a
pixel?
• A pixel is one of the small units that make
up an image on a computer or television
screen.
• It is derived from the words picture and
element to make pixel!
The Scratch Stage
• The Scratch stage is 480 pixels wide and
360 pixels high.
-240 240
180
-180
More Motion!
• Now, add the “turn 15 degrees” block
to the other block of code.
• When you see the white bar between
the 2 blocks of code, you can release
your mouse. That white bar means
that the 2 blocks will “snap” onto the
other block.
More Motion!
• Again, you can change the number of
degrees by double clicking in that
area and typing in the number of
degrees you’d like your sprite to
rotate.
• Double click on the blocks to see your
sprite move and rotate!
Experiment With Motion!
• We’ve only used 2 of the blocks in the Motion
category.
• For the next few minutes, I want you to
experiment with all of the other blocks in the
Motion category.
• You can delete code easily by just dragging it
from the Script area back to the list.
• Have fun!
Try “Events”
• The first block I’d like us to use is the
“when flag clicked” block:
• Drag this block out, and snap it on top of
the blocks you already have in your script.
Events
• Now, instead of
having to double
click on your block
of code, you can
just click on the
flag icon to play
your animation!
Click here to start
Looks
• The next category of programming
buttons we will experiment with is
the Control category.
• With this tool, you can make your
Sprite speak, think, or even switch
costumes.
Looks
• Try making your
Sprite speak or
think. Choose a
piece of code that
would allow your
Sprite to think or
speak.
Adventures in Animation
Looks
• Now, try
changing your
Sprite’s
costume. Under
the “Costume”
tab, click
“Choose
costume from
library”.
Looks
• Then add
“Switch
costume to” to
your block of
code.
Sound!
• Now, let’s add some sound to our animation!
• There are many different ways to get
sound in your animation.
• The first way we’re going to experiment
with is by choosing a Sound from the
Scratch library.
Choose Sound from Library
• Click on the sprite
you want to have
sound.
• Click on the
Sounds tab; and
under “New
Sound”, click
“choose sound
from library”.
Scratch Sound Library
• You will see different categories of
sounds that you can use in your
animation that are available for you
in the Scratch library.
Inserting Sound
• Once you find a sound that you like,
select it and click on OK.
• You will see the sound you just
selected show up under “New Sound”.
Play Your Sound
• If you click on the “Play” button, you
can preview your sound.
Adding The Sound To
Your Animation
• Now, you’re ready to add the sound
to your animation!
• Click on the Script tab.
• Select the sprite you want to have
sound.
• Now select the Sound button.
Adding Sound
• Now, select one of the blocks that says,
“play sound…”
• Select your sound from the drop-down
menu by clicking on the name of your
sound.
Recording a Sound
• Click on the record
button to record a
sound
• Click on the red
button to start
recording
• Click on the square to
stop
• You can rename the
sound by typing over
the name
Incorporate Sound Into
Your Animation!
When I click the flag, the boy will move and a
drum will play.
Presentation Mode
• When you click on the rectangle button in the
left-hand side of your screen, your animation will
fill the whole screen!
• To exit presentation mode, just click the
rectangle button again in the top left of the
screen.
Using The Pen!
• When using the Pen
tools, your sprite
actually becomes
your writing
instrument!
• You can change the
Pen’s color, its
shade, and its size.
Using the Pen!
• Your sprite becomes your pen when
using this tool. Attach the “Pen
Down” to your block of code.
• It may sound easy, but, you have to
remember to choose “Pen Up” when
necessary so that your sprite stops
writing when you want it to!
Using The Pen!
• Try changing the color of the pen by
typing in different numbers.
• For example, number 0 is the color
white, number 70 is red, number 130
is green, and number 170 is blue.
Time To Have Fun!
• Now it’s time for you to create your
own original animations or games!
• When you create something cool, let
me see it!

Weitere ähnliche Inhalte

Was ist angesagt?

Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingSeniorInfants
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsSeniorInfants
 
Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Scratch for intermediates course
Scratch for intermediates courseScratch for intermediates course
Scratch for intermediates courseMatthew Parry
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programmingPatrick John McGee
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and GraphingBrian Huang
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kidsPaul Gonzales
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratchemreyz
 
Introduction to photoshop
Introduction to photoshopIntroduction to photoshop
Introduction to photoshopReymart Canuel
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorDavid Oromaner
 
Ms excel ppt presentation
Ms excel ppt presentationMs excel ppt presentation
Ms excel ppt presentationvethics
 

Was ist angesagt? (20)

Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessons
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Scratch for intermediates course
Scratch for intermediates courseScratch for intermediates course
Scratch for intermediates course
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programming
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and Graphing
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
Drawing with paint
Drawing with paintDrawing with paint
Drawing with paint
 
Powepoint
PowepointPowepoint
Powepoint
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kids
 
Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
Powerpoint class 4
Powerpoint class 4Powerpoint class 4
Powerpoint class 4
 
Introduction to scratch
Introduction to scratchIntroduction to scratch
Introduction to scratch
 
Introduction to photoshop
Introduction to photoshopIntroduction to photoshop
Introduction to photoshop
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 
Ms excel ppt presentation
Ms excel ppt presentationMs excel ppt presentation
Ms excel ppt presentation
 

Andere mochten auch

NYSCATE HV 2015 Scratch Hour of Code
NYSCATE HV 2015 Scratch Hour of CodeNYSCATE HV 2015 Scratch Hour of Code
NYSCATE HV 2015 Scratch Hour of CodeKaren VItek
 
Scratch and pair programming
Scratch and pair programmingScratch and pair programming
Scratch and pair programmingjtelss10
 
TKPJava - Teaching Kids Programming - Core Java Langauge Concepts
TKPJava - Teaching Kids Programming - Core Java Langauge ConceptsTKPJava - Teaching Kids Programming - Core Java Langauge Concepts
TKPJava - Teaching Kids Programming - Core Java Langauge ConceptsLynn Langit
 
Introduction to Python - Training for Kids
Introduction to Python - Training for KidsIntroduction to Python - Training for Kids
Introduction to Python - Training for KidsAimee Maree Forsstrom
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with ScratchCort1026
 
What is 'Teaching Kids Programming'
What is 'Teaching Kids Programming'What is 'Teaching Kids Programming'
What is 'Teaching Kids Programming'Lynn Langit
 
An Intro to Scratch Programming for Parents
An Intro to Scratch Programming for ParentsAn Intro to Scratch Programming for Parents
An Intro to Scratch Programming for Parentsmewren
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 

Andere mochten auch (9)

NYSCATE HV 2015 Scratch Hour of Code
NYSCATE HV 2015 Scratch Hour of CodeNYSCATE HV 2015 Scratch Hour of Code
NYSCATE HV 2015 Scratch Hour of Code
 
Scratch and pair programming
Scratch and pair programmingScratch and pair programming
Scratch and pair programming
 
TKPJava - Teaching Kids Programming - Core Java Langauge Concepts
TKPJava - Teaching Kids Programming - Core Java Langauge ConceptsTKPJava - Teaching Kids Programming - Core Java Langauge Concepts
TKPJava - Teaching Kids Programming - Core Java Langauge Concepts
 
Introduction to Python - Training for Kids
Introduction to Python - Training for KidsIntroduction to Python - Training for Kids
Introduction to Python - Training for Kids
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with Scratch
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
What is 'Teaching Kids Programming'
What is 'Teaching Kids Programming'What is 'Teaching Kids Programming'
What is 'Teaching Kids Programming'
 
An Intro to Scratch Programming for Parents
An Intro to Scratch Programming for ParentsAn Intro to Scratch Programming for Parents
An Intro to Scratch Programming for Parents
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 

Ähnlich wie Introduction to Scratch Programming

Ähnlich wie Introduction to Scratch Programming (20)

Scratch Introduction
Scratch IntroductionScratch Introduction
Scratch Introduction
 
Introduction to Scratch.ppt
Introduction to Scratch.pptIntroduction to Scratch.ppt
Introduction to Scratch.ppt
 
Scratch an Editing App
 Scratch  an Editing App  Scratch  an Editing App
Scratch an Editing App
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
 
Scratch handout
Scratch handoutScratch handout
Scratch handout
 
Scratch_Reference_Guide.pdf
Scratch_Reference_Guide.pdfScratch_Reference_Guide.pdf
Scratch_Reference_Guide.pdf
 
Scratch introduction
Scratch introductionScratch introduction
Scratch introduction
 
Scratch for kids language in Program.pptx
Scratch for kids language in Program.pptxScratch for kids language in Program.pptx
Scratch for kids language in Program.pptx
 
How to create an animated infographic
How to create an animated infographicHow to create an animated infographic
How to create an animated infographic
 
Toon doo ppt
Toon doo pptToon doo ppt
Toon doo ppt
 
Scratch2
Scratch2Scratch2
Scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Guide scratch2
Guide scratch2Guide scratch2
Guide scratch2
 
Robot flash tutorial
Robot flash tutorialRobot flash tutorial
Robot flash tutorial
 
Blog - Samples / tutorials
Blog - Samples / tutorialsBlog - Samples / tutorials
Blog - Samples / tutorials
 
How_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactiveHow_to_make_ your_ quiz_interactive
How_to_make_ your_ quiz_interactive
 
how to use design by software.pptx
how to use design by software.pptxhow to use design by software.pptx
how to use design by software.pptx
 
Mr. Wirtz's Powerpoint Booklet
Mr. Wirtz's Powerpoint BookletMr. Wirtz's Powerpoint Booklet
Mr. Wirtz's Powerpoint Booklet
 
Adobe illustrator basics
Adobe illustrator basicsAdobe illustrator basics
Adobe illustrator basics
 

Kürzlich hochgeladen

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Kürzlich hochgeladen (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

Introduction to Scratch Programming

  • 2. What is Scratch? • Scratch is a free programmable toolkit that enables kids to create their own games, animated stories, and interactive art and share their creations with one another over the Internet.
  • 3. What is Scratch? • Scratch is being developed by the Lifelong Kindergarten research group at the MIT Media Lab, in collaboration with KIDS research group at the UCLA Graduate School of Education & Information Studies.
  • 4. Let’s Get Started! • To Open Scratch, visit the following website: http://scratch.mit.edu/ • Click on “Try it Out”
  • 5. Getting Started With Scratch Once you’ve opened Scratch, you should see this default screen:
  • 6. Let’s Look At Some Scratch Examples • Go to “View Projects”, and click on “Animation” on the left-hand side of the screen • Look through them and see what you will be able to do in Scratch!
  • 7. Choose Your Sprite! • You will notice that the default sprite is an orange cat. (A sprite is a small graphic that can be moved independently around the screen, producing animated effects.) • You can choose a different sprite to program from a library in Scratch, or you can draw your own! You can create your own sprite later; for now, choose one already created.
  • 8. Choose Your Sprite! • To choose a sprite from the Scratch library, click on the Folder with a Sprite icon. • If you want to remove the old sprite, right-click on the cat and click “delete”. You can have more than one sprite in your animation!
  • 9. Resize Your Sprite! • You can make your sprite larger or smaller by using the “grow sprite” or “shrink sprite” icons. • You click on one of these icons, then click on your sprite until it is the size you’d like.
  • 10. Choose Your Background! • Right now, you have a plain, white background – boring! • You can change your background by choosing one from the Scratch library or creating your own.
  • 11. Choose Your Background! • Click on the button called “New Backdrop”: • Now select “Choose Backdrop from Library”
  • 12. Now, We’re Ready to Program! Now, you should have a sprite and a background that you’d like to work with!
  • 13. Programming In Scratch! • The first thing you need to do is to double-click on the sprite you want to program, and select the “Scripts” tab. • Since your sprite is the only thing that can be animated, make sure you have it selected. • The Scripts area is where you “build” your program by using the programming blocks.
  • 14. Programming In Scratch! • In the upper, left-hand corner of your Scratch window, you will see 10 buttons . • Each of these buttons have programming blocks in those particular areas. • We will first experiment with the Motion blocks.
  • 15. Motion! • When you click on the motion button, you will see the programming blocks that can be used with your sprite. • Let’s all program our sprites with the same code first, and then you’ll be allowed to experiment on your own!
  • 16. Motion! • Drag out the “move 10 steps” block. • Change the “10” to “50” by clicking in the block and typing in 50. • To see your sprite move 50 pixels to the right, double click on the block in the Script area. Cool, isn’t it?!
  • 17. Motion • You can also set the motion block to move a negative number of pixels by typing a negative number in the block. • This will move your sprite that number of pixels in the opposite direction – like your sprite is moving backwards!
  • 18. What Is A Pixel? • We’ve been talking about pixels – what is a pixel? • A pixel is one of the small units that make up an image on a computer or television screen. • It is derived from the words picture and element to make pixel!
  • 19. The Scratch Stage • The Scratch stage is 480 pixels wide and 360 pixels high. -240 240 180 -180
  • 20. More Motion! • Now, add the “turn 15 degrees” block to the other block of code. • When you see the white bar between the 2 blocks of code, you can release your mouse. That white bar means that the 2 blocks will “snap” onto the other block.
  • 21. More Motion! • Again, you can change the number of degrees by double clicking in that area and typing in the number of degrees you’d like your sprite to rotate. • Double click on the blocks to see your sprite move and rotate!
  • 22. Experiment With Motion! • We’ve only used 2 of the blocks in the Motion category. • For the next few minutes, I want you to experiment with all of the other blocks in the Motion category. • You can delete code easily by just dragging it from the Script area back to the list. • Have fun!
  • 23. Try “Events” • The first block I’d like us to use is the “when flag clicked” block: • Drag this block out, and snap it on top of the blocks you already have in your script.
  • 24. Events • Now, instead of having to double click on your block of code, you can just click on the flag icon to play your animation! Click here to start
  • 25. Looks • The next category of programming buttons we will experiment with is the Control category. • With this tool, you can make your Sprite speak, think, or even switch costumes.
  • 26. Looks • Try making your Sprite speak or think. Choose a piece of code that would allow your Sprite to think or speak. Adventures in Animation
  • 27. Looks • Now, try changing your Sprite’s costume. Under the “Costume” tab, click “Choose costume from library”.
  • 28. Looks • Then add “Switch costume to” to your block of code.
  • 29. Sound! • Now, let’s add some sound to our animation! • There are many different ways to get sound in your animation. • The first way we’re going to experiment with is by choosing a Sound from the Scratch library.
  • 30. Choose Sound from Library • Click on the sprite you want to have sound. • Click on the Sounds tab; and under “New Sound”, click “choose sound from library”.
  • 31. Scratch Sound Library • You will see different categories of sounds that you can use in your animation that are available for you in the Scratch library.
  • 32. Inserting Sound • Once you find a sound that you like, select it and click on OK. • You will see the sound you just selected show up under “New Sound”.
  • 33. Play Your Sound • If you click on the “Play” button, you can preview your sound.
  • 34. Adding The Sound To Your Animation • Now, you’re ready to add the sound to your animation! • Click on the Script tab. • Select the sprite you want to have sound. • Now select the Sound button.
  • 35. Adding Sound • Now, select one of the blocks that says, “play sound…” • Select your sound from the drop-down menu by clicking on the name of your sound.
  • 36. Recording a Sound • Click on the record button to record a sound • Click on the red button to start recording • Click on the square to stop • You can rename the sound by typing over the name
  • 37. Incorporate Sound Into Your Animation! When I click the flag, the boy will move and a drum will play.
  • 38. Presentation Mode • When you click on the rectangle button in the left-hand side of your screen, your animation will fill the whole screen! • To exit presentation mode, just click the rectangle button again in the top left of the screen.
  • 39. Using The Pen! • When using the Pen tools, your sprite actually becomes your writing instrument! • You can change the Pen’s color, its shade, and its size.
  • 40. Using the Pen! • Your sprite becomes your pen when using this tool. Attach the “Pen Down” to your block of code. • It may sound easy, but, you have to remember to choose “Pen Up” when necessary so that your sprite stops writing when you want it to!
  • 41. Using The Pen! • Try changing the color of the pen by typing in different numbers. • For example, number 0 is the color white, number 70 is red, number 130 is green, and number 170 is blue.
  • 42. Time To Have Fun! • Now it’s time for you to create your own original animations or games! • When you create something cool, let me see it!

Hinweis der Redaktion

  1. You can execute any block by double clicking on it. This is a good way to try out blocks and see what they do.
  2. Depending on the level of the group you’re working with, this can be a 5 minute or a 15 minute activity. Make sure that they are only working within the Motion category for now, so you will limit the number of questions they have at one time!
  3. You can import any wav and mp3 sound files.