Page 1 of 1

2d Particle Engine

Posted: Wed Nov 19, 2003 6:32 am
by Master Games
Can anyone show me how to make a simple 2d particle engine for showing like smoke and glow coming from like a ship? I have been trying to use PureBasic's particle engine and it is not working very well.

Posted: Wed Nov 19, 2003 9:50 am
by LarsG
In 2D, you'd probably want to go for some kind of an animated translucide sprite or something... Just a thought though...
I guess you could always code lots of small particles (instances of images / plots) or something, but that might take too much processing power..

I guess it depends on what you want, really... :wink:

Posted: Wed Nov 19, 2003 7:42 pm
by Master Games
TranslucideSprites are really slow... any other ideas? would using Materials work?

I am trying to make a fast (atleast do not drain the fps down to 20 fps or below) but good looking particles (do not look like bunch of pixels). For example you have a bullet that glows and the glow is blended with the background or any thing else that is near it.

Is it planned for PB to have a 2d particle engine implemented some update in the future?

Posted: Thu Nov 20, 2003 7:45 pm
by Master Games
Well I have been playing around with PB. The range and power pb has is amazing. For the particles we can use normal sprites, Sprite3d, the particle engine, and billboards. The normal sprites you can no do much with except show them, the special fx is way to slow to really use at all (I would use sprite3d instead or something else). The sprite3d are good since they are sprites but can also use tons of different effects. The Billboards are good for being able to use materials which we can blend and do other things with. The particle engine that pb already has is ok... but I cant seem to do much with it. Special fx is way to slow for me (could be just the way I know how to use it).

If any one else has any ideas or wants to comment on what I said, please do :).