Your SlideShare is downloading. ×
Update: 1                Activity 5: A little scratch and squeak!                                                  Date: 2...
Useful resourcesThe Scratch Website from Massachusettes Institute of Technology http://scratch.mit.edu/Skills gained:     ...
And we are off!                                                                                            NotesStep 1: Lo...
Step 3: Downloading ScratchTo download the Installer and programme click on the beige button to downloadscratch this shoul...
Step 4: The Scratch environmentThe programme should have installed and placed an icon you desktop in the formof a cat. You...
Step 5: A simple sequenceClick on the top left to change the modules from motion to control.Drag the module “when clicked”...
Step 6: Moving objectsWe now have a control structure in place. This is will allow us to placeinstructions within the repe...
Step 7: Moving a SpriteTo make the spite move and turn add the move steps instructions changing thenumber to 30, then the ...
Image from Google Images                  Image from Google Images                     Image from Google ImagesThe finishi...
Notes: For own use© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66...
Upcoming SlideShare
Loading in...5
×

Activity 5 a little scratch and squeak

102

Published on

A basic introduction to squeak a programming language.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
102
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Activity 5 a little scratch and squeak"

  1. 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 hourImage from Google Images Image from Google Images Image from Google ImagesWhy do it?Squeak is an open source programming language (http://en.wikipedia.org/wiki/Squeak ). This is adialect of Smalltalk and is used as a first programing language. It has been developed along theway 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 iswritten to be easily understood and debug. Squeak is a language which other applications such asscratch have been written in to allow games for instance to be written easily! We will in thisactivity use an application of squeak called Scratch. It is a bit like Logo but more sophisticated agood start to programming!How do I know Ive succeeded?By the end of this activity you will have a copy of Scratch installed on your computer. This is thebasis to be able to start activities 6 though to 10 which will address some of the basic uses ofscratch 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. 2. Useful resourcesThe 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 screenImage from Google Images Image from Google Images Image from Google ImagesOn the Starting Block: Skills you will already have or Links need to complete the ActivityBasic Web Browser Navigation Skills© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 2
  3. 3. And we are off! NotesStep 1: Locating ScratchWe need first to locate the software for Scratch. Type in the URLhttp://scratch.mit.edu/ into your Web BrowserStep 2: Scratch front PageYou should see the following Screen© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 3
  4. 4. Step 3: Downloading ScratchTo download the Installer and programme click on the beige button to downloadscratch this should then have the next screenSelect the appropriate download, Scratch for WindowsClick 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. 5. Step 4: The Scratch environmentThe programme should have installed and placed an icon you desktop in the formof 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. 6. Step 5: A simple sequenceClick on the top left to change the modules from motion to control.Drag the module “when clicked” across to the script area, connect the repeatinstruction below, scroll down on the left hand side to find the stop script moduleand add this to the end to stop the flow of the script when the repeatedinstructions end.© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 6
  7. 7. Step 6: Moving objectsWe now have a control structure in place. This is will allow us to placeinstructions within the repeat module.First select the blue or motion modules by clicking on the top left hand side ofthe screen.We are going to cause the object or sprite to move around the screen bouncing ofthe edge if necessary. To this we drop and drag motion modules or instructionsinto 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. 8. Step 7: Moving a SpriteTo make the spite move and turn add the move steps instructions changing thenumber to 30, then the rotate 15 degrees.To preview the programme click on the green arrow. The red circle can be usedto stop the programme flow. It can viewed also in presentation mode by clickingon 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 thescreen.© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 8
  9. 9. Image from Google Images Image from Google Images Image from Google ImagesThe finishing Line: How have I Succeeded?Self CheckUse the tick box grid below to assess your knowledge. Check on National Curriculum, EuropeanComputer 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 modeTaking it further: The next Steps ActivityHave a look at the games and applications that have been produced by others onthe front page of Scratch http://scratch.mit.edu/. I selected Cannonball asexample (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. 10. Notes: For own use© Philip Spalding as KritiRechage2012 Summer School LinkedIn: http://uk.linkedin.com/in/philipspalding66 10

×