[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:01.16,0:00:04.30,Default,,0000,0000,0000,,[Welcome to the Hour of Code...] Dialogue: 0,0:00:05.24,0:00:13.44,Default,,0000,0000,0000,,(Star Wars musical theme) Dialogue: 0,0:00:13.44,0:00:19.06,Default,,0000,0000,0000,,Hi! I'm Kathleen Kennedy and I'm the\Nproducer of Star Wars The Force Awakens. Dialogue: 0,0:00:19.82,0:00:26.23,Default,,0000,0000,0000,,Today you'll be working with one of our\Nstars, BB-8: BB-8 is a spherical droid, Dialogue: 0,0:00:26.23,0:00:31.77,Default,,0000,0000,0000,,Everything he does and every movement he\Nmakes is controlled by computer software. Dialogue: 0,0:00:33.08,0:00:38.28,Default,,0000,0000,0000,,Computer science impacts every industry\Nfrom marketing to healthcare to film. Dialogue: 0,0:00:38.80,0:00:42.07,Default,,0000,0000,0000,,In fact, hundreds of computer engineers \Nwork together Dialogue: 0,0:00:42.07,0:00:44.80,Default,,0000,0000,0000,,to make a film like "The Force Awakens." Dialogue: 0,0:00:45.84,0:00:49.35,Default,,0000,0000,0000,,Hi, I'm Rachel Rose, \NI'm the senior R&D engineer at ILM Dialogue: 0,0:00:49.35,0:00:53.00,Default,,0000,0000,0000,,and I lead the animation and creature \Ndevelopment team. Dialogue: 0,0:00:53.73,0:00:57.78,Default,,0000,0000,0000,,In The Force Awakens I'm responsible\Nfor helping me artist develop rigs Dialogue: 0,0:00:57.78,0:01:01.16,Default,,0000,0000,0000,,which are the parts of the character \Nthat move, Dialogue: 0,0:01:01.16,0:01:05.64,Default,,0000,0000,0000,,that allow the character to look very\Nbelievable in a galaxy far far away. Dialogue: 0,0:01:06.65,0:01:09.59,Default,,0000,0000,0000,,In the next hour we're gonna build our own\NStar Wars game Dialogue: 0,0:01:09.60,0:01:12.20,Default,,0000,0000,0000,,that will teach you the basic concepts\Nof programming. Dialogue: 0,0:01:12.60,0:01:15.78,Default,,0000,0000,0000,,Usually programming is all text \Nbut we're going to use blocks here Dialogue: 0,0:01:15.78,0:01:18.44,Default,,0000,0000,0000,,so that we can drag and drop to\Nrate the programs (check) Dialogue: 0,0:01:18.78,0:01:20.74,Default,,0000,0000,0000,,Under the hood \Nyou're still creating code. Dialogue: 0,0:01:21.29,0:01:24.64,Default,,0000,0000,0000,,After you try the basics with blocks,\Nwe'll switch you to JavaScript, Dialogue: 0,0:01:24.64,0:01:27.40,Default,,0000,0000,0000,,one the most popular programming languages\Non the web. Dialogue: 0,0:01:28.15,0:01:32.41,Default,,0000,0000,0000,,To start off, we're going to work with Ray\Nto program BB-8 to walk Dialogue: 0,0:01:32.41,0:01:34.20,Default,,0000,0000,0000,,to collect all of the scrap parts. Dialogue: 0,0:01:34.64,0:01:36.61,Default,,0000,0000,0000,,Your screen is split into three parts: Dialogue: 0,0:01:36.61,0:01:39.92,Default,,0000,0000,0000,,on the left is a Star Wars game space\Nwhere code will run. Dialogue: 0,0:01:39.92,0:01:43.52,Default,,0000,0000,0000,,The instructions for each level \Nare written below the game space. Dialogue: 0,0:01:43.52,0:01:47.06,Default,,0000,0000,0000,,This middle area is the\Ntool box and each of these boxes Dialogue: 0,0:01:47.06,0:01:49.04,Default,,0000,0000,0000,,is a command that BB-8 can understand. Dialogue: 0,0:01:49.63,0:01:51.100,Default,,0000,0000,0000,,The white space on the right \Nis called the workspace Dialogue: 0,0:01:51.100,0:01:53.98,Default,,0000,0000,0000,,and this is where we're going\Nto build our program. Dialogue: 0,0:01:54.36,0:01:58.66,Default,,0000,0000,0000,,if I drag the "Move left" block to our \Nworkspace and press run, what happens ? Dialogue: 0,0:01:59.17,0:02:01.88,Default,,0000,0000,0000,,BB-8 moves left one block on the grid. Dialogue: 0,0:02:02.27,0:02:05.43,Default,,0000,0000,0000,,And what if I want BB-8 to do something \Nafter the "move left" block? Dialogue: 0,0:02:05.43,0:02:07.52,Default,,0000,0000,0000,,I can add another block to our program. Dialogue: 0,0:02:08.30,0:02:10.14,Default,,0000,0000,0000,,I'm going to choose \Nthe "move up" block Dialogue: 0,0:02:10.14,0:02:12.52,Default,,0000,0000,0000,,and I'll drag it underneath \Nmy "move left" block Dialogue: 0,0:02:12.52,0:02:14.70,Default,,0000,0000,0000,,until the highlight appears \Nand then I'll drop it Dialogue: 0,0:02:14.70,0:02:16.57,Default,,0000,0000,0000,,and the two blocks will snap together. Dialogue: 0,0:02:17.45,0:02:18.98,Default,,0000,0000,0000,,When i press "run again" Dialogue: 0,0:02:18.98,0:02:21.19,Default,,0000,0000,0000,,BB-8 will ... (check) the commands \Nthat are stacked Dialogue: 0,0:02:21.19,0:02:23.36,Default,,0000,0000,0000,,from top to bottom on our workspace. Dialogue: 0,0:02:24.43,0:02:27.00,Default,,0000,0000,0000,,if you ever want to delete a block, \Njust remove it from the stack Dialogue: 0,0:02:27.00,0:02:28.80,Default,,0000,0000,0000,,and drag it back into the tool box. Dialogue: 0,0:02:29.24,0:02:34.18,Default,,0000,0000,0000,,After you've hit "Run", you can always \Nhit the reset button to get back to start. Dialogue: 0,0:02:34.73,0:02:36.10,Default,,0000,0000,0000,,Now let's get rolling