Step 11: Set Our New Variables

Goal:


Let’s set the double_jump variable to False and the fall_speed variable to 0.

This will make the player sit level on the ground and be able to jump right from the start of the game.

Steps:

  1. Set the first set block to the variable double_jump, and the value to False.
  2. Set the second set block to the variable to fall_speed, and the value to 0.

Code: