|
explosions code WANTED |
William Labbett
Member #4,486
March 2004
|
hi chaps i'm hoping someone out there has got some simple code using allegro functions for doing explosions. I just want it for the opening of my game - lots of explosions then the game's opening picture fading through. I will include thanks to the person in the credits of my game, but there'll be no other reward - my game'll be freeware anyway! Thanks for any help.
|
Inphernic
Member #1,111
March 2001
|
Either use an explosion animation or particles. Or both. The code itself is trivial, so why not have a shot at it yourself? You'll learn better that way, too. -- |
anto80
Member #3,230
February 2003
|
What do you mean by explosion? IHMO i can see 2 types of 'explosion'
2) sprite explosions That's what i do. [edit]damn!! Inphernic beat me !! ___________ |
A J
Member #3,025
December 2002
|
do some particles, with trails (x-fade the previous screen with the current one). ___________________________ |
William Labbett
Member #4,486
March 2004
|
big Thank-you to Anto80
|
anto80
Member #3,230
February 2003
|
You're welcome!! It's very kind of you to give my name in your credits, but i can't accept because as Inphernic said, the code is so trivial we can't tell it belongs to anyone... Thanks anyway. If you still want to put my name on it, i wouldn't say no! And please tell us about your project revision, so that we can see the result of these great particles! ___________ |
OICW
Member #4,069
November 2003
|
The good particle explosion system is in demo.c I think it pregenerates some number of frames of an explosion using particles and then it draws it on screen when needed. [My website][CppReference][Pixelate][Allegators worldwide][Who's online] |
ReyBrujo
Moderator
January 2001
|
Shawn wrote EGG, a program to prerender explosions. You should check it out. -- |
Avenger
Member #4,550
April 2004
|
EGG was not only for explosions, but other particle related things too (Spaceship engine, sparks, etc.)
|
|