Particlesystem

The particle engine of PaC-DK enables you to create effects like rain, snow, fog and everything you might want to see moving randomly over the screen.

To create a particle effect you need to create an object. The different states of this object will be used as particles. The scriptcommand setparticles changes all parameters of the effect like speed, direction, variation or the number of particles. The particle effect can be started with startparticles and stopped with stopparticles . The parameters of a particle effect can be changed on the fly so the effect changes smoothly.

By default particles will be rendered on top of everything else. With the scriptcommand particleview you can place the particles between objects and background or even behind the background. There is also an FX Shape type called Particlebarriere which blocks particles, for example to stop rain from falling in certain areas.