PacktLib: Scratch Cookbook

Scratch Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Scratch

Introduction

Starting up Scratch

Deleting the default sprite

Adding a custom sprite

Adding a pre-made sprite

Changing the stage background

The Hello World project

Storytelling

Introduction

Adding words to a sprite

Adjusting the timing

Sprites interacting with other sprites

Basic broadcasting and receiving

Resetting parts of a program

Other fun graphic effects

Adding Animation

Introduction

Changing sprite costumes

Switching backgrounds in a story

Adding graphic effects to backgrounds

Keyboard input to a program

Getting the mouse position

Basic Gaming

Introduction

Creating a moving object

Adding another ball

Object interaction with a background

User interaction with a game

Using mouse control

Keeping score

Objects disappearing

Building a maze

Using the timer

Spicing up Games

Introduction

Tracking the best score or time

Keeping a high score list

Adding more levels

Bringing in Sound

Introduction

Playing sounds

Importing a new sound

Recording a sound

Playing drums and notes

Adjusting volume

Fading volume out

Changing the tempo

Interactive note playing

Integrating PicoBoards

Introduction

Setting up the sensor board

Getting values from the sensor board

Working with the slider

Integrating the light sensor

Integrating the sound sensor

Measuring resistance

The sensor board button

Checking other connections

Programming to Calculate

Introduction

Generating Fibonacci numbers

Sieve of Eratosthenes

Creating a password generator

Other Scratch calculations

Project Remixing

Introduction

Importing parts of other projects

Drawing with the pen

Remixing the pen project

Collaboration

Collaboration

Collaboration

Collaboration

Collaboration

Collaboration

Collaboration

Index