![]() | can someone give me an example on how I would make a flic start my game or program. |
![]() | You just have to start the program, and then in some part of it call the specific routine to display the fli. You can display it from memory, if you previously loaded it or directly from disk. |
Here's a small example. It will play the file fli_file.fli (There may be a bug, I write this on-line) #includeThen, to see an example where a fli is played from memory, look the file demo.c in the Allegro demo directory. Go to the main function, and there, it should be in the first 30 or 40 lines. |
![]() | Not having it done before, but having seen it at work, look in the\DEMO directory of Allegro and look at the source code for the DEMO game. It shouldn't be that hard fo find (do a search for FLIC or something). |