DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Tue Apr 05, 2005 5:44 pm Post subject: a fire effect in allegro |
[quote] |
|
http://ccps.rpgdx.net/tmp/fire_fx.rar
I know its not 'great', but its usable.
check it out, if you want the source, let me know.
basically, it uses an 8bit palette principle to create the effect, in a byte-buffer, then renders the buffer to the screen.
code uses allegro, and requires alleg40.dll to run the example.
I owe alot of thanks to Torbjörn Gyllebring for helping me get my original code working. To use the code freely, you must give credit to both myself, and to him.
{edit}
okay, new version now.
http://ccps.rpgdx.net/tmp/flameonnosrc.rar
you can edit effects.ini with notepad to alter the dimensions
more configurations to come..... :)
{/edit} _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
|
|