Projects

Disastrous Dan Lunar Blade Paperboy EXTREME


Code Samples

To download all code samples, click here.

Animation Manager
Language: C++
Size: Medium
Comments: Taken from a project I worked on around Christmas of 2009, this code sample is a simple animation manager. It was designed with the ideas of Data Oriented Design in mind, instead of a more traditional OOP approach. The main goal was to create functionality that handles many structures at once, instead of many individual objects that are each responsible for manipulating their data. This is one of my first attempts at such a design, and I am still experimenting with ideas on how to best implement Data Oriented Design. However, the code itself is complete for your viewing pleasure.
Files: AnimationManager.h (View as HTML)
AnimationManager.cpp (View as HTML)

Heal Entity Script Function Class
Language: Java
Size: Small
Comments: A slightly older code sample, this is taken from an older demo that has since been replaced in my portfolio. The project had a primitive Assembly-like scripting language to ease development. This class contains the code for a particular "function" of that language responsible for healing an entity such as the player.
Files: HealEntity.java (View as HTML)

Draw Image Function
Language: C
Size: Snippet
Comments: This last sample is a function extracted from the graphics portion of the Disastrous Dan Demo. It is responsible for drawing an image onto the screen, particularly the enemy sprites.
Files: DrawImage.c (View as HTML)