< Return to Video

Unplugged - The BIG Event

  • 0:01 - 0:05
    Unplugged Activity | The Big Event
  • 0:07 - 0:10
    This lesson is called "The Big Event" It's all about how
  • 0:10 - 0:16
    we can control our programs and actually change
    the way a program runs on the fly, using events.
  • 0:16 - 0:22
    Like the push of a button or like the click
    of a mouse. For this lesson, you'll be controlled
  • 0:22 - 0:29
    with a paper remote control. It's just like
    a real live video game. An event is an action
  • 0:29 - 0:34
    that causes something to happen. It's like
    when you click the button on a mouse, and
  • 0:34 - 0:38
    the web page loads. That's an event. When
    you touch your screen on a tablet to scroll,
  • 0:38 - 0:44
    that's an event also. Events are a great way
    of letting the user direct your program, whenever
  • 0:44 - 0:51
    they need or want to. There are things that
    happen that we all respond to.
  • 0:51 - 0:55
    We feel hungry so we go to the fridge.
  • 0:55 - 0:57
    We hear the mailman
    come, he puts our mail in the mailbox, and
  • 0:57 - 1:03
    then we go get our mail. Those are just like
    the events of pushing a button or moving the
  • 1:03 - 1:08
    joystick. They are something that happens
    that triggers us to do something. Most people
  • 1:08 - 1:13
    who program video games, there's this one
    event that everyone calls "update" and it
  • 1:13 - 1:20
    happens 30 or 60 times a second. For video
    game programmers, that's more important as
  • 1:20 - 1:24
    an event than the buttons or the joystick.
    Because what we tend to do is, the main event
  • 1:24 - 1:31
    we're watching for is that tick happening.
    And then we check the joystick in the tick.
  • 1:31 - 1:38
    So we say.. oh? Has somebody pushed the button
    in this frame? Yes or no? Without events,
  • 1:38 - 1:45
    the player couldn't move. The player couldn't
    jump. You wouldn't be able to control what's
  • 1:45 - 1:51
    going on. The video game wouldn't be able
    to animate anything. It's only because of
  • 1:51 - 1:57
    the events of time passing that we're able
    to make animations and things move.
Title:
Unplugged - The BIG Event
Description:

Nat Brown, one of the original engineers of the Xbox, explains what and EVENT is.

more » « less
Video Language:
English
Duration:
02:01

English subtitles

Revisions