Saturday, September 15, 2012

(Not Sustainable) Console and PC Game Design, emphasis on fonts ...

As I noted in previous posts, Sustainable Virtual Design looks at energy and resource minimization as one of the key features to attaining sustainability for everything on your screen ? from Photoshop to Call of Duty. On the web, we are replacing the old method of designing websites. In the past, we downloaded dozens to hundreds of image files. Today, developers are increasingly using more efficient formats ? CSS Sprites, SVG, WebFonts, and the like.

But, if we are interested in Sustainable Game Design?what we do on the web is currently absent from the console and online ?game world.?In other words, the design and programming of game engines, and the development of game assets has been done without respect to anything related to sustainability. Perhaps it is the immersive aspect of a 3D game that lets designers and players alike ignore their connection to physical reality. Or, it may be the huge energy demands of 3D rendering, which requires energy-hog ?game cards? which sometimes use more power than the rest of the system combined. Or, it could even be at the artistic, storytelling level ? so many stories are about wars, violent confrontations, and ?creative destruction? ? things which use more energy and produce more waste than regular human activities. Think of the chaos and waste caused by a major war or battle ? not a ?sustainable? kind of activity. In fact, wars often end due to resource exhaustion (think WWII Battle of the Bulge).

So, let?s look at some basic features of game design, and consider them the way we?ve discussed Sustainable Web Design. We won?t consider casual games, or games developed in HTML5 and JavaScript, but look at the ?big guns? ? heavy metal game engines running complex 3D environments on consoles or high-end PCs.

My big concern is that online ?web app? casual games, increasingly created with WebGL will come to resemble the console game world. The poor sustainability of console games is currently hidden in the electric bills of gamers; in the future it will impact the bandwidth, speed, and long-term sustainability of the web.

Disclosure: I?m not a professional game designer or developer, but I have built some fairly complex programs in C++/OpenGL (e.g. JPL-like planetary simulations). So, if someone out there has better knowledge on these points, feel free to post a reply.

Game Textures and sprites

Like print design, the game industry hasn?t had to worry much about bandwidth, or the number of bytes in an asset. Most games, even those that are online, store huge numbers of textures and other files on the user?s local hard disk. There are basically two kinds of files: 3D coordinate files, and 2D textures which contain visual or other (e.g. normals, heightmaps) data which wrap around a 3D model. Despite the presence of fast vector rendering in 3D, bitmaps rule.

For example, the game industry has long used the equivalent of a CSS sprite in their ?textures? (image files) to construct fonts. That is, they store bitmaps of letters in a big image file, and ratchet back and forth in it to write text onto the screen.?The method being used explains the nearly universal *horrible* quality of fonts in console games and MMOGs.?The immediate jump to bitmaps means that game textures, fonts, backgrounds, building walls, HUDs, and other ?informational? are all essentially bitmapped.

It?s clear that this has frustrated some game developers. In some cases, those frustrated?have created a custom solution that loads vector graphics and dynamically draws them?into a memory-resident texture. However, this practice is not widespread, and there are no standards for it in existing game development frameworks.

In addition to chunking everything into big texture files,?games don?t worry much about file compression. Today, console games typically use formats that were not designed to be energy-efficient. Targa, or .TGA, is like a PNG without compression. So, you have something like a CSS sprite, but uncompressed.

Game Fonts

Despite the emphasis on 2D and 3D imagery, games incorporate text at many levels ? titling, heads-up displays, (HUDS), score screens. A Sustainable Game Design strategy would seek to use type in the effective manner now possible for the web. Unfortunately, you can?t. You?re stuck with bitmap ?font sprites? like the one below:

WebGL, which is really (if we are honest) an?OpenGL?clone. OpenGL, and by extension WebGL, has no support for fonts or other vector files other than 3D. whatsoever. Everything is treated as a bitmap, and hardware vendors apparently have never even thought of this issues in the x-treme gamer card design. Traditionally OpenGL programming uses the same CSS-sprite like texture files for bitmap fonts. If you don?t do that, your only solution is to transform fonts to bitmaps, and use them for rendering to a memory-resident texture, as is done in this?OpenGL tutorial.

In?DirectX, we have somewhat better support.?The ID3DXFont class used in DirectX programming uses data frin font files. But it adds the step of ?render to texture?, and then give the in-memory texture for final rendering to ?Windows GDI, missing out on hardware acceleration.?See the discussion here. ?Many game developers just bypass ID3DXFont and make their own font sprite textures, just like OpenGL. For big fonts this means great big files. Microsoft has never defined a standard for non-bitmap font use, which we now have on the web.

So this explains the poor quality of text in games, and, increasingly in WebGL applications. How come the game programming community has never developed a standard to solve this problem?

At this point it might be useful to extend this critique to use. The use of fonts in games is clearly different than it is in print, and on 2D web pages. The medium to my untrained eye looks like ?Web 1.0? ? a sort of ?grafitti wall? approach to design. Type is clearly something to get past, instead of part of the design. The more ?3d? a game is, the less text is a worry. In 2D games, a bumpy ?retro? look may actually be cool.

The ?classic? game fonts (e.g. Capcom) aren?t very readable:

http://mfs.sub.jp/font.html

This set is somewhat better

http://fontmeme.com/game-fonts-collection/

In console games, the screens opening the game are typically designed as an integrated ?page comp?. Since games often operated at fixed-width, the Photo-shop-edness of the image is not a serious as it is for the Responsive Web, but it remains a fixed-width strategy.

an ?old game? effect, which means poorly read

They?re pretty bad, even in big-name console games, and often truly horrible in Web-based casual games.

The popularity of arcade-style games these days isn?t helping:

If you answer that games don?t need to worry about fonts, I say you?re not thinking outside the box. I thought designers were supposed to do that.

The result of this style of development is that games generally only look good at specific screen sizes, and file compression, energy and power nonexistent considerations of game design. In addition, game culture generally ignores what other professions might call lousy design, particularly with respect to type. ?It automatically assumes the audience will not need usability or accessibliity ? in fact, a ?mystery meat? navigation scheme may be part of the gameplay.

In its features it is nearly the opposite of the ?Responsive Design? strategy common on the web, so we might dub it ?anti-responsive design.?

From design to power consumption

Historically, cutting-edge games requires a dedicated console, or a fast desktop to run. The game had to ?take over? the computer screen to get enough computing cycles, and the gameplay focused the user so that they became uninterested in checking their email. This led in turn to ?fixed-width? design, often optimized for a very specific width and height of the screen. Compared to other computer users, gamers were willing to buy new hardware to play a game, rather than the designers adapting to them ? the reverse of the modern web.

This meant that the goals of games often included framerate as an absolute, rather than relative good. Designers created ever-more elaborate (I don?t want to say realistic) game environments. The feedback from the audience, which on the web helps dictate design, was absent. Instead, the designers and programmers created stuff that only the top gamer computers could run (e.g. Crytek) and motivated another round of hardware purchases. The energy consumption of games soared over the years ? much more than the ?bloatware? of the web I usually complain about.

Here?s a chart, showing the various consoles in action:

game console relative energy use, from Carnegie Mellon Electricity Industry Center

Needs that juice to kill

Here?s a PDF from NRDC.org illustrating the rising power consumption of gamer consoles, both running and ?turned off? trickling in Vampire Power:

http://www.nrdc.org/energy/consoles/files/consoles.pdf

Sony Playstations use the most power, after which we see XBox and the relatively efficient Nintendo series.

chart of relative energy use of various game consoles, both in use and when idling

Lots of power needed to blow up dwarf!

The power consumption of these consoles is comparable to a standard (not lightweight) desktop. The power consumption is about double a modern Blu-ray player, which is not surprising since the word is being simulated, rather than plaid back from media files.

Even?Treehugger, blissfully unaware of the?horrible sustainability score for its website,?posted this discussion of un-green game consoles.

But gamer PCs use even more power than this to run, especially if said gamer doesn?t turn their machine off, or use ?hibernation? mode. This article shows that an x-treme gamer might waste $50-100 per year on Vampire Power.

Here?s an sample chart from a great article on Xbit, which tests power consumption using a sophisticated sensor system. The take-home is that a gamer rig, playing a modern game, can easily use 20 times the power of a low-powered office workstation:

Power consumption of various PCs from lightweight desktop to gamer rigs

Even more power needed to wave magic wand at troll

To give some perspective, you would probably need at least a 750-watt power supply, which is just about 1 ?horsepower?. You would need two world-class cyclists to power one gamer rig. From a great 2009 article on Mapawatt we get the following:

As you can see, the best human efforts at producing power over the course of an hour on a bicycle are around 300-400 Watts.? To put this in perspective, when my AC is running full blast my house can consume about 4,000 Watts or 4 kW.? I would need over 10 of the best cyclists in the world attached to bicycle generators to power my house when it is consuming this much power!

In terms of ?gamer? rigs, we would need two world-class cyclists to comfortably power one session of a modern 3D game. And you would need to finish quickly, since the cyclists wouldn?t be able to keep your rig running for very long:

comparision of human power cycling, in watts

Finish up blasting that spaceship, I?m tired

What would Sustainable Game Design look like?

In the above, I?ve considered a few of the issues related to making games more sustainable. One is power consumption, which is affected by the things designers create for their audience. The other is technical, related to the lack of vector-based solutions for type and other features of the game. The third might be a shift in what kinds of games get made, with their virtual environmental impact taken into account.

  • Power Consumption ? Games are optimized for framerate, and that sort of liquid-y motion that gamers strangely call ?realistic?. There may be the least bang for the buck here, since game developers have been struggling with efficiency for many years.
  • File standards ? Online games in particular would benefit from standard which concatenate their assets into files delivered with one HTTP request. This would make virtual worlds like Second Life more appealing to the general public ? one of the problems in SL is waiting several minutes while textures for a 3D room download and ?rez?. Developing a vector-based solution to fonts would also benefit the games, both in downloads and quality of type, and would benefit both consoles and MMOGs
  • Gameplay- ?Game storylines glorify energy-intensive situations and actions. There?s no equivalent of a story requiring a Prius instead of a Hummer in game design. Starting that way is a long road, but would be rewarding for the designer who figures it out.

Like this:

Be the first to like this.

Source: http://sustainablevirtualdesign.wordpress.com/2012/09/14/not-sustainable-console-and-pc-game-design-emphasis-on-fonts/

luol deng culkin wooly mammoth no child left behind no child left behind neurofibromatosis steve jobs fbi file

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.