Step 5: Background Reset 1

Goal:


We need to see if the background has gotten all the way across to the left side of the screen. If it has, we need to reset its position.

The game will know if the background has reached all the way to the left if the x position is less than -460.

Steps:

  1. From Operators, place a < block in the IF block.
  2. Set the right side of the < block to -460.
  3. From Motion, place a round x position block in the left part of the < block.

Code: