User Guide

97
5 – Building an Arcade Game in Scratch
In this tutorial, you can see how to build a very basic version of
the arcade game Double Dragon®
1
. Double Dragon® is a side-
scrolling action game in which the player takes control of a
character and must walk from the left-hand side of the level, to
the right. In the way are numerous enemies that the player must
defeat by punching and kicking. If you are not familiar with this
game, it might be useful to watch a few videos of it on YouTube.
Compared to many of the example games that you find on the
Scratch website, the game you are building may seem
complicated. It is intended to help you learn Scratch, having a
working game at the end is a bonus.
5.1 The Title Screen
Even simple games usually start by showing some kind of title
screen to the player. When the game ends, the title screen
appears again so that the player can have another go.
To begin, start Scratch on Raspbian and delete the cat:
1. Click the Raspbian Menu, point to Programming,
and then click Scratch.
2. In the Sprite List, right-click Sprite1, and then click
delete.
The Stage’s background color should match the background
color of the logos and graphics that you use. To change it:
1. In the Sprite List, click Stage.
1. Double Dragon is a registered trademark of Bally Gaming, Inc.
This project pushes Scratch on the Raspberry Pi to its limits. If
Scratch struggles to run the game when you click the green flag,
try Scratch in “presentation mode”.