AGI Picture Decoder

Revision as of 17:59, 24 May 2010 by Gilbert (talk | contribs) (New page: This script module decodes picture resource files that were used in Sierra's classic AGI game interpreter. Current version is V1.00 and AGS V3.1.2 or later is required. Features: - Decode...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This script module decodes picture resource files that were used in Sierra's classic AGI game interpreter. Current version is V1.00 and AGS V3.1.2 or later is required.

Features: - Decodes AGI picture resource files, with optional priority screen. - Works under ALL colour depths supported by AGS. - The colour used for each slot can be changed if required. - A simple demo is included.

Usage: Just import the module into your game via the AGS editor. To decode an AGI picture resource file, say, with filename "'street.agp'", just use the following codes:

 AGIPicDecode.Draw("street.agp");
 AGIPicDecode.ShowPic();

A DynamicSprite with pointer AGIPicDecode_Picture will then be created, which can be used in a game. Consult the included document for more information.