Underwater - PART I

About this lesson

Practice your programming tricks in this creative underwater tutorial.

Step 1
Create a new project and add an "Underwater" background.
Step 2
Add a new Scuba Diver character.
Step 3
We'll start the diver in the center when the flag is clicked
Step 4
Give the Diver Left & Right controls:
Step 5
Give the Diver Up & Down controls too:
Step 6
Paint a new "Net" Sprite.

Select "Paint new Sprite"

Convert to Bitmap

Set the Fill color to black

Step 7
Paint a horizontal line for the handle
Step 8
Paint the netting

Paint a half circle at the end of the handle

Fill the net with white

Draw some crosses to make the netting

Step 9
Add this code to the net.

This makes it follow the diver

Step 10
Press the flag and then change these values to fit the net into the diver's hand
Check Your Work
Step 11
The net should now follow the diver and be in their hand
Step 12
Add a new fish character.

Set the size of the Fish so that it will fit in the net

Step 13
We'll make this Fish invisible and have it start creating Fish clones
Step 14
Each Fish clone will appear and glide around randomly
Step 15
Test it out. You should now have a bunch of Fish clones swimming around
Step 16
If the Fish clone touches the white part of the net it we catch it!

We need to pick the color like this:

Check Your Work
Step 17
You should now be able to catch Fish in the net!
Step 18
Here we can add this block to make each Fish clone switch the Fish costume
Check Your Work
Step 19
Now we have different kinds of Fish!
Step 20
Create a new variable called "Score", make it for all sprites.
Step 21
Add this code to the Fish to make a Scoring system
Check Your Work
Step 22
Now you get Points for collecting Fish!

IF you have all of this you are ready for part 2!

Try one of these lessons next:

Underwater - PART I Info



Created By



Intro to Scratch: 1st/2nd Grade

Access Level


For Teachers and Schools

Teach coding to your students with MVCode Teach

MVCode offers an integrated product designed to teach coding to students.

Learn more about MVCode Teach