[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:01.28,0:00:03.94,Default,,0000,0000,0000,,Welcome to the Hour of Code... Dialogue: 0,0:00:14.07,0:00:20.47,Default,,0000,0000,0000,,Hi I'm Kathleen Kennedy and I'm the producer\Nof Star Wars: The Force Awakens. Today you'll Dialogue: 0,0:00:20.47,0:00:27.91,Default,,0000,0000,0000,,be working with one of our stars, BB-8. BB-8\Nis a spherical droid. Everything he does and Dialogue: 0,0:00:27.91,0:00:34.83,Default,,0000,0000,0000,,every movement that he makes is controlled\Nby computer software. Computer science impacts Dialogue: 0,0:00:34.83,0:00:41.22,Default,,0000,0000,0000,,every industry, from marketing to health care\Nto film. In fact, hundreds of computer engineers Dialogue: 0,0:00:41.22,0:00:45.29,Default,,0000,0000,0000,,worked together to make a film like The Force\NAwakens. Dialogue: 0,0:00:45.29,0:00:51.90,Default,,0000,0000,0000,,Hi, I'm Rachel Rose. I'm a senior R&D engineer\Nat ILM and I lead the animation and creature Dialogue: 0,0:00:51.90,0:00:57.34,Default,,0000,0000,0000,,development team. In The Force Awakens, I'm\Nresponsible for helping the artist develop Dialogue: 0,0:00:57.34,0:01:03.29,Default,,0000,0000,0000,,rigs, which are the parts of the character\Nthat move that allow the character to look Dialogue: 0,0:01:03.29,0:01:08.63,Default,,0000,0000,0000,,very believable in a galaxy far, far away.\NIn the next hour, we're going to build our Dialogue: 0,0:01:08.63,0:01:13.68,Default,,0000,0000,0000,,own Star Wars game that will teach you the\Nbasic concepts of programming. Usually programming Dialogue: 0,0:01:13.68,0:01:17.24,Default,,0000,0000,0000,,is all text but we're going to use blocks\Nhere so we can drag and drop to write the Dialogue: 0,0:01:17.24,0:01:23.20,Default,,0000,0000,0000,,programs. To start off, we're going to work\Nwith Rey to program BB-8 to walk to collect Dialogue: 0,0:01:23.20,0:01:27.70,Default,,0000,0000,0000,,all of the scrap parts.\NYour screen is split into three parts. On Dialogue: 0,0:01:27.70,0:01:32.26,Default,,0000,0000,0000,,the left is the Star Wars game space where\Ncode will run. The instructions for each level Dialogue: 0,0:01:32.26,0:01:37.26,Default,,0000,0000,0000,,are written below the game space. This middle\Narea is the toolbox and each of these blocks Dialogue: 0,0:01:37.26,0:01:42.01,Default,,0000,0000,0000,,is a command that BB-8 can understand. The\Nwhite space on the right is called the work Dialogue: 0,0:01:42.01,0:01:44.65,Default,,0000,0000,0000,,space and this is where we're going to build\Nour program. Dialogue: 0,0:01:44.65,0:01:51.86,Default,,0000,0000,0000,,If I drag the moveLeft block to our workspace,\Nwhat happens? BB-8 moves left one block on Dialogue: 0,0:01:51.86,0:01:56.99,Default,,0000,0000,0000,,the grid. And what if I want BB-8 to do something\Nafter the move left block? I can add another Dialogue: 0,0:01:56.99,0:02:02.28,Default,,0000,0000,0000,,block to our program. I'm going to choose\Nthe moveUp block and I'll drag it under my Dialogue: 0,0:02:02.28,0:02:06.18,Default,,0000,0000,0000,,moveLeft block until the highlight appears.\NThen I'll drop it and the two blocks will Dialogue: 0,0:02:06.18,0:02:10.55,Default,,0000,0000,0000,,snap together.\NWhen I press run again, BB-8 will perform Dialogue: 0,0:02:10.55,0:02:15.99,Default,,0000,0000,0000,,the commands that are stacked top to bottom\Non our workspace. If you ever want to delete Dialogue: 0,0:02:15.99,0:02:20.56,Default,,0000,0000,0000,,a block, just remove it from the stack and\Ndrag it back into the toolbox. After you hit Dialogue: 0,0:02:20.58,0:02:27.60,Default,,0000,0000,0000,,run, you can always hit the reset button to\Nget BB-8 back to the start. Now let's get rolling!