Project 544: Infinite Runner

2. (Group activity) Y Speed

To create a jump that feels better to play, we'll need to code a little bit of our own physics! 
Starting point file for this challenge

Steps

1. Make a new variable, Y Speed

2. What does Y Speed mean?

3. Which coordinate gets changed by the Y Speed? Grab those blocks.

Grab 2 "change Y by ___" blocks. Put the orange "Y Speed" bubble inside them.

4. How would we make the character jump up? What about fall back down?

Grab a "set __ to __" block and a "change __ by __" block. To go up, you'll want to SET to a positive number. To move down, you'll want to change by a negative number. 

5. Should the character fall forever?

Grab the correct condition block, a light blue sensing block, and a "repeat until" block. Put the sensing block inside the "repeat until." 

6. Grab more blocks

Thinking about these in mind, you'll want to grab these other blocks. This will help you in the next step.