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

Preparing the tiles in Scratch


Now that we have a set of tiles to use, it's time to import them into Scratch to be scripted.

Prepare for lift off

Make sure you remember where you saved the tile images. It's often useful to save images to the same folder where you have the project file. That way, you have to search less and you can access them easily.

Engage thrusters

We will create a new sprite from the first uploaded image. Then, we will add costumes to the sprite for all the other images:

  1. Click on the Upload sprite from file icon to open the Explorer window.

  2. Find the image named tile1, select it, and click on Open, as shown in the following screenshot:

The image will load as a new sprite and be visible in the sprite editor. Now we can add the other costumes as follows:

  1. Click on the Upload from file icon in the sprite editor.

  2. Select all the remaining sprites and click on Open.

  3. This loads all the other images as costumes. We might have to rearrange them in the numbered order if the upload process...