O'Reilly logo

Scratch 2.0 Game Development HOTSHOT by Sergio van Pul, Jessica Chiang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Hunger Run

In this project, we will build a fast-moving game called Hunger Run. It is an auto-scrolling platform game. Although the art for Hunger Run is inspired by Super Mario, my all-time favorite platform-based game, the game is more similar to Monster Dash (https://itunes.apple.com/us/app/monster-dash/id370070561?mt=8).

Mission briefing

In this project, we will create an auto-scrolling platform game called Hunger Run. We will learn to view our game world's spatial space as a 2D grid of fixed-size grid units. On this 2D grid, we will learn how to scroll a player sprite through grid units. Moreover, we will add food sprites to each grid for Marco and Polo. They will run from one grid to another, picking up food as they go. Along the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required