What will you learn in this lesson?
How to build a game where "Tac" sprite jump out of holes in the ground. The goal is to touch them as soon as they appear and move the success meter to the right:
-
Learn to use the "Message" block
-
Learn to use the "Start on Bump" block
-
Learn to use the "Start on Tap" block
-
Learn to use the "Wait" block to synchronize the appearance of characters
Add the "Farm" background, click on the edit icon, and draw five black circles.
Add the five "Tac" sprites and name them. In our example, we numbered them from 1 to 5.
Draw a new triangular figure in the editor
Position the "sprites" as shown in the picture.
Build the script for sprite 1
Duplicate the script for all sprites by dragging it to characters 2 through 5
Create a script for the (triangle) sprite to move right with each success.
Run the script by clicking on the green flag