Return to Video

Star Wars - Hour of Code: Introduction

  • 0:01 - 0:04
    [Welcome to the Hour of Code...]
  • 0:05 - 0:13
    (Star Wars musical theme)
  • 0:13 - 0:19
    Hi! I'm Kathleen Kennedy and I'm the
    producer of Star Wars The Force Awakens.
  • 0:20 - 0:26
    Today you'll be working with one of our
    stars, BB-8: BB-8 is a spherical droid,
  • 0:26 - 0:32
    Everything he does and every movement he
    makes is controlled by computer software.
  • 0:33 - 0:38
    Computer science impacts every industry
    from marketing to healthcare to film.
  • 0:39 - 0:42
    In fact, hundreds of computer engineers
    work together
  • 0:42 - 0:45
    to make a film like "The Force Awakens."
  • 0:46 - 0:49
    Hi, I'm Rachel Rose,
    I'm the senior R&D engineer at ILM
  • 0:49 - 0:53
    and I lead the animation and creature
    development team.
  • 0:54 - 0:58
    In The Force Awakens I'm responsible
    for helping me artist develop rigs
  • 0:58 - 1:01
    which are the parts of the character
    that move,
  • 1:01 - 1:06
    that allow the character to look very
    believable in a galaxy far far away.
  • 1:07 - 1:10
    In the next hour we're gonna build our own
    Star Wars game
  • 1:10 - 1:12
    that will teach you the basic concepts
    of programming.
  • 1:13 - 1:16
    Usually programming is all text
    but we're going to use blocks here
  • 1:16 - 1:18
    so that we can drag and drop to
    rate the programs (check)
  • 1:19 - 1:21
    Under the hood
    you're still creating code.
  • 1:21 - 1:25
    After you try the basics with blocks,
    we'll switch you to JavaScript,
  • 1:25 - 1:27
    one the most popular programming languages
    on the web.
  • 1:28 - 1:32
    To start off, we're going to work with Ray
    to program BB-8 to walk
  • 1:32 - 1:34
    to collect all of the scrap parts.
  • 1:35 - 1:37
    Your screen is split into three parts:
  • 1:37 - 1:40
    on the left is a Star Wars game space
    where code will run.
  • 1:40 - 1:44
    The instructions for each level
    are written below the game space.
  • 1:44 - 1:47
    This middle area is the
    tool box and each of these boxes
  • 1:47 - 1:49
    is a command that BB-8 can understand.
  • 1:50 - 1:52
    The white space on the right
    is called the workspace
  • 1:52 - 1:54
    and this is where we're going
    to build our program.
  • 1:54 - 1:59
    if I drag the "Move left" block to our
    workspace and press run, what happens ?
  • 1:59 - 2:02
    BB-8 moves left one block on the grid.
  • 2:02 - 2:05
    And what if I want BB-8 to do something
    after the "move left" block?
  • 2:05 - 2:08
    I can add another block to our program.
  • 2:08 - 2:10
    I'm going to choose
    the "move up" block
  • 2:10 - 2:13
    and I'll drag it underneath
    my "move left" block
  • 2:13 - 2:15
    until the highlight appears
    and then I'll drop it
  • 2:15 - 2:17
    and the two blocks will snap together.
  • 2:17 - 2:19
    When i press "run again"
  • 2:19 - 2:21
    BB-8 will ... (check) the commands
    that are stacked
  • 2:21 - 2:23
    from top to bottom on our workspace.
  • 2:24 - 2:27
    if you ever want to delete a block,
    just remove it from the stack
  • 2:27 - 2:29
    and drag it back into the tool box.
  • 2:29 - 2:34
    After you've hit "Run", you can always
    hit the reset button to get back to start.
  • 2:35 - 2:36
    Now let's get rolling
Title:
Star Wars - Hour of Code: Introduction
Description:

NB these are YouTube's automatic captions , uploaded here for editing

Start learning at http://code.org/

Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg

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

Metadata: Geo subtitles

Incomplete

Revisions Compare revisions