spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

Welcome, Guest. Please login or register.
30 Jul 2010, 01:38

Home | Help | Search | Games | Wiki | Login | Register


AGS Forums  |  Using AGS  |  Modules, Plugins and Technical FAQ (Moderators: Gilbet V7000a, Scorpiorus, strazer)  |  Topic: MODULE: InvItemAnimation v0.91 « previous next »
Pages: [1] Print
Author Topic: MODULE: InvItemAnimation v0.91  (Read 862 times)
strazer
Moderator
Member



« on: 18 Apr 2006, 02:36 »

Every now and then people refer to the original thread where I posted the first version of the module, and I haven't received any more bug reports so I guess it's time I release it officially.

This script module is intended to make it easy to animate inventory items.
It provides the following functions:

  InvItemAnimation.Start(InventoryItem *theinvitem, int view, int loop, int delay, optional RepeatStyle repeat)
    Starts animating the inventory item using the specified view loop.
  Example:
    InvItemAnimation.Start(iTorch, TORCHVIEW, 0, 10, eRepeat);

  InvItemAnimation.Stop(InventoryItem *theinvitem, optional bool keepcurrentframe)
    Stops the inventory item animation.
  Example:
    InvItemAnimation.Stop(iTorch, false);

  InvItemAnimation.IsPlaying(InventoryItem *theinvitem)
    Returns "true" if the inventory item is being animated, "false" if it is not currently being animated.
  Example:
    if (InvItemAnimation.IsPlaying(iTorch) == true) Display("The torch is lit.");

  InvItemAnimation.PauseAll()
    Pauses all inventory item animations.

  InvItemAnimation.ResumeAll()
    Resumes all inventory item animations.

Check the included documentation for details.

Download here

Changelog

Version 0.91 (2006-04-18)

 * Added .PauseAll and .ResumeAll functions
 * Updated to work with AGS v2.72 in "strict" mode

Version 0.90b (2005-10-03)

 * Fixed to work with popup modal GUIs

Version 0.90 (2005-10-02)

 * First public release
« Last Edit: 19 Apr 2006, 22:34 by strazer » Logged

SSH
Member


now with added scroll!

Scripting: I've written loads of modules

« Reply #1 on: 18 Apr 2006, 08:09 »

Great stuff..!

Note to all module authors: please add your modules to the list of modules in the wiki
Logged

Pages: [1] Print 
AGS Forums  |  Using AGS  |  Modules, Plugins and Technical FAQ (Moderators: Gilbet V7000a, Scorpiorus, strazer)  |  Topic: MODULE: InvItemAnimation v0.91 « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.078 seconds with 15 queries.