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

Drawing the level tiles


Now that we know the structure of our tiles, we can work on the specific designs. We will create a series of tiles with different pathway designs to use as building blocks for the level generator.

Prepare for lift off

This step can be done with an external image editor, such as GIMP or Photoshop. The step-by-step explanation assumes you have such a tool available. GIMP is available for free.

If you don't want to bother with other tools besides Scratch, the Classified intel section of this task will explain how you could go about drawing the tiles in the Scratch image editor.

Engage thrusters

To start drawing the tiles, we first open the image editor of our choice. We will draw twelve different sprites to create a complete set of interesting tile options. Please create the images in the following order, because this will be important later on when we create the script for the tile generator:

  1. Create a new canvas 60 pixels wide and 60 pixels high.

  2. Then, make the grid visible...