FLI/FLC playing...

Just starting out? Need help? Post your questions and find answers here.
Door
New User
New User
Posts: 8
Joined: Tue Dec 02, 2003 2:14 pm

FLI/FLC playing...

Post by Door »

I was wondering if somebody could point me in the right direction for finding code to play FLI/FLC animations using PureBasic. Ideally, I will need to play these in a 2D game setting.

Thank you in advance for any help. :wink:
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Would there be a codec which you can install and use the PureBasic movie commands - that would seem like the easiest way if it is possible.

Alternatively, I'm sure the "xanim" program could play FLI/FLC movies - depending on the lisence you might be able to use the source code (but probably have to convert from C :)
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

You could write yourself a decoder in PB, the specs for FLI are here...
http://www.wotsit.org/search.asp?s=animated

Or you could look for a DLL that is designed to do the work for you. AAPLAY.DLL was written by Autodesk to display FLI files created with Autodesk Animator, but is only 16bit DLL which PB can't use.
Maybe you will find a similar 32bit DLL somewhere?
Image Image
Door
New User
New User
Posts: 8
Joined: Tue Dec 02, 2003 2:14 pm

Post by Door »

Wow, guys Thank you very much.

Paul: I did find a AAPLAY32.DLL, but unfortunately it has a $99 price tage attached to it. I did download AAPLAY.DLL. I have thunked 32bit DLLs to use with 16bit languages long ago, but I have never tried to thunk a 16bit DLL for use with a 32bit program, but I will have to read up on how to do it.

Thank you again :D
Post Reply