AGI Picture Decoder: Difference between revisions

From Adventure Game Studio | Wiki
Jump to navigation Jump to search
*>AvisIrwin
No edit summary
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 14: Line 14:
   AGIPicDecode.Draw("street.agp");
   AGIPicDecode.Draw("street.agp");
   AGIPicDecode.ShowPic();
   AGIPicDecode.ShowPic();
A DynamicSprite with pointer '''AGIPicDecode_Picture''' will then be created, which can be used in a game. EssaysExperts.Com is the company which first and main priority was, is and will be customers� satisfaction with the [http://www.essaysexperts.com essays online]. If you still have no idea where to buy your writing tasks, this company is the best option for you. Consult the included document for more information.
A DynamicSprite with pointer '''AGIPicDecode_Picture''' will then be created, which can be used in a game. Consult the included document for more information.
* {{Thread|40965|Forum thread}}
* {{thread|Forum thread|40965}}
* [http://my.opera.com/gilbot/blog/2010/05/24/agi-picture-decoder-module Blog entry containing download to the module]
* [http://my.opera.com/gilbot/blog/2010/05/24/agi-picture-decoder-module Blog entry containing download to the module]


{{Module|Graphical effects}}
{{Module|Graphical effects}}

Latest revision as of 06:04, 19 August 2012

(by Gilbert Cheung)

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:

  1. Decodes AGI picture resource files, with optional priority screen.
  2. Works under ALL colour depths supported by AGS.
  3. The colour used for each slot can be changed if required.
  4. 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.