Visit Your Local PBS Station PBS Home PBS Home Programs A-Z TV Schedules Watch Video Donate Shop PBS Search PBS
THE VIDEO GAME REVOLUTION
HISTORY OF GAMING
INSIDE THE GAMES
IMPACT OF GAMING
THE ARCADE
ABOUT THE SHOW
POP QUIZ - click here

> Take the Quiz
HOW A GAME IS MADE

Code

Unseen to the user, but making all of the game elements work together, is the code. Code is the set of computer language instructions that controls every aspect of the game. Most games are written with custom code based on the C programming language. A 3-D code engine is almost always used to generate the incredibly complex code necessary for all of the polygons, shadows and textures the user sees on the screen.

Another important aspect of the code is the artificial intelligence component. This is the logic of the game, and it also establishes the physics of the game world, detecting the interactions and collisions between objects and controlling their movement.

< previous   |   next >