PacktLib: Scratch 1.4: Beginner’s Guide

Beginner's Guide

Credits

About the Author

About the Reviewer

Preface

Welcome to Scratch!

What is Scratch?

Programming concepts

Scratch anatomy

Learning Scratch

Summary

Installation

Install Scratch

Confirm Java install

Customize your Scratch installation

Redistribute Scratch freely

Summary

Start Scratching

The interface at a glance

Time for action - first step

Time for action - save your work

Set the cat in motion

Time for action - a big step

Time for action - in motion forever

Time for action - get out of the corner

Add sprites to the stage

Time for action - spin sprite spin

Sometimes we need inspiration

Time for action - spinner

Time for action - broadcast a message

Browse the Scratch community

Time for action - create an account

Time for action - download a project

Summary

Graphics and Slideshows

Happy birthday wishes

Time for action - paint a happy birthday sprite

Time for action - paint the stage

Time for action - address the card

Time for action - hide all sprites

Time for action - display happy birthday

Time for action - roll call

Time for action - give me an "M"

Time for action - give me another "M"

Time for action - set first M straight

Time for action - give mom flowers

Build a photo slideshow

Time for action - insert a title screen

Time for action - import photos from disk

Time for action - flip through the photos

Time for action - present your show

Summary

Storytelling

Barnyard humor

Time for action - create TOC

Time for action - add new pages

Time for action - hide the sprites

Time for action - import the horse

Time for action - the horse talks

Time for action - revise the horse talks exercise

Time for action - a horse whinnies

Time for action - bring out the dog

Time for action - stay dog

Time for action - turn to the left

Time for action - hit the cymbals

Time for action - applause, please

Time for action - joke, please

Time for action - hide TOC

Time for action - enter dog

Time for action - exit dog

Time for action - show TOC

Summary

Arcade Games

Troll pong

Time for action - open the sample pong project

Time for action - change direction

Time for action - remove the random turn

Time for action - beach ball pong

Time for action - add new paddle controls

Time for action - add background music

Time for action - paddle meets ball

Time for action - add a score variable

Time for action count the paddle's steps

Time for action reach for a new level

Time for action fix the script

Time for action - count the levels

Time for action - enter project notes

Summary

Games of Fortune

Fortune-teller

Time for action - create a list of questions

Time for action - import a list of fortunes

Time for action - tell me a fortune

Time for action - force a positive fortune

Time for action - my fortune is what?

Do you have a question?

Time for action - ask your question

Time for action - add it to the list

Time for action - join two sentences

Summary

Math and Finance

Double it or lump sum?

Time for action - calculate the double amount

Time for action - set user-defined variables

Time for action slow it down

Time for action set the graph’s origin

Time for action - draw a graph

Time for action connect the dots

Time for action - fix the graph

Time for action - draw the x and y axis of the grid

Time for action - label newAmount

Time for action - calculate interest on lump sum

Next steps

Summary

Share!

Share with the Scratch community

Time for action - compress media files

Time for action - share!

Host your Scratch projects

Time for action - install files on a web server

Summary

Real-world stimuli

Import webcam pictures

Time for action - say cheese

PicoBoard—what is it?

Install the PicoBoard

Capture sound input

Time for action - switch backgrounds on sound

Time for action use sound to change the sprite's looks

Click for the next slide

Time for action - click for the next slide

Time for action - wait until button not pressed

Step into the light, please

Time for action -

Control motion with the slider

Time for action - slide sensor

Create circuits

Time for action - complete the circuit

Time for action - measure resistance

Watch all sensor values

LEGO WeDo support

Summary

Scratch Resources