Download
Use:
Free for all GameStudio projects without restrictions.
Disclaimer: If it blows up your machine it's not my fault. DO NOT USE THIS
IN A MISSION CRITICAL PROJECT. BETA VERSION ONLY.
Information:
None of the functions will work in 8bit mode. They may work on 8bit textures
but will most likely be converted to 24bit (16bit internally). I don't know
how the alpha transparency will be handled from TGA based textures. If you
change from windowed to fullscreen or fullscreen to windowed mode the textures
will revert to their A5 original.
Installation:
Unzip GSAvi.wdl into your templates directory.
Unzip GSAVI.dll into your work directory. You will have to copy the DLL's manually
to your .cd directory when you publish.
Usage:
Place this line at the end of your include list in the project WDL file:
include ;
Assign PlayAVI() to a panel or sprite that is the same size as the AVI file you want to play.
When closing A5 you MUST stop your loop and use AVI_Free() BEFORE actually closing A5. Using
on_close is not good enough.
Versions:
10/2/2002 -- v1.0 -- Fixed some things internally.
10/1/2002 -- v0.9 -- Released.
Bugs:
-Crashs on exit.
-Only supports one AVI at a time.
Functions:
// filename of the avi file. path is the dir with the A5 exe
dllfunction AVI_Create(filename);
// panel you want to paint on -- must be same size as the AVI
dllfunction AVI_RenderPanel(panel);
// sprite you want to paint on -- must be same size as the AVI
dllfunction AVI_RenderSprite(sprite);
// free the avi
dllfunction AVI_Free();
|