Home Memoirs of a Gamer Movies I watched Guidebook Code Projects Links

The Gorgon Engine

Sprites Images

Gorgon has internal registers for up to 16 sprites, whose graphics are pulled from a combination of IMage Pack(IMP) files. IMP files contain a series of raw images with optional organization into sequences. 2 files are loaded at a time: One for color data for the current video mode and another as a mask file to give transparency information. This means that all video modes share the same masks.

By default Gorgon will load the base sprite file into the first of 4 sprite graphic file slots, which can be dynamically reloaded with different sprite files that are indexed with the naming convention "res2_#.ext" (The base file being called "res2.ext"). The extensions are ".CGA", ".TND", and ".VGA" for the color data and ".DAT" for the mask data.