Computer Science Canada explosion (particle effects) |
Author: | AsianSensation [ Tue May 20, 2003 8:15 pm ] |
Post subject: | explosion (particle effects) |
The weapons almost done for my game, now all I need is some nice explosion effects. After reading Catalyst's code for the exploding text(which I am still kinda confused about ![]() |
Author: | Catalyst [ Tue May 20, 2003 8:30 pm ] | ||
Post subject: | |||
heres some old code of mine that makes an explosion it is simpler if u want complete control my 2d particle engine would probably help its more complicated tho
|
Author: | Asok [ Tue May 20, 2003 10:21 pm ] |
Post subject: | |
I'm doing explosions a cheaper way. essentially you have images of explosions (uncompressed game sprite files work wonders, see Half-Life) in a for loop drawing on top of eachother with a cls or a box drawing over it so it looks like it's actively exploding. It just depends for the type of effect you want, Catalyst's example would be if you needed the entire screen to blow up, my example would work better for a smaller portion of the screen. |
Author: | Catalyst [ Tue May 20, 2003 10:22 pm ] |
Post subject: | |
altho my effect is scalable ur method woudl prob work better in the game situation since it would be faster and look better |
Author: | Asok [ Tue May 20, 2003 10:35 pm ] |
Post subject: | |
that's why I brought it up because he was working on a game. typically games already run slow due to a large amount of images on screen and background music/sfx so yours would slow down the game by alot. by the way, for shits and gigles, I tested your effect in my game and it slowed to a crawl ![]() |
Author: | naoki [ Wed May 21, 2003 5:00 pm ] |
Post subject: | |
*notes the above* dammit so that's why lag is so noticeable! |
Author: | hello [ Thu May 22, 2003 7:35 pm ] |
Post subject: | |
if it lags so much do u suggest turing created explosions over imported explosion pics? |
Author: | Asok [ Thu May 22, 2003 8:02 pm ] |
Post subject: | |
imported explosion pics, it'll run much more smoothly (it's what I'm using now) |