top of page
באננר100.png
באננר.png

22

Reaction time game

MAN.png

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

לבנת מסר למשק.png
נוגעבדמותקופץ.png
דמות נוגעת בדמותקופץ.png
המתן לסנכרון.png
action.png

Add the "Farm" background, click on the edit icon, and draw five black circles.

רקע זמן תגובה.png
action.png

Add the five "Tac" sprites and name them. In our example, we numbered them from 1 to 5.

image.png
TAC.png
action.png

Draw a new triangular figure in the editor

משולש.png
action.png

Position the "sprites" as shown in the picture.

מיקום TAK.png
action.png

Build the script for sprite 1

TAC2.png
action.png

Duplicate the script for all sprites by dragging it to characters 2 through 5

שכפול.gif
action.png

Create a script for the (triangle) sprite to move right with each success.

מחוג.png
action.png

Run the script by clicking on the green flag

משחקמכה בראש.gif
bottom of page