Book Image

Scratch 2.0 Game Development Hotshot

Book Image

Scratch 2.0 Game Development Hotshot

Overview of this book

Table of Contents (18 chapters)
Scratch 2.0 Game Development HOTSHOT
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

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 path of their frantic run, they will find food that nourishes as well as poisonous mushrooms that kill.

Why is it awesome?

While creating Hunger Run, we will learn how scrolling works and will also create auto-scrolling platforms that simulate player sprite moving between platforms. Not only that, we will also add food sprites that scroll with the platforms and interact with the player.

Our player sprite might remind you of Mario and Luigi. Marco and Polo are as cool as Mario and Luigi and definitely hungrier than them. They may not have a princess to save, but they have an empty...