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

Starting with the starter project


To simplify the script creation, we will start with the starter project. The starter project contains the following:

  • Stage

  • Global variables

  • Incomplete sprites (sprites that contain incomplete costumes, variables, or scripts)

  • Complete sprites (sprites that contain all the necessary parts and can be configured)

Engage thrusters

Open the starter project and check out the stage, global variables, and the sprites.

The costume stage in Space Age is imported from the Scratch media library under Space. It does not have any script and is only used for the background.

Open the starter project and check out the sprites included. The following table gives a quick overview of what each sprite does:

Sprite name

Description

Scripts included in starter project?

Spaceship

The sprite that the player controls directly

No

Spaceship Ammo

 

No

Shield

Protects the Spaceship against enemy crash but not against the enemy ammo

No

Shield Life

Displays the power level of...