September 2016
Beginner
288 pages
6h 14m
English

Many platformer games, such as Super Mario Bros. and Donkey Kong Country, show a side view of the action, where the bottom of the screen is the ground and the character is shown from the side. These games have gravity: characters can jump up and then fall until they land on the ground. In this chapter, we’ll write a basketball game that has gravity. The player will jump and throw a basketball, and the basketball player and ball will fall downward.
Before you start coding, look at the final program at https://www.nostarch.com/scratchplayground/.
First, let’s sketch out what we want the game to ...
Read now
Unlock full access