YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Play Lab Hour of Code - Repeat Forever block

Get Embed Code
6 Languages

Showing Revision 1 created 03/04/2015 by Amara Bot.

  1. Can you imagine if you had to repeat something
    forever and ever? Well hopefully you never
  2. have to, because computers are really good
    at repeating things for you. This is the "repeat
  3. forever" block. Anything inside this block
    will happen forever in the game. If we want
  4. an actor to do something repeatedly, without
    the player having to do anything, we'll put
  5. those blocks inside the "repeat forever" block.
    In this next puzzle, our goal is to help the
  6. wizard patrol the boundaries of the kingdom,
    left and right continuously. Learning how
  7. the repeat commands works, will save you a
    ton of time later when you build your own game.