Enhance and Customize

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

Add More Sounds

Click the Sounds tab.

Click the play button to preview the sounds.

Or, click the icon to choose a new sound:

Click the Scripts tab. Choose the Sound category, and drag out a play sound block.

Snap that sound block into the script, like this:

Score Points

Add a variable for keeping score.

Drag out a change score by 1 block.

Insert it in your script to add a point each time the ball goes through the hoop:

To reset the score when you start the game, drag out a set score to 0 block. Add a when green flag clicked block on top:

Add a Challenge

Make the defender jump at random times.

Click the Operators category and add a pick random block:

You can type in different numbers to adjust how long it waits. Next, save and share your project