< Return to Video

Gumball Hour of Code - Repeat statements

  • 0:01 - 0:05
    Can you imagine if you had to repeat something
    forever and ever?
  • 0:05 - 0:10
    Hopefully you never have to because computers
    are really good at repeating things. This
  • 0:10 - 0:16
    is the repeat forever block. Anything inside
    this block will happen forever in the game.
  • 0:16 - 0:21
    If we want an actor to do something repeatedly
    without the player having to do anything,
  • 0:21 - 0:28
    we'll put those blocks inside the repeat forever
    block. In this next puzzle, our goal is to
  • 0:28 - 0:33
    help the actor do a job continuously. Learning
    how the repeat commands work will save you
  • 0:33 - 0:36
    a ton of time later when you build your own
    game.
Title:
Gumball Hour of Code - Repeat statements
Description:

more » « less
Video Language:
English
Team:
Code.org
Project:
Hour of Code
Duration:
0:40

English subtitles

Revisions