Scratch Cookbook

If want to get your programming know-how off the starting blocks in a fun, involving way, then this guide to Scratch is perfect. In no time you’ll be building your own interactive programs that include animations and sound.

Scratch Cookbook

Brandon Milonovich

1 customer reviews
If want to get your programming know-how off the starting blocks in a fun, involving way, then this guide to Scratch is perfect. In no time you’ll be building your own interactive programs that include animations and sound.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$21.00
$49.99
$29.99p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781849518420
Paperback262 pages

Book Description

Scratch 2.0 is an easy to use programming language that allows you to animate stories and create interactive games. Scratch also gives you the capability of using programming to calculate complicated calculations for you.

Scratch Cookbook will lead you through easy-to-follow recipes that give you everything you need to become a more advanced programmer.

Scratch Cookbook will take you through the essential features of Scratch. You’ll then work through simple recipes to gain an understanding of the more advanced features of Scratch.

You will learn how to create animations using Scratch. Sensory board integration (getting input from the outside environment) will also be covered, along with using Scratch to solve complicated and tedious calculations for you. You’ll also learn how to work through the exciting process of project remixing where you build on the work of others.

Scratch Cookbook will give you everything you need to get started with building your own programs in Scratch that involve sounds, animations, and user interaction.

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: 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
Chapter 4: 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
Chapter 5: Spicing up Games
Introduction
Tracking the best score or time
Keeping a high score list
Adding more levels
Chapter 6: 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
Chapter 7: 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
Chapter 8: Programming to Calculate
Introduction
Generating Fibonacci numbers
Sieve of Eratosthenes
Creating a password generator
Other Scratch calculations
Chapter 9: Project Remixing
Introduction
Importing parts of other projects
Drawing with the pen
Remixing the pen project

What You Will Learn

  • Navigate smoothly through the Scratch 2.0 interface
  • Animate a story or visual
  • Build a basic one player game
  • Learn about adding graphic effects and working with variables
  • Develop multi-level games and integrate sensor (Pico) boards
  • Perform advanced calculations

Authors

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: 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
Chapter 4: 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
Chapter 5: Spicing up Games
Introduction
Tracking the best score or time
Keeping a high score list
Adding more levels
Chapter 6: 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
Chapter 7: 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
Chapter 8: Programming to Calculate
Introduction
Generating Fibonacci numbers
Sieve of Eratosthenes
Creating a password generator
Other Scratch calculations
Chapter 9: Project Remixing
Introduction
Importing parts of other projects
Drawing with the pen
Remixing the pen project

Book Details

ISBN 139781849518420
Paperback262 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Raspberry Pi Cookbook for Python Programmers Book Cover
Raspberry Pi Cookbook for Python Programmers
$ 26.99
$ 18.90
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00
Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Linux Shell Scripting Cookbook, Second Edition Book Cover
Linux Shell Scripting Cookbook, Second Edition
$ 26.99
$ 5.40
Raspberry Pi Home Automation with Arduino Book Cover
Raspberry Pi Home Automation with Arduino
$ 17.99
$ 3.60