Why Portal 2?

Really, the question should read, “Why the Source engine?”

Over the years, game developers have recognized that the easiest way to make ultra realistic games is to build a game world that follows laws of physics. Rather than using a blank slate and adding objects with imbued laws of physics, game developers have created a physics backbone that determines how objects should behave. Let’s say a game developer wanted to build a game with two boxes of different masses and dimensions that both follow the laws of physics. Being that they have different densities and surface areas, they should fall through the air differently. Either code written for the boxes themselves can handle their respective behaviors, or the game itself can analyze the two boxes and use laws of physics to determine how they should behave. Instead of worrying about intrinsically applying laws of physics to each object individually, game developers simply create the objects and allow the physics engine to determine how the laws of physics affect each object.

Essentially, modern game developers use specialized physics simulators, called physics engines, to make games.

There are numerous physics engines in use by modern games. One of which is Valve’s Source engine.

While Source doesn’t stand apart in its technological capabilities, Valve has inadvertently added features that make it the perfect solution for classroom physics simulations.

  1. Source is free and widely distributed. You’ll notice in the Wikipedia list above that it’s listed under freeware. Creating games or modifying games under the Source engine is free and is actually encouraged. If you acquire any game made by Valve (some of which are free), you get all the tools necessary to mod with Source.
  2. Source is a little old. The first iteration of the Source engine was announced back in 2004, and while it has been updated many times since then, it’s reasonable to say that any computer bought within the last three years or so can run it. Though schools don’t have the most up-to-date technology, it’s much, much easier to run Source on school computers than it is to run other modern physics engines which require nothing less than dedicated gaming PCs.
  3. Source is easy to use. A few months ago this statement wouldn’t have been true. Applying the tools game developers use to make video games is a tedious and time consuming process, for good reason. Games are meticulously designed, with all the nuances game developers need to include to create an immersive world. It takes about an hour for the uninformed to learn how to create a basic room with four walls, a ceiling and a floor using Hammer, Valve’s world creator for Source. A similar process for any other physics engine would take about as much time. You’re looking at hours of tedious work to make something simple because of the amount of freedom given to the user. However, in May, Valve released the Portal 2 Puzzle Maker, which shrinks the process of learning level creation basics down from an hour to about 30 seconds. Of course, it isn’t nearly as powerful or detailed as Hammer, but it’s unmatched in terms of ease and intuitiveness.

Though Valve didn’t have education in mind, it created a physics simulator that is powerful, accessible, free and easily modifiable. In other words, it’s perfect for the classroom.

3 thoughts on “Why Portal 2?

  1. anon says:

    This whole article talks about Source as a physics engine, but it’s not – it’s a game engine. The Source engine uses the Havok physics engine (well, an altered version of it called VPhysics).

Leave a comment