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