Examples

*EDIT* This page is very out of date, and will be updated over the next few months with new and fixed examples. Apologies!

Some examples of projects I have work on in the past can be found below, containing links to executables, videos and source code. To run the example programs, make sure you have the right dependences (such as the DirectX or XNA runtimes) installed. The same goes for code compilation, and the project solutions use Visual Studio 2010 (although it’s possible to convert them back to VS2008 solutions, see here). If you have any problems or queries, don’t hesitate to contact me at nearlyphil@gmail.com.

 

Procedural City Demo (C++ / DirectX)

This demo of an procedural city was created during the final year of my degree, with the aim of creating a world that allowed unlimited exploration, something incredibly applicable to the video game industry. The world auto-generates around the user as they walk around, and is persistent even though the world is not stored in memory and areas are deleted as the user moves away.

Requires the latest version of DirectX to run, and the SDK to compile.

DownloadVideoSource Code

 

Star Wars Demo (C++ / HAPI)

This 2D game was created using C++ and HAPI, a DirectDraw-like API provided by our course leader. The game demonstrates many game techniques, such as black-boxed game components, blitting (with clipping and interpolation), loading tile-based maps from a file (with layers), collisions, and basic AI. In the future, I hope to add features such as a level designer to this project, using C#.

Requires the latest version of DirectX to run, and the SDK to compile.

DownloadVideoSource Code


XNA 3D Demo (C# / XNA)

Created as an introduction to 3D graphics programming, this demo is made using XNA and C#. It incorporates features such as camera controls, model rendering / animation / texturing, terrain generation / following and bounding-box collisions. I would like to develop this demo further in the future if time permits, or maybe use the foundations of the engine for another project next year.

Currently no downloads available, as I need to convert the game from XNA 3.1 to 4.0.


Go to Top