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

Adding a base


Defeating the enemies is not enough. We need a solid goal to fight for. We will create this in the form of a base at the end of the road. The enemies will try to reach the base, decreasing its health with each enemy that enters it. The player must try to stop the enemies before they reach the base.

Prepare for lift off

We will draw the base with some face-like features. Things that look human help the player to empathize more with them. The following are the steps to create a base:

  1. Create a new sprite by clicking on the paintbrush icon.

  2. Choose a dark gray color and draw a circle. To create a perfect circle, hold Shift while drawing.

  3. Fill the circle with a light gray color.

  4. Decorate the base with some circles and squares to resemble an open gate. See the following screenshot for an example.

  5. Like the enemies, this base will have a healthbar. Pick a bright yellow color and draw a line to the top-left of the base.

The base can be hit 20 times. So it will have 20 costumes, but don't copy...