MIT Explains: How To Make a Video Game - Free Educational videos for Students in K-12 | Lumos Learning

MIT Explains: How To Make a Video Game - Free Educational videos for Students in k-12

MIT Explains: How To Make a Video Game - By MITK12Videos

00:0-1 it's me , carmelo . Video games are fun to
00:03 play . But have you ever wanted to make one
00:05 yourself ? How can I make a character run and
00:08 jump on the screen just by pressing some keys just
00:11 like websites or the apps on your phone . Video
00:14 games are just computer programs . We make them by
00:18 giving instructions to a computer or to a video game
00:21 console and these instructions can be stored in your laptop
00:26 hard drive or even in a city Rome . And
00:30 there are things like make a character appear in the
00:33 middle of the screen or when the player hits the
00:37 up arrow key , make the character jump when we
00:41 want to give instructions to another person . We use
00:44 a human language like english or italian . But unfortunately
00:48 we cannot speak to a computer the same way because
00:50 for now computers can only understand simple instructions and they're
00:54 very picky about the way we were things in order
00:56 to give instructions to the computer . We need the
00:59 programming language just like human languages . Programming languages can
01:03 be very different from each other , many reliant text
01:06 so programmers can write words that give instructions to a
01:10 computer . Let's say I want to create a very
01:13 simple video game where a character moves around the screen
01:17 . One of the first things I need to tell
01:19 the computer is that when I hit a certain key
01:21 , the cat goes up . If I want to
01:24 use the python programming language , I could read the
01:26 instructions like this . This language looks foreign , but
01:29 actually it's not that complicated . For example , here
01:33 is where I say that whenever the computer detects any
01:36 key , press if the key is the up arrow
01:39 key , it needs to move the player , our
01:41 cat zero pixels horizontally and five pixels up to understand
01:46 the directions . I just gave it in tighten .
01:48 The computer translates them into many more simpler instructions .
01:52 Eventually , these instructions get translated into machine language alphabet
01:56 is made of zeros and ones the processor , which
01:59 is the computer brain can understand and execute machine language
02:03 sending back the right graphics to the screen . Even
02:07 a simple instruction like move up five pixels gets translated
02:11 into hundreds or thousands of simpler instructions in machine language
02:15 before the computer can understand and respond . And all
02:18 this happens in fractions of a second . Other programming
02:21 languages like scratch , which is developed here at the
02:24 MIT Media Lab are visual programming languages . Instead of
02:28 using words in scratch , you can drag and drop
02:32 blocks together in order to make something happen on the
02:36 screen . For example , if I want to move
02:39 a cat around , I would do something like this
02:43 . So if I wanted my kids to go up
02:45 five pixels and scratch , I would snap together two
02:48 blocks like this . And I can do the same
02:51 with the left down and right arrow keys . Also
02:55 I can play with distractions and I can say that
02:58 when I click on the cat , I can change
03:01 its color . And also I can make him a
03:07 game like space invaders look simple . But it's not
03:10 . It includes player movement , like what we program
03:13 before , but also characters moving by themselves . Music
03:17 and sounds , shooting collisions , keeping score . And
03:22 that's where programming gets interesting . Making something move up
03:25 . five pixels may not sound very exciting , but
03:28 basic instructions like this one are the building blocks you
03:31 can use to create your own video games . What
03:34 kinds of instructions would you use to create something like
03:37 a memory game ? Tetris , Angry Birds , Minecraft
03:41 , a professional video game might have millions of instructions
03:45 written by lots of people . All working together to
03:48 bring the game to life . Human languages have grammar
03:52 and basic words . You can combine together to create
03:55 things like stories , novels , poems . In the
03:59 same way programming languages have grammar and basic instructions you
04:04 can combine together to create not only video games but
04:08 also animations , simulations and interactive stories . And visual
04:12 programming . Languages like scratch , make it easier for
04:15 anyone to learn how to program . So instead of
04:18 just playing video games now you can make them So
04:23 go make one mm .



MIT Explains: How To Make a Video Game is a free educational video by MITK12Videos.

This page not only allows students and teachers view MIT Explains: How To Make a Video Game videos but also find engaging Sample Questions, Apps, Pins, Worksheets, Books related to the following topics.



Are you the Publisher?


Ratings & Comments

Rate this Video?

0 Ratings & 0 Reviews

EdSearch WebSearch