Step 18: Timer Code 2

Goal:


Now we need to code to wait one second and then subtract one from the timer variable.

This is the easiest timer we can code in our game.

Steps:

  1. From Control, place a wait 1 second block.
  2. From Variables, place a change timer by block, and set it to -1.

Code: