Free Sample
+ Collection

Scratch 2.0 Game Development HOTSHOT

Jessica Chiang, Sergio van Pul

Get up to date with Scratch 2.0 and build brilliant games without having to code. Including 10 exciting projects that cover most game genres, you’ll quickly learn the sophisticated possibilities of Scratch. Have fun!
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849697569
Paperback330 pages

About This Book

  • 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

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.

Table of Contents

Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 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
Chapter 10: Sprites with Characters
Mission briefing
Building the robot wireframe
Coloring it metallic
Performing final adjustments
Parting with a few tips
Mission accomplished
Hotshot challenges

What You Will Learn

  • 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.


Read More