Please note: This theme has not been updated to reflect Scratch 3.0. Visit this help article for more info.
Transcript

[Female Instructor] In this add-on, you'll make a fun little friend who follows the hero around on its adventure.

This add-on uses a block you may not have used before, but you'll quickly see what it does.

Then, you'll figure out the rest for yourself.

Remember, you're a computer scientist and computer scientists persevere and use their minds to solve problems.

First, pick your follower friend or draw your own.

You may need to make it travel-size.

The block you need is in the sensing menu.

It's a round one near the bottom.

The second drop-down lets you pick a sprite.

So, with this block, you can get, say, the x position of the hero even in the code for your new follower sprite.

The first drop-down lets you pick different attributes, which, if you notice, are all the names of the round blocks in other menus.

You'll use two of these blocks for this add-on, one for the x position and one for the y position.

The other things you'll use are a forever loop, a glide block, and some plus or minus blocks if you want to change exactly how far ahead or behind the follower follows.

Your final code might look like a really long glide block.

For a bigger challenge, think about how to make the follower move around randomly a little bit even when the hero is standing still.

Or figure out how to animate the follower with different movements or costumes.

Be creative.

Be resourceful.

Have a blast.

Now, it's your turn.

Make a new follower sprite.

Use the round sensing block, forever, glide, and addition and subtraction blocks.

Challenge yourself by adding random motion and animation.

Choose an Add-On

Game Over

Give your hero a set number of lives.

Laser

Program your hero to shoot lasers to vanquish the evil bugs.

Power-up

Add a power pellet to make the hero jump higher.

Falling Rocks

Add a falling obstacle to your game.

Platforms

The terrain of your game will change to move up and down.

Follower Friend

Add a cute buddy who follows your hero around.

Instructions

  1. Choose an add-on, and click "watch" to learn how to customize your project.
  2. When you finish, come back to the add-ons screen and try another add-on!