SlideShare a Scribd company logo
3
Most read
4
Most read
11
Most read
Scratch
Lesson 4
1
Starter
1. Load Scratch
2. Change your sprite
3. Add a background
4. Make the sprite
point towards you
mouse pointer and
chase it around the
stage.
2
Objective of the lesson
Use the If statement
• All of you will:
– Write script that will run when the sprite touches a
particular colour
• Most of you will:
– Write script that will run when one script touches another
• Some of you will:
– Create a complex game which includes further sprites and
scripts
3
Load the file
Open the
Eyes file
4
5
How much do you remember?
1. What does the program do when it
is first loaded up?
2. What is the problem with the program?
3. Where would you find the “If” script?
4. Where would you find the “Touching colour”
script?
5. What should your script do if the sprite
touches the edge of the eye socket?
6
Over to you…
• Complete the script
to make the pupil
sprite work
correctly.
• Duplicate the sprite
and place the
second pupil in the
other eye socket.
7
Start a new project
• Start a new Scratch project; you may want to
save your Eyes project first.
• Add two sprites.
• Change the background to one of your choice.
• Add the script so that one sprite moves
backwards and forwards across the stage and
bounces off the edge and the other sprite
follows the mouse pointer.
8
Scratch Lesson 4
How much do you remember?
1. How do you stop a sprite turning upside
down?
2. What do we want the program to do?
3. Why should you change the names of the
sprites?
4. How can you change the names of the sprites?
5. Where would you find the “If” script?
6. Where would you find the “Touching” script?
10
Over to you…
• Rename your sprites.
• Complete your game so
that one sprite will change
colour when it touches the
other sprite.
• Try to make your game
more interesting by:
– Adding further sprites
– Adding different effects
when they touch the other
sprites.
11
Look at other peoples’ games
Have a look at 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

PPTX
Scratch Lesson 6
PPTX
Scratch Lesson 2
PPTX
Scratch Lesson 1
PPTX
Scratch Lesson 3
PPTX
Scratch Lesson 5
PPTX
Programming in scratch
PPTX
Photoshop
PPT
An Intro to Scratch Programming for Parents
Scratch Lesson 6
Scratch Lesson 2
Scratch Lesson 1
Scratch Lesson 3
Scratch Lesson 5
Programming in scratch
Photoshop
An Intro to Scratch Programming for Parents

What's hot (20)

PPT
Experimenting With Technology Final 1
PPTX
Photoshop
DOC
6. pong
PPT
Detailed computer and desk stretches
PPS
Computer & desk stretches
PPS
脊椎運動
PPS
脊椎運動
PPT
Intro to Scratch
PDF
Dodo does-math
PPS
Protect your spine
PPTX
Scratch programming introduction to game creation
PPS
脊椎運動
PPS
珍愛脊椎多多運動
PPS
珍愛脊椎多多運動
PPS
珍愛脊椎多多運動
PPS
珍愛脊椎多多運動
PPS
Computer Stress Exercise
PPS
2010 protectyourspine
PPT
Computer & Desk Stretches
PPT
Tips core strengthening
Experimenting With Technology Final 1
Photoshop
6. pong
Detailed computer and desk stretches
Computer & desk stretches
脊椎運動
脊椎運動
Intro to Scratch
Dodo does-math
Protect your spine
Scratch programming introduction to game creation
脊椎運動
珍愛脊椎多多運動
珍愛脊椎多多運動
珍愛脊椎多多運動
珍愛脊椎多多運動
Computer Stress Exercise
2010 protectyourspine
Computer & Desk Stretches
Tips core strengthening
Ad

Viewers also liked (20)

KEY
Creative Teaching with Scratch 2010
PPT
Intro To Scratch
PDF
Scratch in the Classroom
PPT
Scratch Lesson 1 – Basics
PPTX
PPT
Advanced3
PPTX
Intro To Programming Cmp
PPT
Advanced1
PPTX
7th grade presentation cite2
PPTX
Scratch Syntax 2 Cmp
PPT
Advanced2
PPT
Scratch Lesson 2 – Paint Editor
PPT
Reason Lesson 2 – Drum Samples
PPT
Scratch Lesson 3 - Interactivity
PPT
Reason Lesson 3 - Adding Intrument Parts
PPT
Lesson 1: scratch basics
PPTX
An Urban Adventure in Project-Based Learning
PDF
Scratch2
KEY
Scratch 2 Social Media
PPTX
Programming with Scratch
Creative Teaching with Scratch 2010
Intro To Scratch
Scratch in the Classroom
Scratch Lesson 1 – Basics
Advanced3
Intro To Programming Cmp
Advanced1
7th grade presentation cite2
Scratch Syntax 2 Cmp
Advanced2
Scratch Lesson 2 – Paint Editor
Reason Lesson 2 – Drum Samples
Scratch Lesson 3 - Interactivity
Reason Lesson 3 - Adding Intrument Parts
Lesson 1: scratch basics
An Urban Adventure in Project-Based Learning
Scratch2
Scratch 2 Social Media
Programming with Scratch
Ad

Similar to Scratch Lesson 4 (20)

PDF
Seriously fun
PDF
Programming in as3 the basics
PDF
Interactive Fiction and Game Design Using Inform7
PDF
Class #1: Introduction
PPT
Make An Alternate Reality Game!
PDF
Class #7: Here's the Scoop
PDF
Tasting the LSP method for HE with a twist
PDF
So You Finally Got Your Job at GameDev. What's next?
PPTX
Lesson one
PPT
help session guide for graphic design learners
DOC
Game Project
DOCX
Individual Report
PPTX
FMP Research
PPTX
Mizzou Game Development slides September 10th
PPTX
Lecture 1.pptx
PPTX
Oredev 2011: Building Social Software for the Anti-Social Part II, Electric B...
KEY
Games Design 2 - Lecture 18 - Revision
PDF
A Brief Game Jam Survival Guide
KEY
Educational Games Design (STEG10 Keynote)
PPTX
Collaborative Techniques
Seriously fun
Programming in as3 the basics
Interactive Fiction and Game Design Using Inform7
Class #1: Introduction
Make An Alternate Reality Game!
Class #7: Here's the Scoop
Tasting the LSP method for HE with a twist
So You Finally Got Your Job at GameDev. What's next?
Lesson one
help session guide for graphic design learners
Game Project
Individual Report
FMP Research
Mizzou Game Development slides September 10th
Lecture 1.pptx
Oredev 2011: Building Social Software for the Anti-Social Part II, Electric B...
Games Design 2 - Lecture 18 - Revision
A Brief Game Jam Survival Guide
Educational Games Design (STEG10 Keynote)
Collaborative Techniques

Recently uploaded (20)

PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Trump Administration's workforce development strategy
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
Final Presentation General Medicine 03-08-2024.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
advance database management system book.pdf
PDF
IGGE1 Understanding the Self1234567891011
PPTX
Introduction to Building Materials
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Computing-Curriculum for Schools in Ghana
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Trump Administration's workforce development strategy
Final Presentation General Medicine 03-08-2024.pptx
Unit 4 Skeletal System.ppt.pptxopresentatiom
Final Presentation General Medicine 03-08-2024.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
History, Philosophy and sociology of education (1).pptx
advance database management system book.pdf
IGGE1 Understanding the Self1234567891011
Introduction to Building Materials
Practical Manual AGRO-233 Principles and Practices of Natural Farming
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Computing-Curriculum for Schools in Ghana
Chinmaya Tiranga quiz Grand Finale.pdf
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE

Scratch Lesson 4

  • 2. Starter 1. Load Scratch 2. Change your sprite 3. Add a background 4. Make the sprite point towards you mouse pointer and chase it around the stage. 2
  • 3. Objective of the lesson Use the If statement • All of you will: – Write script that will run when the sprite touches a particular colour • Most of you will: – Write script that will run when one script touches another • Some of you will: – Create a complex game which includes further sprites and scripts 3
  • 4. Load the file Open the Eyes file 4
  • 5. 5
  • 6. How much do you remember? 1. What does the program do when it is first loaded up? 2. What is the problem with the program? 3. Where would you find the “If” script? 4. Where would you find the “Touching colour” script? 5. What should your script do if the sprite touches the edge of the eye socket? 6
  • 7. Over to you… • Complete the script to make the pupil sprite work correctly. • Duplicate the sprite and place the second pupil in the other eye socket. 7
  • 8. Start a new project • Start a new Scratch project; you may want to save your Eyes project first. • Add two sprites. • Change the background to one of your choice. • Add the script so that one sprite moves backwards and forwards across the stage and bounces off the edge and the other sprite follows the mouse pointer. 8
  • 10. How much do you remember? 1. How do you stop a sprite turning upside down? 2. What do we want the program to do? 3. Why should you change the names of the sprites? 4. How can you change the names of the sprites? 5. Where would you find the “If” script? 6. Where would you find the “Touching” script? 10
  • 11. Over to you… • Rename your sprites. • Complete your game so that one sprite will change colour when it touches the other sprite. • Try to make your game more interesting by: – Adding further sprites – Adding different effects when they touch the other sprites. 11
  • 12. Look at other peoples’ games Have a look at 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…