Table of Contents

Introduction to Game Architecture

<style box background>This mini-lecture will present an overview of the major components of a computer game (i.e. the major subsystems; the main loop; the key role of time; game state; subsystem communication; game entities or objects).</style>
Black & White Shadow of the Colossus


<style center> Today's goal:
to become familiar with the overall internal structure of a game.
</style>

Technically, videogames are interactive real-time simulations with graphical displays and audio.

Modularity

The Major Subsystems

Video games are have a fairly natural decomposition into subcomponents

What does a game do?

Main Loop

“Outer loop” of a game, handles:

The “game kernel” can be structured in various ways:

[color=green]Single-threaded, monolithic[/color] [color=green]Multi-threaded, co-operative[/color]?coop [color=green]Multi-threaded, pre-emptive[/color]?preemptive

Graphics/Rendering

Shadow of the Colossus

Audio System

Objects

Katamari Damacy

A.I. System

Grim Fandango

Interface

Nox

Time

Black & White One of the most important aspects of game architecture is time.

Wall-clock vs. Game-clock

Game State

The Typing of the Dead

Subsystem Communication

Virtual University

Game Entities (Objects)

Syberia


Additional Resources

Intro to Game Architecture Annotated Power Point slides by Jeff Ward ( Associate Programmer, Bethesda Game Studios). Last Update Feb. 2007; Jeff Ward was involved in the development of Oblivion.

Game Architecture A somewhat elderly article by Richard Bartle, well known for his work with virtual worlds.

Project Darkstar Game Architecture A few notes on the overall architecture of Sun's Darkstar Project.

Gamasutra Articles

Designer's Notebook: The Role of Architecture in Videogames (The Primary Function of Architecture in Games) By Ernest Adams, October 9, 2002 http://www.gamasutra.com/features/20021009/adams_02.htm

Designing and Integrating Puzzles in Action-Adventure Games By Pascal Luban, December 6 2002 http://www.gamasutra.com/view/feature/2917/designing_and_integrating_puzzles_.php

References

The Elder Scrolls IV: Oblivion (2005) [PC, Xbox 360] Developed by Bethesda, Published by Microsoft

Crawford, C. The Art of Computer Game Design, 1982. http://www.vancouver.wsu.edu/fac/peabody/game-book/Coverpage.html

Parker, J. R. (2005). Start Your Engines: Developing Racing and Driving Games. Scotsdale, AZ: Paraglyph Press. http://www.paraglyphpress.com/startyourengines/ ; http://www.ucalgary.ca/~jparker/racinggames.html