DirectX 9.0 Source

DirectX 9 is the newest version of Microsoft's SDK for multi-media and PC game development. The DirectX 9.0 page contains numerous Direct3D samples, which are aimed at helping both absolute beginners as well as seasoned OpenGL programmers who want to port existing applications from OpenGL to Direct3D.

DirectX 8.1 Source

While DirectX 8.1 is no longer the latest-and-greatest of the DirectX APIs, several game developers still use it since there are still more DirectX 8.1 compatible cards installed than DirectX 9.0 cards. This will obviously change with time, but itís a much slower transition than most developers like. For this reason, I'll continue to offer these samples, but for those of you who are just starting out and have no real reason to use 8.1, I would recommend learning DirectX 9.0 instead.

OpenGL Source

This section deals specifically with programming 3D graphics using OpenGL, and like the Direct3D page, I have a few samples dealing with specific techniques, but most of them deal with simply learning the OpenGL basics. Of course, if you already know OpenGL inside and out, several of my newer samples have Direct3D versions available which can be very useful for any one wanting to leverage their OpenGL knowledge to learn Direct3D a little faster.

User Submitted Source

This section contains code samples written by other programmers like yourself. If you can't find what your looking for amongst my personal code, you just might find it here. On the flip-side, If you have a code sample that you think would be useful to others and would like to submit it, the following guidelines will help you get started.

Miscellaneous Source

This is my miscellaneous catch-all section where I place samples dealing with C++ coding issues like proper syntax, special key-words, Object Oriented Design, and Design Patterns or any thing else thatís useful for writing or designing games but doesn't really have anything to do with computer graphics or the proper usage of a particular graphics API like Direct3D or OpenGL.

Linux Source

There's not much here right now, but hopefully this will be the future home of several new Linux samples. If Linux is your thing... check back from time to time for updates.

Python / Pygame Scripts

Python is more than just a great all-purpose scripting language. Many game companies are now opting out of writing and maintaining their own proprietary scripting languages in favor of open-source languages like Python, and with a C++/Java style syntax combined with a well-established user base across multiple platforms... it's easy to see why. And once you learn Python, you can simply move on to learning Pygame an easy to use add-on module for Python, which makes writing 2D games fun and easy. The combination is truly an excellent way to learn programming.


Torque Game Engine Tutorials

Just purchased the Torque Game Engine and don't know where to start, or you're having trouble wrapping your head around the whole concept? Well, never fear - CodeSampler is here. My series of Torque Tutorials will have you up and running in no time flat, and before you know it, you'll be a lean, mean game programming machine!