SlideShare a Scribd company logo
Scratch
Lesson 6
1
Starter
1. Load Scratch
2. Make a game that
will make a sprite
change colour
when it touches
another sprite
2
Objective of the lesson
Use a variable
• All of you will:
– Create a variable that changes its value when a sprite is
clicked
• Most of you will:
– Set a variable’s starting value and count up and down with
variables
• Some of you will:
– Create a working game that keeps score and has a time limit
3
4
How much do you remember?
1. When does the script run?
2. Where would you find the option
to change the colour of the sprite?
3. Where would you find the “Go to
X and Y” option?
4. Where would you find the random
option?
5
Over to you…
• Change the background and add a
sprite of your choice.
• Add the script as shown below.
6
7
How much do you remember?
1. What is a variable?
2. How can you make a new
variable?
3. How can I change the value of my
variable?
4. When do you want the variable to
start from 0 again?
5. How can you set the variable to 0?
8
Use a variable
• Make a variable called Score.
• Change the script so that when your
sprite is clicked it will add one to the
score.
• Change the script so that when the green
flag is clicked the score will be set to 0.
• Try out your game.
9
Over to you…
• Make your own game which has two sprites.
• Make one follow your pointer and the other
move around the screen
on its own.
• When one sprite touches
the other, change the
score and then move to
another part of the screen.
• Try out different ideas
to make your game more interesting and
exciting to play.
10
Counting down
• What will this code do?
• Add this code to your
game to make a time
limit so that after 60
seconds the game will
stop.
• The “=” can be found
in
11
Look at other peoples’ games
Have a look the games that your
classmates have created.
1. What do you like about them?
2. What did people do that was different
to your game?
3. If you got stuck, what did you
do to help yourself solve the
problem?
12
What skills have you practiced today?
New skills you have learnt today…
13
Revisit skills from another lesson…

More Related Content

What's hot

Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsDavid Oromaner
 
Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creation
Ankita Shirke
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
David Oromaner
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
Piers Midwinter
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
Hussam Mostafa
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
Anjan Mahanta
 
Drawing Toolbar & Fontwork in Open Office Impress
Drawing Toolbar & Fontwork in Open Office ImpressDrawing Toolbar & Fontwork in Open Office Impress
Drawing Toolbar & Fontwork in Open Office Impress
Rita Gokani
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
SeniorInfants
 
Dodo does-math
Dodo does-mathDodo does-math
Dodo does-math
Mohammed Kemal
 
Scratch - Rock, Paper, Scissors
Scratch - Rock, Paper, ScissorsScratch - Rock, Paper, Scissors
Scratch - Rock, Paper, Scissors
Sara Gibbons
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
YvonieDoria
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch Programming
StorytimeSteph
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
afsheenfaiq2
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
zulfikarzulfikar40
 
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
SeniorInfants
 
Types of computers grade1
Types of computers  grade1Types of computers  grade1
Types of computers grade1
LinaHamwi93
 
scratch course-part1-2023.pdf
scratch course-part1-2023.pdfscratch course-part1-2023.pdf
scratch course-part1-2023.pdf
Doaa Mohey Eldin
 
#3 4th ppt gr.1 microsoft paint
#3   4th ppt gr.1 microsoft paint#3   4th ppt gr.1 microsoft paint
#3 4th ppt gr.1 microsoft paint
Shirley Valera
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
St. Petersburg College
 

What's hot (20)

Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
 
Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creation
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Programming in scratch
Programming in scratchProgramming in scratch
Programming in scratch
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Drawing Toolbar & Fontwork in Open Office Impress
Drawing Toolbar & Fontwork in Open Office ImpressDrawing Toolbar & Fontwork in Open Office Impress
Drawing Toolbar & Fontwork in Open Office Impress
 
Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
 
Dodo does-math
Dodo does-mathDodo does-math
Dodo does-math
 
Scratch - Rock, Paper, Scissors
Scratch - Rock, Paper, ScissorsScratch - Rock, Paper, Scissors
Scratch - Rock, Paper, Scissors
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Introduction to Scratch Programming
Introduction to Scratch ProgrammingIntroduction to Scratch Programming
Introduction to Scratch Programming
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 
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
 
Types of computers grade1
Types of computers  grade1Types of computers  grade1
Types of computers grade1
 
scratch course-part1-2023.pdf
scratch course-part1-2023.pdfscratch course-part1-2023.pdf
scratch course-part1-2023.pdf
 
#3 4th ppt gr.1 microsoft paint
#3   4th ppt gr.1 microsoft paint#3   4th ppt gr.1 microsoft paint
#3 4th ppt gr.1 microsoft paint
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
Google Sketch Up Presentation
Google Sketch Up PresentationGoogle Sketch Up Presentation
Google Sketch Up Presentation
 

Viewers also liked

Scratch Lesson 4
Scratch Lesson 4Scratch Lesson 4
Scratch Lesson 4
Vadim Axelrod
 
Scratch Lesson 5
Scratch Lesson 5Scratch Lesson 5
Scratch Lesson 5
Vadim Axelrod
 
Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010
Douglas Kiang
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the Classroom
Darrel Branson
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
Patrick Woessner
 
Scratch
ScratchScratch
Advanced1
Advanced1Advanced1
Advanced1
jonathanbyrne
 
Advanced3
Advanced3Advanced3
Advanced3
jonathanbyrne
 
Advanced2
Advanced2Advanced2
Advanced2
jonathanbyrne
 
7th grade presentation cite2
7th grade presentation  cite27th grade presentation  cite2
7th grade presentation cite2
Patrick Woessner
 
Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesDavid Oromaner
 
Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsDavid Oromaner
 
Scratch Lesson 3 - Interactivity
Scratch Lesson 3 -  InteractivityScratch Lesson 3 -  Interactivity
Scratch Lesson 3 - InteractivityDavid Oromaner
 
Lesson 1: scratch basics
Lesson 1: scratch basicsLesson 1: scratch basics
Lesson 1: scratch basicsjonathanbyrne
 
An Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based LearningAn Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based Learning
Patrick Woessner
 
Scratch2
Scratch2Scratch2
Scratch2
sidilatif
 
Scratch 2 Social Media
Scratch 2 Social Media Scratch 2 Social Media
Scratch 2 Social Media
Chakard Chalayut
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with Scratch
Cort1026
 

Viewers also liked (20)

Scratch Lesson 4
Scratch Lesson 4Scratch Lesson 4
Scratch Lesson 4
 
Scratch Lesson 5
Scratch Lesson 5Scratch Lesson 5
Scratch Lesson 5
 
Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010Creative Teaching with Scratch 2010
Creative Teaching with Scratch 2010
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the Classroom
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
 
Scratch
ScratchScratch
Scratch
 
Intro To Programming Cmp
Intro To Programming CmpIntro To Programming Cmp
Intro To Programming Cmp
 
Advanced1
Advanced1Advanced1
Advanced1
 
Advanced3
Advanced3Advanced3
Advanced3
 
Advanced2
Advanced2Advanced2
Advanced2
 
Scratch Syntax 2 Cmp
Scratch Syntax 2 CmpScratch Syntax 2 Cmp
Scratch Syntax 2 Cmp
 
7th grade presentation cite2
7th grade presentation  cite27th grade presentation  cite2
7th grade presentation cite2
 
Reason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum SamplesReason Lesson 2 – Drum Samples
Reason Lesson 2 – Drum Samples
 
Reason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument PartsReason Lesson 3 - Adding Intrument Parts
Reason Lesson 3 - Adding Intrument Parts
 
Scratch Lesson 3 - Interactivity
Scratch Lesson 3 -  InteractivityScratch Lesson 3 -  Interactivity
Scratch Lesson 3 - Interactivity
 
Lesson 1: scratch basics
Lesson 1: scratch basicsLesson 1: scratch basics
Lesson 1: scratch basics
 
An Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based LearningAn Urban Adventure in Project-Based Learning
An Urban Adventure in Project-Based Learning
 
Scratch2
Scratch2Scratch2
Scratch2
 
Scratch 2 Social Media
Scratch 2 Social Media Scratch 2 Social Media
Scratch 2 Social Media
 
Programming with Scratch
Programming with ScratchProgramming with Scratch
Programming with Scratch
 

Similar to Scratch Lesson 6

Play to Learn: Effective Learning Game Design
Play to Learn: Effective Learning Game DesignPlay to Learn: Effective Learning Game Design
Play to Learn: Effective Learning Game Design
Sharon Boller
 
Seriously fun
Seriously funSeriously fun
Seriously fun
Jesse Schell
 
Class #7: Here's the Scoop
Class #7: Here's the ScoopClass #7: Here's the Scoop
Class #7: Here's the Scoop
Angela DeHart
 
DevLearn 2017 Play to Learn workshop slides
DevLearn 2017 Play to Learn workshop slidesDevLearn 2017 Play to Learn workshop slides
DevLearn 2017 Play to Learn workshop slides
Sharon Boller
 
Mizzou Game Development slides September 10th
Mizzou Game Development slides September 10thMizzou Game Development slides September 10th
Mizzou Game Development slides September 10th
EliotProkop
 
Collaborative Techniques
Collaborative TechniquesCollaborative Techniques
Collaborative Techniques
DigitalCatapultDevelopmentPractices
 
Play to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get ResultsPlay to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get Results
HRDQ-U
 
Maths L2L teamwork
Maths L2L teamworkMaths L2L teamwork
Maths L2L teamwork
davidfawcett27
 
Game theory and strategy (PCA16, PCATX)
Game theory and strategy (PCA16, PCATX)Game theory and strategy (PCA16, PCATX)
Game theory and strategy (PCA16, PCATX)
Nir Soffer
 
Lesson one
Lesson oneLesson one
Lesson onelewi300
 
Game design
Game designGame design
Game design
chalkie16
 
"Play to Change" Workshop - WebVisions Portland
"Play to Change" Workshop - WebVisions Portland"Play to Change" Workshop - WebVisions Portland
"Play to Change" Workshop - WebVisions Portland
Carolyn Chandler
 
ATD 2017 Play Games to Learn Game Design
ATD 2017 Play Games to Learn Game DesignATD 2017 Play Games to Learn Game Design
ATD 2017 Play Games to Learn Game Design
Sharon Boller
 
TJD_2023_Lab_06.pptx
TJD_2023_Lab_06.pptxTJD_2023_Lab_06.pptx
TJD_2023_Lab_06.pptx
LusSilva352586
 
Game Design for Modern Times
Game Design for Modern TimesGame Design for Modern Times
Game Design for Modern Times
Deborah Mensah-Bonsu
 
Nature of Games.pptx
Nature of Games.pptxNature of Games.pptx
Nature of Games.pptx
UgurKaplancali
 
Fundamentals of Learning Game Design - ATD CIC 2017
Fundamentals of Learning Game Design - ATD CIC 2017Fundamentals of Learning Game Design - ATD CIC 2017
Fundamentals of Learning Game Design - ATD CIC 2017
Sharon Boller
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directions
vkmitchell
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directions
vkmitchell
 
Game Design at Parsons Day1
Game Design at Parsons Day1Game Design at Parsons Day1
Game Design at Parsons Day1
Simeon Poulin
 

Similar to Scratch Lesson 6 (20)

Play to Learn: Effective Learning Game Design
Play to Learn: Effective Learning Game DesignPlay to Learn: Effective Learning Game Design
Play to Learn: Effective Learning Game Design
 
Seriously fun
Seriously funSeriously fun
Seriously fun
 
Class #7: Here's the Scoop
Class #7: Here's the ScoopClass #7: Here's the Scoop
Class #7: Here's the Scoop
 
DevLearn 2017 Play to Learn workshop slides
DevLearn 2017 Play to Learn workshop slidesDevLearn 2017 Play to Learn workshop slides
DevLearn 2017 Play to Learn workshop slides
 
Mizzou Game Development slides September 10th
Mizzou Game Development slides September 10thMizzou Game Development slides September 10th
Mizzou Game Development slides September 10th
 
Collaborative Techniques
Collaborative TechniquesCollaborative Techniques
Collaborative Techniques
 
Play to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get ResultsPlay to Learn: Learning Games and Gamification that Get Results
Play to Learn: Learning Games and Gamification that Get Results
 
Maths L2L teamwork
Maths L2L teamworkMaths L2L teamwork
Maths L2L teamwork
 
Game theory and strategy (PCA16, PCATX)
Game theory and strategy (PCA16, PCATX)Game theory and strategy (PCA16, PCATX)
Game theory and strategy (PCA16, PCATX)
 
Lesson one
Lesson oneLesson one
Lesson one
 
Game design
Game designGame design
Game design
 
"Play to Change" Workshop - WebVisions Portland
"Play to Change" Workshop - WebVisions Portland"Play to Change" Workshop - WebVisions Portland
"Play to Change" Workshop - WebVisions Portland
 
ATD 2017 Play Games to Learn Game Design
ATD 2017 Play Games to Learn Game DesignATD 2017 Play Games to Learn Game Design
ATD 2017 Play Games to Learn Game Design
 
TJD_2023_Lab_06.pptx
TJD_2023_Lab_06.pptxTJD_2023_Lab_06.pptx
TJD_2023_Lab_06.pptx
 
Game Design for Modern Times
Game Design for Modern TimesGame Design for Modern Times
Game Design for Modern Times
 
Nature of Games.pptx
Nature of Games.pptxNature of Games.pptx
Nature of Games.pptx
 
Fundamentals of Learning Game Design - ATD CIC 2017
Fundamentals of Learning Game Design - ATD CIC 2017Fundamentals of Learning Game Design - ATD CIC 2017
Fundamentals of Learning Game Design - ATD CIC 2017
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directions
 
Pong on SCRATCH Directions
Pong on SCRATCH DirectionsPong on SCRATCH Directions
Pong on SCRATCH Directions
 
Game Design at Parsons Day1
Game Design at Parsons Day1Game Design at Parsons Day1
Game Design at Parsons Day1
 

Recently uploaded

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 

Recently uploaded (20)

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 

Scratch Lesson 6

  • 2. Starter 1. Load Scratch 2. Make a game that will make a sprite change colour when it touches another sprite 2
  • 3. Objective of the lesson Use a variable • All of you will: – Create a variable that changes its value when a sprite is clicked • Most of you will: – Set a variable’s starting value and count up and down with variables • Some of you will: – Create a working game that keeps score and has a time limit 3
  • 4. 4
  • 5. How much do you remember? 1. When does the script run? 2. Where would you find the option to change the colour of the sprite? 3. Where would you find the “Go to X and Y” option? 4. Where would you find the random option? 5
  • 6. Over to you… • Change the background and add a sprite of your choice. • Add the script as shown below. 6
  • 7. 7
  • 8. How much do you remember? 1. What is a variable? 2. How can you make a new variable? 3. How can I change the value of my variable? 4. When do you want the variable to start from 0 again? 5. How can you set the variable to 0? 8
  • 9. Use a variable • Make a variable called Score. • Change the script so that when your sprite is clicked it will add one to the score. • Change the script so that when the green flag is clicked the score will be set to 0. • Try out your game. 9
  • 10. Over to you… • Make your own game which has two sprites. • Make one follow your pointer and the other move around the screen on its own. • When one sprite touches the other, change the score and then move to another part of the screen. • Try out different ideas to make your game more interesting and exciting to play. 10
  • 11. Counting down • What will this code do? • Add this code to your game to make a time limit so that after 60 seconds the game will stop. • The “=” can be found in 11
  • 12. Look at other peoples’ games Have a look the games that your classmates have created. 1. What do you like about them? 2. What did people do that was different to your game? 3. If you got stuck, what did you do to help yourself solve the problem? 12
  • 13. What skills have you practiced today? New skills you have learnt today… 13 Revisit skills from another lesson…