SlideShare a Scribd company logo
1 of 10
Download to read offline
Update: 1
                Activity 5: A little scratch and squeak!                                                  Date: 22/08/2012

                Facebook Group Page:http://www.facebook.com/groups/KritiRechargeSummerSchool2012/           Approximate
                Facebook Group email: KritiRechargeSummerSchool2012@groups.facebook.com                    Minimum Time:
                                                                                                               1 hour




Image from Google Images                  Image from Google Images                  Image from Google Images




Why do it?
Squeak is an open source programming language (http://en.wikipedia.org/wiki/Squeak ). This is a

dialect of Smalltalk and is used as a first programing language. It has been developed along the

way by Apple and Disney Studios and is used on the One Lap Top for Children project

(http://en.wikipedia.org/wiki/One_Laptop_Per_Child ). As a first programming language it is

written to be easily understood and debug. Squeak is a language which other applications such as

scratch have been written in to allow games for instance to be written easily! We will in this

activity use an application of squeak called Scratch. It is a bit like Logo but more sophisticated a

good start to programming!


How do I know I've succeeded?
By the end of this activity you will have a copy of Scratch installed on your computer. This is the

basis to be able to start activities 6 though to 10 which will address some of the basic uses of

scratch and squeak and start a project!


Resources needed:
     •     Internet Access

     •     A good virus checker and permission to download scratch




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66        1
Useful resources
The Scratch Website from Massachusettes Institute of Technology http://scratch.mit.edu/


Skills gained:
     •    Downloading and installing the application Scratch
     •    Able to programme movements of an object on a screen




Image from Google Images                  Image from Google Images                  Image from Google Images




On the Starting Block: Skills you will already have or                                                         Links
    need to complete the Activity

Basic Web Browser Navigation Skills




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66        2
And we are off!                                                                                            Notes

Step 1: Locating Scratch
We need first to locate the software for Scratch. Type in the URL
http://scratch.mit.edu/ into your Web Browser


Step 2: Scratch front Page
You should see the following Screen




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66      3
Step 3: Downloading Scratch
To download the Installer and programme click on the beige button to download
scratch this should then have the next screen




Select the appropriate download, Scratch for Windows




Click on Run and Follow the instructions from the Windows menus




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   4
Step 4: The Scratch environment
The programme should have installed and placed an icon you desktop in the form
of a cat. You should see a screen like this!




The workscreen is divided into three main areas vertically.
      1. On the left hand side are the programming modules.
      2. In the middle is the script area where instructions from the module area
         are dragged and dropped in the order they will run
      3. On the right side is the outcome window of the scripts where the object
         you have have chosen follows the instructions from the script sequence
         you have written. The scripts are all written as modules in Squeak.




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   5
Step 5: A simple sequence
Click on the top left to change the modules from motion to control.




Drag the module “when clicked” across to the script area, connect the repeat
instruction below, scroll down on the left hand side to find the stop script module
and add this to the end to stop the flow of the script when the repeated
instructions end.




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   6
Step 6: Moving objects
We now have a control structure in place. This is will allow us to place
instructions within the repeat module.
First select the blue or motion modules by clicking on the top left hand side of
the screen.




We are going to cause the object or sprite to move around the screen bouncing of
the edge if necessary. To this we drop and drag motion modules or instructions
into the repeat module. The first one to select is if on edge bounce.




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   7
Step 7: Moving a Sprite
To make the spite move and turn add the move steps instructions changing the
number to 30, then the rotate 15 degrees.




To preview the programme click on the green arrow. The red circle can be used
to stop the programme flow. It can viewed also in presentation mode by clicking
on the icon in the top right of the screen this produces a larger screen.




Exit this screen by clicking on the retuen arrow on the left hand side of the
screen.


© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   8
Image from Google Images                  Image from Google Images                     Image from Google Images




The finishing Line: How have I Succeeded?

Self Check
Use the tick box grid below to assess your knowledge. Check on National Curriculum, European

Computer Driving Licence and Industry Qualifications section to gauge your progress.


Loaded Scratch                  Familiar with                        Able to write a               Execute program
                                idea of scripts                      short program                 and view in
                                                                                                   presentation
                                                                                                   mode




Taking it further: The next Steps                                                                                 Activity

Have a look at the games and applications that have been produced by others on

the front page of Scratch http://scratch.mit.edu/. I selected Cannonball as

example (this may require Java to be installed but this is a safe programme),

there is an option to see the script to work out how it was written.




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66            9
Notes: For own use




© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66   10

More Related Content

What's hot

Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...
AlexKerrod
 
Evaluation Q6 - What have you learnt about technologies from the process of ...
Evaluation Q6 - What have you learnt about technologies from the process of ...Evaluation Q6 - What have you learnt about technologies from the process of ...
Evaluation Q6 - What have you learnt about technologies from the process of ...
AlexKerrod
 
Evaluation 6 what have you learnt about technologies from the process of cons...
Evaluation 6 what have you learnt about technologies from the process of cons...Evaluation 6 what have you learnt about technologies from the process of cons...
Evaluation 6 what have you learnt about technologies from the process of cons...
nicolas4991
 
A2 Advanced Portfolio Evaluation (question two)
A2 Advanced Portfolio Evaluation (question two)A2 Advanced Portfolio Evaluation (question two)
A2 Advanced Portfolio Evaluation (question two)
hevaw
 
Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...
AlexKerrod
 
WebGeek AppNimbus (Nikko Bautista)
WebGeek AppNimbus (Nikko Bautista)WebGeek AppNimbus (Nikko Bautista)
WebGeek AppNimbus (Nikko Bautista)
WebGeek Philippines
 

What's hot (19)

Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...
 
Evaluation Q6 - What have you learnt about technologies from the process of ...
Evaluation Q6 - What have you learnt about technologies from the process of ...Evaluation Q6 - What have you learnt about technologies from the process of ...
Evaluation Q6 - What have you learnt about technologies from the process of ...
 
Blogger
BloggerBlogger
Blogger
 
How To Win a Hackaton - My thoughts on the WebGeek Devcup
How To Win a Hackaton - My thoughts on the WebGeek DevcupHow To Win a Hackaton - My thoughts on the WebGeek Devcup
How To Win a Hackaton - My thoughts on the WebGeek Devcup
 
We Like to Move It! Moving Activities with Mobile Devices GAETC13
We Like to Move It! Moving Activities with Mobile Devices GAETC13We Like to Move It! Moving Activities with Mobile Devices GAETC13
We Like to Move It! Moving Activities with Mobile Devices GAETC13
 
Evaluation 6 what have you learnt about technologies from the process of cons...
Evaluation 6 what have you learnt about technologies from the process of cons...Evaluation 6 what have you learnt about technologies from the process of cons...
Evaluation 6 what have you learnt about technologies from the process of cons...
 
Getting Students to Vlog Their Learning with Vine & Instagram
Getting Students to Vlog Their Learning with Vine & InstagramGetting Students to Vlog Their Learning with Vine & Instagram
Getting Students to Vlog Their Learning with Vine & Instagram
 
A2 Advanced Portfolio Evaluation (question two)
A2 Advanced Portfolio Evaluation (question two)A2 Advanced Portfolio Evaluation (question two)
A2 Advanced Portfolio Evaluation (question two)
 
The Flip Side of Professional Development - TCEA 2015
The Flip Side of Professional Development - TCEA 2015The Flip Side of Professional Development - TCEA 2015
The Flip Side of Professional Development - TCEA 2015
 
Q6
Q6Q6
Q6
 
Toolbox: Mind mapping
Toolbox: Mind mappingToolbox: Mind mapping
Toolbox: Mind mapping
 
Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...Evaluation Q6 - What have you learnt about technologies from the process of c...
Evaluation Q6 - What have you learnt about technologies from the process of c...
 
Say Cheese! Photography Projects for Learners
Say Cheese! Photography Projects for LearnersSay Cheese! Photography Projects for Learners
Say Cheese! Photography Projects for Learners
 
git commit -m "carreira"
git commit -m "carreira"git commit -m "carreira"
git commit -m "carreira"
 
WebGeek AppNimbus (Nikko Bautista)
WebGeek AppNimbus (Nikko Bautista)WebGeek AppNimbus (Nikko Bautista)
WebGeek AppNimbus (Nikko Bautista)
 
Team link - Web Meeting Tool - Thiyagu
Team link - Web Meeting Tool - ThiyaguTeam link - Web Meeting Tool - Thiyagu
Team link - Web Meeting Tool - Thiyagu
 
Teaching with Instagram
Teaching with Instagram Teaching with Instagram
Teaching with Instagram
 
Adobe Touch Apps
Adobe Touch AppsAdobe Touch Apps
Adobe Touch Apps
 
Critical analysis 4
Critical analysis 4Critical analysis 4
Critical analysis 4
 

Viewers also liked

Activity
ActivityActivity
Activity
danihd3
 
Activity
ActivityActivity
Activity
danihd3
 

Viewers also liked (14)

Etapas
EtapasEtapas
Etapas
 
Activity
ActivityActivity
Activity
 
Diapositiva flor
Diapositiva florDiapositiva flor
Diapositiva flor
 
Prototipo 7° lia
Prototipo 7° liaPrototipo 7° lia
Prototipo 7° lia
 
Cyber Security
Cyber SecurityCyber Security
Cyber Security
 
Activity
ActivityActivity
Activity
 
Anatomy of athlete
Anatomy of athleteAnatomy of athlete
Anatomy of athlete
 
Artee
ArteeArtee
Artee
 
塚本みどり(18) 主に絵を描いてます!【WCAN 2012 Autumn】
塚本みどり(18) 主に絵を描いてます!【WCAN 2012 Autumn】塚本みどり(18) 主に絵を描いてます!【WCAN 2012 Autumn】
塚本みどり(18) 主に絵を描いてます!【WCAN 2012 Autumn】
 
Rph pukulan pepat baru
Rph pukulan pepat baruRph pukulan pepat baru
Rph pukulan pepat baru
 
Diapositiva flor
Diapositiva florDiapositiva flor
Diapositiva flor
 
RPH fartlek
RPH fartlekRPH fartlek
RPH fartlek
 
Poultry Farm Management System
Poultry Farm Management SystemPoultry Farm Management System
Poultry Farm Management System
 
What is Supply Chain Management System?
What is Supply Chain Management System? What is Supply Chain Management System?
What is Supply Chain Management System?
 

Similar to Activity 5 a little scratch and squeak

Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
cis247
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
sdjdskjd9097
 
Notes from Educator Pre-training Briefing 1 - Summary of AfG-toolset 2012-13
Notes from Educator Pre-training Briefing 1  - Summary of AfG-toolset 2012-13Notes from Educator Pre-training Briefing 1  - Summary of AfG-toolset 2012-13
Notes from Educator Pre-training Briefing 1 - Summary of AfG-toolset 2012-13
CDI Apps for Good
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
sdjdskjd9097
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
ccis224477
 
Session on mockups
Session on mockupsSession on mockups
Session on mockups
Abdul Dibosh
 
Getting Started with Robotics
Getting Started with RoboticsGetting Started with Robotics
Getting Started with Robotics
s0133116
 

Similar to Activity 5 a little scratch and squeak (20)

Platform Independent App design
Platform Independent App designPlatform Independent App design
Platform Independent App design
 
Using splash screens in java me applications
Using splash screens in java me applicationsUsing splash screens in java me applications
Using splash screens in java me applications
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 
Notes from Educator Pre-training Briefing 1 - Summary of AfG-toolset 2012-13
Notes from Educator Pre-training Briefing 1  - Summary of AfG-toolset 2012-13Notes from Educator Pre-training Briefing 1  - Summary of AfG-toolset 2012-13
Notes from Educator Pre-training Briefing 1 - Summary of AfG-toolset 2012-13
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 
openGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptxopenGl configuration_in visual studio 2019.pptx
openGl configuration_in visual studio 2019.pptx
 
Cis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interfaceCis247 a ilab 1 of 7 creating a user interface
Cis247 a ilab 1 of 7 creating a user interface
 
Pixlr and small apps in the classroom
Pixlr and small apps in the classroomPixlr and small apps in the classroom
Pixlr and small apps in the classroom
 
How to prototype interactive iPad applications in 30 minutes or less using Ap...
How to prototype interactive iPad applications in 30 minutes or less using Ap...How to prototype interactive iPad applications in 30 minutes or less using Ap...
How to prototype interactive iPad applications in 30 minutes or less using Ap...
 
Basic iOS Training with SWIFT - Part 1
Basic iOS Training with SWIFT - Part 1Basic iOS Training with SWIFT - Part 1
Basic iOS Training with SWIFT - Part 1
 
10 Code Anti-Patterns to Avoid in Software Development.pdf
10 Code Anti-Patterns to Avoid in Software Development.pdf10 Code Anti-Patterns to Avoid in Software Development.pdf
10 Code Anti-Patterns to Avoid in Software Development.pdf
 
Androids
AndroidsAndroids
Androids
 
Tuxtorial - talk 1
Tuxtorial - talk 1Tuxtorial - talk 1
Tuxtorial - talk 1
 
Ites Scratch Software Review
Ites Scratch Software ReviewItes Scratch Software Review
Ites Scratch Software Review
 
Session on mockups
Session on mockupsSession on mockups
Session on mockups
 
Getting Started with Robotics
Getting Started with RoboticsGetting Started with Robotics
Getting Started with Robotics
 
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
How NOT to Suck at App Distribution - Quick Start Guide - Appsocially's Growt...
 
Fewd week4 slides
Fewd week4 slidesFewd week4 slides
Fewd week4 slides
 
Cf objective2014 software-craftsmanship
Cf objective2014   software-craftsmanshipCf objective2014   software-craftsmanship
Cf objective2014 software-craftsmanship
 

Recently uploaded

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Activity 5 a little scratch and squeak

  • 1. Update: 1 Activity 5: A little scratch and squeak! Date: 22/08/2012 Facebook Group Page:http://www.facebook.com/groups/KritiRechargeSummerSchool2012/ Approximate Facebook Group email: KritiRechargeSummerSchool2012@groups.facebook.com Minimum Time: 1 hour Image from Google Images Image from Google Images Image from Google Images Why do it? Squeak is an open source programming language (http://en.wikipedia.org/wiki/Squeak ). This is a dialect of Smalltalk and is used as a first programing language. It has been developed along the way by Apple and Disney Studios and is used on the One Lap Top for Children project (http://en.wikipedia.org/wiki/One_Laptop_Per_Child ). As a first programming language it is written to be easily understood and debug. Squeak is a language which other applications such as scratch have been written in to allow games for instance to be written easily! We will in this activity use an application of squeak called Scratch. It is a bit like Logo but more sophisticated a good start to programming! How do I know I've succeeded? By the end of this activity you will have a copy of Scratch installed on your computer. This is the basis to be able to start activities 6 though to 10 which will address some of the basic uses of scratch and squeak and start a project! Resources needed: • Internet Access • A good virus checker and permission to download scratch © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 1
  • 2. Useful resources The Scratch Website from Massachusettes Institute of Technology http://scratch.mit.edu/ Skills gained: • Downloading and installing the application Scratch • Able to programme movements of an object on a screen Image from Google Images Image from Google Images Image from Google Images On the Starting Block: Skills you will already have or Links need to complete the Activity Basic Web Browser Navigation Skills © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 2
  • 3. And we are off! Notes Step 1: Locating Scratch We need first to locate the software for Scratch. Type in the URL http://scratch.mit.edu/ into your Web Browser Step 2: Scratch front Page You should see the following Screen © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 3
  • 4. Step 3: Downloading Scratch To download the Installer and programme click on the beige button to download scratch this should then have the next screen Select the appropriate download, Scratch for Windows Click on Run and Follow the instructions from the Windows menus © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 4
  • 5. Step 4: The Scratch environment The programme should have installed and placed an icon you desktop in the form of a cat. You should see a screen like this! The workscreen is divided into three main areas vertically. 1. On the left hand side are the programming modules. 2. In the middle is the script area where instructions from the module area are dragged and dropped in the order they will run 3. On the right side is the outcome window of the scripts where the object you have have chosen follows the instructions from the script sequence you have written. The scripts are all written as modules in Squeak. © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 5
  • 6. Step 5: A simple sequence Click on the top left to change the modules from motion to control. Drag the module “when clicked” across to the script area, connect the repeat instruction below, scroll down on the left hand side to find the stop script module and add this to the end to stop the flow of the script when the repeated instructions end. © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 6
  • 7. Step 6: Moving objects We now have a control structure in place. This is will allow us to place instructions within the repeat module. First select the blue or motion modules by clicking on the top left hand side of the screen. We are going to cause the object or sprite to move around the screen bouncing of the edge if necessary. To this we drop and drag motion modules or instructions into the repeat module. The first one to select is if on edge bounce. © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 7
  • 8. Step 7: Moving a Sprite To make the spite move and turn add the move steps instructions changing the number to 30, then the rotate 15 degrees. To preview the programme click on the green arrow. The red circle can be used to stop the programme flow. It can viewed also in presentation mode by clicking on the icon in the top right of the screen this produces a larger screen. Exit this screen by clicking on the retuen arrow on the left hand side of the screen. © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 8
  • 9. Image from Google Images Image from Google Images Image from Google Images The finishing Line: How have I Succeeded? Self Check Use the tick box grid below to assess your knowledge. Check on National Curriculum, European Computer Driving Licence and Industry Qualifications section to gauge your progress. Loaded Scratch Familiar with Able to write a Execute program idea of scripts short program and view in presentation mode Taking it further: The next Steps Activity Have a look at the games and applications that have been produced by others on the front page of Scratch http://scratch.mit.edu/. I selected Cannonball as example (this may require Java to be installed but this is a safe programme), there is an option to see the script to work out how it was written. © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 9
  • 10. Notes: For own use © Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 10