Home

Home

 Print This Lesson


SCRATCH TUTORIAL     SPACE SHUTTLE MISSION STS-2020
Lesson 13     Create Scripts for the Alien Spaceship Sprite

  • Description. This lesson we will create Scripts to move the Alien Spaceship.

    If you haven't already, Launch the Scratch program from your desktop.
  • Let's get started!!!

  • We will be using background 5, spacebg. Click on the Stage icon, Select the spacebg.
To get to the Alien sprite interface, in the Sprite list, Click on Alien icon

Click on the tab.

Description:
When the game starts, we want to hide the Alien spaceship.
Move it to the top right corner of the stage and point it in the right direction.

When it recieves the message mayday, we want to show the Alien spaceship.



  • Create the script.
When the game starts:
Hide the Alien spaceship.
Point the spaceship in the right direction.
Move it to the top right corner of the stage.

Grab and Snap these blocks together, to create the Script.

Change the values, until you get the result that you like.
After you make your changes, Test.
You may have to do it several times to get it like you want.

TIP: After you test, to show the Alien spaceship, in the sprite list area, rightclick the Alien icon and click show.

When the Alien spaceship, recieves the message mayday:,
Show the Alien spaceship.

Grab and Snap these blocks together, to create the Script.

TEST








We are done for now. After we add our Missile Sprite, we will need to come back and more blocks.