Archive for the 'C' Category

Advanced Texture Management

Thursday, December 21st, 2006

The Goal
Today we’re going to look at a way to manage the large number of textures involved in a game.
The Theory
The basic idea behind this is to minimize the number of textures we load and store in our game. For example, take a basic 2D tiling game. Chances are, you’ve got a map with hundreds […]

Texturing with OpenGL

Saturday, December 16th, 2006

The Goal
Today, we’ll learn how to use textures in OpenGL and how we might go about managing said textures.
The Theory
Textures are nothing more than images really. And when you get down to it, an image is simply a series of pixels, colored in such a way that when displayed as one larger image, it seems […]

Programming Strings

Thursday, December 14th, 2006

The Goal
In today’s article, we’re going to learn about strings and how to create our own practical string class.
The Theory
Many languages have much more powerful support for strings and I envy programmers who use those languages. Languages like PHP allow things like concatenating strings with a simple operator.
C++ and C on the other hand, not […]