top of page
באננר100.png
באנרקופץ3.png

21

game -Jumping over a ball

MAN.png

What will you learn in this lesson?
How to build a game where a child hovers over a ball. If the ball hits the child, we jump to indicate the end of the game:

 

  • Learn to use the "Message" block

     

  • Learn to use the "Start on Bump" block
     

  • Learn to use the "Start on Tap" (Touching mouse-pointer) block

לבנת מסר למשק.png
דמות נוגעת בדמותקופץ.png
image.png
46652233.png
action.png

Add the "empty room" background

רקע חלון.png
action.png

Add the "football" sprite

כדורגלקפצן.png
action.png

Add a button shape by drawing in the graphic editor

לחצן.png
action.png

Place the sprites as they are in the picture

EPHMVFSUR.png
image.png
action.png

Create a new slide numbered 2 with the text "The ball hit the child" inside it.

פגש בכדור.png
action.png

Build the script for "football" sprite

כדור מסתובב.png
action.png

Build the script for the "child" sprite

ילד קופץ.png
action.png

Build the script for the button

עם תסריטלחצן.png
action.png

Run the script by clicking on the green flag

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