About me

Vladimir Nabokov

Books
Programming
Biochemistry
Aim | Communicate

Search
 


 

 

   
Letters from Terra - Life in water warmed by sunlight
 
 

     

Old Articles

3D Engine completed
Tr2 Delphi Level editor
Pretty fractal demos
Download Trooper II

 
 
     
Trooper II level editor in Delphi

This was actually written some time ago, when I was getting my teeth into the intricacies of DirectX for Delphi, and starting to concoct my own homemade graphics libraries, as is my wont. However, as is mentioned elsewhere, I could not quite bring myself to convert the 8,000 odd lines of Trooper II games engine code from Pascal 6.0 into Delphi, and the game engine for DirectX has hence been almost completely neglected. Nevertheless, I think it would be valued by some if I release the level editor, since it allows extremely user and eye-friendly editting of Trooper II levels, and includes all the features of the editor bundled with the game but with the ease of a windows program. All the menues that you have to laboriously scroll through in the DOS version are now pull down boxes, and all the properties are displayed in a pop-up dialog box: it's really rather professional, though I say so myself. I've passed through the stage of manically designing Trooper II levels, but I'm sure there are people out there still experimenting with what the engine can do: level files saved in this editor are completely compatible with those from the game. Source code for Delphi 4 is included in the Download, but if you want to start to experiment with it you'll need the DirectX libraries, which are available in the Trooper II section of this site (see side bar). A embryonic version of the game rendered in DirectX is included, but don't expect it to work to any comprehensible degree: most of the engine is still cut out, and some is in construction.

Download the editor (275 Kb, zipped) | Trooper II pages| Delphi 4 and DirectX pages

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