Step 3: Bomb Ammo Check IF Statement 2

Goal:


We need to create a variable that holds the number of bombs we currently have available to shoot.

Steps:

  1. In Variables, click the button “Make a Variable”
  2. In the window that appears, type “bombs”
  3. From Variables, place a round bombs block into the left side of the >(Greater Than) block.

Code:


Click to replay