Fire trail effect

BlitzMax Forums/BlitzMax Programming/Fire trail effect

Yahfree(Posted 2008) [#1]
Hey, i'm trying to create a fire-trail effect for a ship, in a quick asteroids clone.

This is what i have so far let me know if theres any way to improve this, because i'm a little stumped, and it doesnt look right to me.

This zip file includes the media and source for my little asteroids clone.

The fire effect is under init.bmx, and the player type Tplayer, under the method Update. (keydown(up arrow))

and the particals behavior is under TPartical (init.bmx)

Sorry for the lack of commented code, i was going to do that soon.

Thanks in advance


nawi(Posted 2008) [#2]
Your firepartical.png looks like crap. Use smaller particles (maybe even pixels), and make them slowly change color too depending on your approach.


Torrente(Posted 2008) [#3]
Also, make them somewhat see-through for neat effects, having them fade out into the background.


Yahfree(Posted 2008) [#4]
Ok, yeah, i just threw some red-yellow colors, i thought maybe making a big one and squares may be a mistake, do you suggest circles?

and what i meant about it not looking right is the placement, if you fly in different directions, the particals emition point seems to change slightly, i think it has to do with the math, any solutions?

(i'll photoshop up a smoother-smaller looking partical)