Scratch Cookbook

Scratch Cookbook
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Get started using Scratch, or take your programs to a new level using simple, easy-to-read recipes
  • Learn techniques for animating stories
  • Create fun and engaging games

Book Details

Language : English
Paperback : 262 pages [ 235mm x 191mm ]
Release Date : July 2013
ISBN : 1849518424
ISBN 13 : 9781849518420
Author(s) : Brandon Milonovich
Topics and Technologies : All Books, Other, Cookbooks, Games, Open Source

Table of Contents

Chapter 1: Getting Started with Scratch
Chapter 2: Storytelling
Chapter 3: Adding Animation
Chapter 4: Basic Gaming
Chapter 5: Spicing up Games
Chapter 6: Bringing in Sound
Chapter 7: Integrating PicoBoards
Chapter 8: Programming to Calculate
Chapter 9: Project Remixing
Appendix: Collaboration
  • 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 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
                    • Appendix: Collaboration
                      • Introduction
                      • The online Scratch community
                      • Creating an account
                      • Sharing projects
                      • Sharing Scratch 1.4 projects
                      • Downloading projects

                      Brandon Milonovich

                      Brandon Milonovich completed his Master's degree in Teaching and Curriculum with emphasis in Mathematics Education in December 2012 at Syracuse University in central New York. Prior to attending Syracuse, Brandon earned his Bachelor's degree in Adolescent Mathematics Education at The College of Saint Rose in Albany, NY. Brandon grew up in upstate New York with an interest in mathematics and computer science at a young age. Brandon has experience of teaching mathematical concepts to students using Scratch in third through fifth grade, as well as experience of teaching mathematics at the middle school, high school, and university level. It was during Brandon's time at Saint Rose that he began his work with Scratch through an internship program with Computer Science professor Helen Albanese. In coordination with three Albany City School District teachers, Brandon developed an after-school program centered on programming in Scratch for at-risk youth. The program expanded the following year to include a broader age range of students. Now, Brandon works towards making learning Scratch more accessible within the classroom itself, both with traditional methods and flipped classroom-blended learning style concepts, to build the mathematical foundation students need to be successful 21st century learners. Brandon believes in sharing of information as broadly as possible, and so has presented with his colleagues at numerous conferences and workshops on Scratch, and hopes to continue to do so. For more information on Brandon, or to contact him, visit

                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      Scratch Cookbook +    HTML5 Data and Services Cookbook =
                      50% Off
                      the second eBook
                      Price for both: $43.05

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • 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

                      In Detail

                      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.


                      A practical approach with hands-on recipes to learn more about Scratch and its features.

                      Who this book is for

                      Scratch Cookbook is great for people who are still relatively new to programming but wish to learn more. It assumes you know the basics of computer operation. The methods of using Scratch are worked through quickly with a focus on more advanced topics, though readers can move at their own pace to learn all the techniques they need.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software