What will you learn on this page?
-
Build a game: Create a game where a vehicle moves on a road using a joystick.
-
Use the "message" block: Learn how to use the "message"
block for creating and managing the game.
-
Use the "Start on Bump" block: Learn how to
detect when the vehicle touches the edge of the road.
-
Use the "Start on Tap" brick: Learn how to interact with
the vehicle using the mouse cursor.
-
Use the "Go to Page" block: Learn how to move
between different scenes in the game.
Draw a road in the graphic editor, using squares for the spacing between the lines, as shown in the picture
Draw a car in the graphic editor and name the sprite "Car"
Draw the following sprites in the editor
Position the sprites as they are shown in the picture
Build the script for the car
Build the scripts for each of the sprites
Add slide number 2
Added to the background the subtitles "You touched the side of the road" "Touch me to start over"
Add the script to the "Tic" sprite on slide 2