Smoke

Blitz3D Forums/Blitz3D Programming/Smoke

Mr. Bean(Posted 2006) [#1]
Does anyone know how I can program Smoke-Particles (Cigarre)
Particle-LIBs?


IPete2(Posted 2006) [#2]
Best practise would be to use types to keep parameters managable - something like this:

TYPE SMOKE
field entity
field xpos
field ypos
field zpos
field xspeed
field yspeed
field zspeed
field alphastart
field alphaend
End Type

Then set the parameters up using a loop, you should look up the 'for each' looping in the docs.

one call to set them up, one each loop to keep them updated each main loop of your programme.

There are a number of examoples around, try the code archives - or you could buy something like Particle Candy.

IPete2.


Boiled Sweets(Posted 2006) [#3]
use Partical Candy