About me

Vladimir Nabokov

Books
Programming
Biochemistry
Aim | Communicate

Search
 


 

 


     
 
 

     
Screenshot of my early Trooper II platform engine - Click for shots of the finished full game
 
 
     

Early Trooper II demo

I was quite astounded when , sorting through some of the old exe files deposited in my compiled folder, I came across this very early example of the Trooper II game engine. I was even more surprised, however, when I found that all the source code, images, and supporting units were still in a servicable state, and could be completely ressurected. The result is this small demo, which included the original level used to test the emergent game engine objects; from the walls and platforms, to a very basic attempt to put together monster AI and the still flawed teleporter routine. The level istelf is hard-wired into the game engine code, and as such cannot be changed in any easy way; however, you can fiddle around with defining constants if you can make any sense of my shorthand. The game images are loaded seperately, using a routine that I was, at the time, extremely proud of, due to the fact that it ran, without any bugs whatsoever, from the time it was written. The game engine, in its nascent state, is remarkably lucid as code and can be understood far bettwer than the extremely convoluted (and involuted) engine in the release of the finished source code. Many of the simple routines are already in place, and the entire engine is designed to be generic from the bottom up; that is, the predefined constants describing the level layout are used in the engine, instead of hardwiring them into the code. Although the demo is only a very small one, I still find it instructive to leaf through the early defining code, and the original layout of this is still in evidence. All the images can be editied using Canvas 2.4, and the image registry is included. Also bundled in with the download is the original source cdoe, as well as suitably modified images and graphics libraries to allow backwards compatability to the older invocations in the source, allowing all to be recompiled. It's quite amusing to have a play around, but the contrasts that can be drawn with the finished engine are pretty endless, so I won't even attempt to list them here. This was a pretty unlikely find, and gives a good indication of the progression of my programming history- enjoy!

Download the Early T2 demo (81 Kb, zipped) | Back to Graphical Trinkets

 
 
Letters from Terra | Updated 15th December 2004 | By Jonathan Ayling