Add to Your Game

What else do you want to add to your game? Try some of these ideas.

Score Points

Add a variable to keep score.

First, click to highlight a bear or other sprite.

In the Data category, make a variable named score.

Drag out a change score by 1 block.

Add a point each time the sprite is clicked:

Use set score to 0 to reset the score at the beginning of your program:

Add More Characters

Add more bears or other sprites.

You can copy the scripts from your bear to the other sprite.

To copy, drag each script over the other sprite’s thumbnail. When you let go, it copies the script:

Or, if you’re logged in, you can use the Backpack to copy scripts.

Jump to a Random Spot

Want your sprites to go all over the screen?

Click the Motion category. Drag out a go to x y block.

Make your sprite jump to a random spot on the Stage by using these blocks:

The x position (across the screen) ranges from -240 to 240. The y position (up and down) ranges from -180 to 180.

Tip: You can use this to replace the move block.