Students: do this first!
  1. Click on the " + " to create a new project.
Overview

In this project, we are going create an underwater scene!

Step 1: Create the backdrop!

  1. Tap on the backdrop icon on the top of the screen.
  2. Select the correct underwater backdrop, then tap again to load it.
  3. A backdrop is just a picture. It sits behind our sprites. It makes our project look nicer!

Step 2: Delete the cat

  1. Tap and hold on the cat on the left side of the screen.
  2. Tap the red x that appears to delete the cat.

Step 3: Create the fish.

  1. Tap on the blue "+" on the left side of the screen.
  2. Find the green fish and double tap on it.

Step 4: Find the "Start on Tap" block.

  1. Tap on the yellow Events tab.
  2. Drag out a "Start on Tap" block.
  3. This block tells the code to start when this sprite is tapped.

Step 5: Make our fish talk!

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the "Start on Tap" block.
  4. Tap on "hi".
  5. Change the text to say, "If I move 8 steps the first time..."

Step 6: Move!

  1. Tap on the blue Motion tab.
  2. Drag out a "move right" block.
  3. Attach it to the last "say" block.
  4. Tap on the number "1" at the bottom.
  5. Change it to "8" make it move 8 steps.

Try it yourself!

  1. Tap on the fish and watch what happens!
  2. How far does the fish move?

Step 7: Make our fish talk

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the "move right" block.
  4. Change the text to say, "And 12 steps the next time..."

Step 8: Move!

  1. Tap on the blue Motion tab.
  2. Drag out a "move right" block.
  3. Attach it to the last "say" block.
  4. Tap on the number at the bottom to make it move 12 steps.

Try it yourself!

  1. Tap on the fish and watch what happens.
  2. How far does the fish move this time?
  3. Is the order that the code blocks are in important?
  4. What would happen if we changed the order of these code blocks?

Step 9: Make our fish talk

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the "move right" block.
  4. Change the text to say, "Then I moved 20 steps!"

Try it yourself!

  1. Tap on the fish and watch what happens!

Step 10: Create the seahorse.

  1. Tap on the blue "+" on the left side of the screen.
  2. Find the seahorse and double tap on it to load it.
  3. Now, drag the seahorse up so it's above the fish.

Step 11: Find the "Start on Tap" block.

  1. Make sure that you are now coding on the seahorse.
  2. Tap on the yellow Events tab.
  3. Drag out a "Start on Tap" block.
  4. What does this block do again?

Step 12: Make our seahorse talk!

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the "Start on Tap" block.
  4. Change the text to say, "If I hop 4 times..."

Step 13: Move!

  1. Tap on the blue Motion tab.
  2. Drag out 4 "hop" blocks.
  3. Attach them after the last "say" block.

Try it yourself!

  1. Tap on the seahorse and watch what happens.
  2. How many times does the seahorse hop?

Step 14: Make our seahorse talk!

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the last "hop" block.
  4. Change the text to say, "And then jump 3 more times..."

Step 15: Move!

  1. Tap on the blue Motion tab.
  2. Drag out 3 "hop" blocks.
  3. Attach them after the last "say" block.
  4. How many times do you think the seahorse will jump now?

Step 16: Make our seahorse talk!

  1. Tap on the purple Looks tab.
  2. Drag out a "say" block.
  3. Attach it to the last "hop" block.
  4. Change the text to say, "Then I jumped 7 times!"

Test your work

  1. Tap each sprite to see how it moves!

Discussion

  1. What is a sprite?
  2. Is the order that the code blocks are in important?
  3. What if we increased the number of steps the fish moves by 5?
  4. How many steps would it move then?
  5. What if we added 3 more hops to the seahorse?
  6. How many hops would it do then?