SlideShare a Scribd company logo
MAGIC CAMP/Summer 2018/DAY 2 (Credit for Richard Wiktorowicz)
Programming with
Scratch
Scratch Activities
D
A
Y
2
1
D
A
Y
2
2
All the broadcast blocks can be found in the Events.
Broadcast ()
This block makes the specified broadcast and has no further effect.
Broadcast () and Wait
This block makes the specified broadcast and freezes its script until all of the receiving scripts have finished.
When I receive()
This block will stay inactive until it receives the specified broadcast. Once it has been received, the script goes into
action and ends once it has finished, but it can be started more than once.
Broadcast Block
Scratch Activity #1 – Gliding Counting
Ghosts and a Small Dragon
D
A
Y
2
3
1- This script involves 4 Sprites
2- They take turns gliding towards the centre of the screen
3- This is how they do it.
D
A
Y
2
4
4. Modify the script so that each Sprite counts by 1 and says the new
counter i.e. 1, 2, 3, 4 then 5, 6, 7, 8 and so on. Each Sprite plays a
different sound after saying the number.
5. Modify the script so that each Sprite hides after doing its stuff and
shows itself for the next round.
6. Change the script to 6 Sprites counting, making sounds and
disappearing.
Scratch Activity #1 – Gliding Counting
Ghosts and a Small Dragon
Scratch Activity #2 – Bouncing Basketballs
D
A
Y
2
5
1 - This script involves 2 Sprites
2 - The ball flies from Sprite1 and stops when it gets to the edge of the screen.
3 - This is how you do it.
D
A
Y
2
6
4 - Modify the script so that Sprite2 makes a sound as it travels across the screen
5 - Modify the script so that ball bounces off Sprite3 back to Sprite1 and plays a different
sound when returning to Sprite1.
Scratch Activity #2 – Bouncing Basketballs
D
A
Y
2
7
6 - Modify the script so that Sprite4 is in between and the ball travels from Sprite1
to Sprite4 to Sprite3 and so on, in a loop. Use three different sounds.
Scratch Activity #2 – Bouncing Basketballs
D
A
Y
2
8
Scratch Activity #2 – Bouncing Basketballs
7 - Now add another Sprite (Sprite5) and the ball sequence is Sprite1, Sprite4,
Sprite3, Sprite5 and back to Sprite1. Put it in a loop.
D
A
Y
2
9
Pen Block
✓ Pen Down — Puts the sprite's pen up.
Pen blocks are the blocks that control the pen.
› There are 11 Pen blocks in Scratch2.0.
› Ex:-
✓ Clear — Removes all pen marks put on the screen.
✓ Pen Up — Puts the sprite's pen up.
D
A
Y
2
10
Pen Block
Pen blocks are the blocks that control the pen.
› There are 11 Pen blocks in Scratch2.0.
› Ex:-
✓ Change Pen Color— In projects that use the pen, the pen must have a certain color (no
transparency allowed) — this block can change it.
Some common uses for the Change Pen Color by () block are:
• Iterating through pen color values while the sprite is moved to create colorful art
D
A
Y
2
11
Pen Block
• Varying pen colors for an art program
D
A
Y
2
12
Scratch Activity #3 – Geometrical Patterns
1 - This script involves 1 Sprite with a black background.
2 - Let’s make it more colorful by adding
D
A
Y
2
13
Scratch Activity #3 – Geometrical Patterns
3 - Change the turn angle . Run the script.
4 - Change the turn angle. . Run the script.
5 - Change the turn angle. . Run the script.
6 - Change the turn angle. . Run the script.
7 -Change the turn angle . Run the script.
D
A
Y
2
14
8 - Into the last script let’s add a. so the script looks like this
Scratch Activity #3 – Geometrical Patterns
D
A
Y
2
15
Scratch Activity #4 – Maze Game
1 - This Maze Sprite is located in the Student Files/IST Folder. Import it and change
it to your choice of color.
2 - Import the color Sprite from the Student Files/IST Folder and change it to your
favorite color.
Loops (In Class assignment)
D
A
Y
2
16
3 - Here is a script that allows you to control the color of Sprite.
D
A
Y
2
17
Scratch Activity #4 – Maze Game
4 - When you place the color Sprite on your screen, look at the top of the
screen,which will give you the x and y coordinates of the Sprite at the
beginning of the script. Set your script to this value.
5 - The problem at the moment is that you can walk through walls. You need to
stop when the Maze Sprite and the Dot Sprite touch.
6 - In the script below, the game will end when you touch an edge. This means
it will also be a game of skill to avoid touching the edges. Modify the script as
shown below.
D
A
Y
2
18
9 - Add sounds when it hits the maze and when it finishes.
10 - Add a timer and show the time it took to complete the maze once it is
successfully completed. Use at beginning and at
finishing step.
11- Create you own maze for your friends to try.

More Related Content

Recently uploaded

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
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
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)
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
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
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
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
 
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
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
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
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 

Recently uploaded (20)

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 ...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
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...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
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.
 
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
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
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
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
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
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Day 2( magic camp)1

  • 1. MAGIC CAMP/Summer 2018/DAY 2 (Credit for Richard Wiktorowicz) Programming with Scratch Scratch Activities D A Y 2 1
  • 2. D A Y 2 2 All the broadcast blocks can be found in the Events. Broadcast () This block makes the specified broadcast and has no further effect. Broadcast () and Wait This block makes the specified broadcast and freezes its script until all of the receiving scripts have finished. When I receive() This block will stay inactive until it receives the specified broadcast. Once it has been received, the script goes into action and ends once it has finished, but it can be started more than once. Broadcast Block
  • 3. Scratch Activity #1 – Gliding Counting Ghosts and a Small Dragon D A Y 2 3 1- This script involves 4 Sprites 2- They take turns gliding towards the centre of the screen 3- This is how they do it.
  • 4. D A Y 2 4 4. Modify the script so that each Sprite counts by 1 and says the new counter i.e. 1, 2, 3, 4 then 5, 6, 7, 8 and so on. Each Sprite plays a different sound after saying the number. 5. Modify the script so that each Sprite hides after doing its stuff and shows itself for the next round. 6. Change the script to 6 Sprites counting, making sounds and disappearing. Scratch Activity #1 – Gliding Counting Ghosts and a Small Dragon
  • 5. Scratch Activity #2 – Bouncing Basketballs D A Y 2 5 1 - This script involves 2 Sprites 2 - The ball flies from Sprite1 and stops when it gets to the edge of the screen. 3 - This is how you do it.
  • 6. D A Y 2 6 4 - Modify the script so that Sprite2 makes a sound as it travels across the screen 5 - Modify the script so that ball bounces off Sprite3 back to Sprite1 and plays a different sound when returning to Sprite1. Scratch Activity #2 – Bouncing Basketballs
  • 7. D A Y 2 7 6 - Modify the script so that Sprite4 is in between and the ball travels from Sprite1 to Sprite4 to Sprite3 and so on, in a loop. Use three different sounds. Scratch Activity #2 – Bouncing Basketballs
  • 8. D A Y 2 8 Scratch Activity #2 – Bouncing Basketballs 7 - Now add another Sprite (Sprite5) and the ball sequence is Sprite1, Sprite4, Sprite3, Sprite5 and back to Sprite1. Put it in a loop.
  • 9. D A Y 2 9 Pen Block ✓ Pen Down — Puts the sprite's pen up. Pen blocks are the blocks that control the pen. › There are 11 Pen blocks in Scratch2.0. › Ex:- ✓ Clear — Removes all pen marks put on the screen. ✓ Pen Up — Puts the sprite's pen up.
  • 10. D A Y 2 10 Pen Block Pen blocks are the blocks that control the pen. › There are 11 Pen blocks in Scratch2.0. › Ex:- ✓ Change Pen Color— In projects that use the pen, the pen must have a certain color (no transparency allowed) — this block can change it. Some common uses for the Change Pen Color by () block are: • Iterating through pen color values while the sprite is moved to create colorful art
  • 11. D A Y 2 11 Pen Block • Varying pen colors for an art program
  • 12. D A Y 2 12 Scratch Activity #3 – Geometrical Patterns 1 - This script involves 1 Sprite with a black background. 2 - Let’s make it more colorful by adding
  • 13. D A Y 2 13 Scratch Activity #3 – Geometrical Patterns 3 - Change the turn angle . Run the script. 4 - Change the turn angle. . Run the script. 5 - Change the turn angle. . Run the script. 6 - Change the turn angle. . Run the script. 7 -Change the turn angle . Run the script.
  • 14. D A Y 2 14 8 - Into the last script let’s add a. so the script looks like this Scratch Activity #3 – Geometrical Patterns
  • 15. D A Y 2 15 Scratch Activity #4 – Maze Game 1 - This Maze Sprite is located in the Student Files/IST Folder. Import it and change it to your choice of color. 2 - Import the color Sprite from the Student Files/IST Folder and change it to your favorite color.
  • 16. Loops (In Class assignment) D A Y 2 16 3 - Here is a script that allows you to control the color of Sprite.
  • 17. D A Y 2 17 Scratch Activity #4 – Maze Game 4 - When you place the color Sprite on your screen, look at the top of the screen,which will give you the x and y coordinates of the Sprite at the beginning of the script. Set your script to this value. 5 - The problem at the moment is that you can walk through walls. You need to stop when the Maze Sprite and the Dot Sprite touch. 6 - In the script below, the game will end when you touch an edge. This means it will also be a game of skill to avoid touching the edges. Modify the script as shown below.
  • 18. D A Y 2 18 9 - Add sounds when it hits the maze and when it finishes. 10 - Add a timer and show the time it took to complete the maze once it is successfully completed. Use at beginning and at finishing step. 11- Create you own maze for your friends to try.