Scratch 2.0 Game Development Hotshot

Scratch 2.0 Game Development Hotshot
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Discover how to make the most of the new Scratch 2.0 interface
  • Understand how video games work under the hood
  • Make your projects come to life, using practical programming principles
  • Learn how to plan and build your own interactive projects

Book Details

Language : English
Paperback : 330 pages [ 235mm x 191mm ]
Release Date : February 2014
ISBN : 1849697566
ISBN 13 : 9781849697569
Author(s) : Jessica Chiang, Sergio van Pul
Topics and Technologies : All Books, Game Development

Table of Contents

Project 1: Blowing Things Up!
Project 2: Beating Back the Horde
Project 3: Start Your Engines
Project 4: Space Age
Project 5: Shoot 'Em Up
Project 6: Building a Worthy Boss
Project 7: Creating a Level Editor
Project 8: Dungeon Crawl
Project 9: Hunger Run
Project 10: Sprites with Characters
Appendix: The New Scratch Interface
  • Project 1: Blowing Things Up!
    • Mission briefing
    • Creating a new project
    • Starting scripts
    • Adding targets
    • Creating a parabolic shot
    • Creating a landscape
    • Mission accomplished
    • Hotshot challenges
  • Project 2: Beating Back the Horde
    • Mission briefing
    • Creating a background
    • Creating enemies
    • Creating cannons
    • Fighting back
    • Increasing the horde
    • Adding a base
    • Limiting resources
    • Winning the game
    • Mission accomplished
    • Hotshot challenges
  • Project 3: Start Your Engines
    • Mission briefing
    • Drawing a racetrack
    • Creating a kart
    • Building keyboard controls
    • Using a collision mask
    • Dealing with collision events
    • Adding a second player
    • Finishing the game
    • Mission accomplished
    • Hotshot challenges
  • Project 4: Space Age
    • Mission briefing
    • Starting with the starter project
    • Adding scripts to Spaceship
    • Updating enemy sprites
    • Adding scripts to Spaceship Ammo and Enemy Ammo
    • Adding scripts to Shield and Shield Life
    • Meeting your Game Manager
    • Adding levels – three simple steps
    • Mission accomplished
    • Hotshot challenges
  • Project 5: Shoot 'Em Up
    • Mission briefing
    • Creating a player character
    • Creating an enemy
    • Adding enemy patterns
    • Shooting those baddies!
    • Creating background images
    • Using parallax scrolling to simulate depth
    • Adding scores and power-ups
    • Tweaking and balancing
    • Mission accomplished
    • Hotshot challenges
  • Project 6: Building a Worthy Boss
    • Mission briefing
    • Sending a message
    • Adding a test script
    • Creating the boss
    • Creating attack pattern 1
    • Creating attack pattern 2
    • Creating attack pattern 3
    • Making the boss more impressive
    • Defeating the boss
    • Mission accomplished
    • Hotshot challenges
  • Project 7: Creating a Level Editor
    • Mission briefing
    • Planning the level map
    • Drawing the level tiles
    • Preparing the tiles in Scratch
    • Creating a level generator
    • Creating a character
    • Creating a goal
    • Adding a bomb item
    • Adding the bomb effects
    • Mission accomplished
    • Hotshot challenge
  • Project 8: Dungeon Crawl
    • Mission briefing
    • Adding a knight
    • Adding a ghost
    • Creating a sword
    • Creating a bow and arrow
    • Tying up loose ends
    • Mission accomplished
    • Hotshot challenges
  • Project 9: Hunger Run
    • Mission briefing
    • Understanding scrolling
    • Adding scripts to the brick sprite
    • Adding scripts to the food sprite
    • Adding scripts to the player sprite
    • Adding scripts to the Game Manager sprite
    • Tweaking the game
    • Mission accomplished
    • Hotshot challenges
  • Project 10: Sprites with Characters
    • Mission briefing
    • Building the robot wireframe
    • Coloring it metallic
    • Performing final adjustments
    • Animating
    • Parting with a few tips
    • Mission accomplished
    • Hotshot challenges
  • Appendix: The New Scratch Interface
    • Mission briefing
    • Website overview
    • Creating an account and logging in
    • The Scratch editor layout
    • Creating and importing sprites
    • New script block categories
    • Saving and loading projects
    • Sharing the backpack feature
    • Some benefits and drawbacks of the new Scratch interface

Jessica Chiang

Jessica Chiang  is a senior software engineer, online educator, and technology enthusiast.

She has worked with a wide range of interesting and cutting-edge technologies including nuclear detector and unmanned aircraft-control system. Not only an inquisitive learner, she also loves to teach in class as well as online through her website (  and YouTube channel ( ).

Jessica has self-published an e-book titled Shall We Learn Scratch Programming: E for Everyone. This book has been requested by many schools to supplement their computer science and education curriculum; one such school is Jessica's alma mater, the University of California, San Diego.

Sergio van Pul

Sergio van Pul is a game designer and artist interested in making interactive media entertainment. He has built games and interactive applications using Flash ActionScript. He has also worked on web designs and stylesheets, using a basic text/script editor to write raw HTML and CSS, as well as using the Drupal CMS to assemble a website. He is also familiar with visual editing tools such as Photoshop and Première.

Sergio has worked as a freelance designer and programmer on a variety of projects, many of which involved interaction and education. During this time, he met people from Scratch Web Foundation, a Dutch organization that promotes digital design and programming knowledge in primary education.

Sergio started using Scratch to teach children about programming and game design. Occasionally, he also uses Scratch as a quick and easy prototyping tool to test game interaction concepts. He likes experimenting with the program and building tutorials, examples, and complete game projects. Some of his material was printed and tested during workshop sessions for Scratch Web Foundation. This book is his first official publication.

Code Downloads

Download the code and support files for this book.

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.


- 2 submitted: last submission 29 May 2014

Errata type: Technical | Page no.: 15

Point number 8 of the Engage thrusters section states that there is no way to view the built-in variables for Sprites, such as Direction. But this is incorrect. Under Sensing, there is a block for exactly that. You can use it to get the direction, x, y, & costume (to name a few) of any sprite.

Errata type: Technical | Page no.: 104

For step 3, the original text reads the following:

    "3. Then, enter the value of direction for the boolean input parameter..."

This line could be more clear changing to:
    "3. Then, type in "direction" as the name of the boolean input parameter..."

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 2.0 Game Development Hotshot +    Managing Multimedia and Unstructured Data in the Oracle Database =
50% Off
the second eBook
Price for both: £27.05

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

What you will learn from this book

  • Draw and edit game graphics
  • Construct scripts from logic blocks
  • Utilize operators and conditions to steer game actions
  • Use variables and lists to save and reuse dynamic numbers
  • Create both mouse and keyboard controls for various purposes
  • Implement natural physics effects such as collisions and gravity
  • Invent and build power-ups
  • Learn how to use some advanced math, for better looking movement patterns
  • Make interesting level designs
  • Balance the game for an enjoyable experience
  • Reuse elements to speed up the building process

In Detail

Playing video games is fun, however, it’s even more fun to make your own! Scratch 2.0 makes that challenge a lot easier. Instead of diving into abstract and confusing code, you can build games using easy to understand logic blocks. Within minutes you can have your first game up and running.

Readers can look forward to an easily accessible and fun introduction to programming and interactive media design. Within minutes of starting the program, you will be able to see the first results of your hard work. Visual feedback comes early and often, making high-level, abstract concepts a lot easier to understand.

This book offers readers access to completely interactive projects based on well-known video game genres. You will then learn how to use standard programming principles such as operators, variables, and functions.

From a broader perspective, you will also learn how to plan and develop a game from a general idea to the finished product, creating a fun and user-friendly game. Scratch 2.0 includes many new and exciting features, which makes it possible to create more advanced games. The final results will be close to production level games. This book will not only introduce you to the Scratch 2.0 software, but also teach you about interactive media design.


An easy-to-use book, containing 10 engaging projects that will help you learn how to build video games with the easy to use Scratch 2.0 environment.

Who this book is for

If you are a new, or current Scratch user and would like to improve your understanding of the new Scratch 2.0 interface, and learn how to make video games, this book is ideal for you. Each project is explained in-depth from start to finish, so everyone can follow along, even if you don’t have much previous experience with the software. If you want to become a video game designer, this book is an easy- to- use and friendly guide about the world of interactive media. It will teach, challenge, and inspire you to create great interactive projects.

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