How to Create a Two‐Player Boat Racing Game in Scratch

Open up Scratch. , Delete the cat called "Sprite 1.", Click the left button under the white canvas., Draw your boat or import an image to use.,Double click on the stage to highlight it , Click edit and design your boat course the way you want it...

11 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Open up Scratch.

    You can do this by right-clicking on it, then clicking delete. ,
  2. Step 2: Delete the cat called "Sprite 1."

    After you have done that, click OK. ,, The image provides an example. , You can use the script displayed in the image accompanying this step, which makes the boat turn left and right.

    If you want, you can change which keys you want to use for turning and moving. , You will want to add something like what is shown in the image accompanying this step.

    In this script, if the boat touches black it will slow down.

    You can use something similar. ,, You will need to change the way Boat 2 turns.

    For example, if Boat 1 uses left and right arrows, Boat 2 could use the A and D keys instead. , Now you can freely play.

    Have fun and enjoy.
  3. Step 3: Click the left button under the white canvas.

  4. Step 4: Draw your boat or import an image to use.

  5. Step 5: Double click on the stage to highlight it

  6. Step 6: Click edit and design your boat course the way you want it.

  7. Step 7: Make it so that the boat is able to turn.

  8. Step 8: Make the boat slow down when it approaches a border.

  9. Step 9: Add another sprite (boat).

  10. Step 10: Create the script for the second boat.

  11. Step 11: Click the green flag in the top corner.

Detailed Guide

You can do this by right-clicking on it, then clicking delete. ,

After you have done that, click OK. ,, The image provides an example. , You can use the script displayed in the image accompanying this step, which makes the boat turn left and right.

If you want, you can change which keys you want to use for turning and moving. , You will want to add something like what is shown in the image accompanying this step.

In this script, if the boat touches black it will slow down.

You can use something similar. ,, You will need to change the way Boat 2 turns.

For example, if Boat 1 uses left and right arrows, Boat 2 could use the A and D keys instead. , Now you can freely play.

Have fun and enjoy.

About the Author

L

Lori Garcia

Brings years of experience writing about crafts and related subjects.

97 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: