Particles

Optimizations

Particle handling has been greatly optimized in Ares. Pixel particles – that is types having BehavesLike= set to either Spark or Railgun – were known to cause lag even with relatively few particles involved. That is, even sparse railgun beams created a noticable slowdown.

In Ares the optimization is activated automatically if all of the following are true. If any one is false, the optimization will not be applied and the particles will be handled like in earlier versions. That is, mixing and matching is still possible.

  1. [ParticleSystem]►BehavesLike= is either Spark or Railgun
  2. The ParticleType set as [ParticleSystemType]►HoldsWhat= has the exact same setting
  3. The ParticleType does not use alpha images or line trailers

Note

Note that mixing Spark and Railgun will prevent the optimization from being applied.

The game’s existing particles have been optimized also, and even if the optimization is not applied, particles will be handled more efficiently.

New in version 0.C.

Damage Range for Gas Particles

Gas particles could only damage objects residing on the same cell as itself, no matter how big the particle’s image was. Ares allows to customize this.

[ParticleType]►DamageRange= (double - cells)
The particle damage is applied to all objects in this range around the gas particle. If less or equal to 0.0, all objects in the cell the gas particle is on are affected. Each object is affected at most once. Defaults to 0.0.

New in version 0.C.

Custom Palettes for Shape Particles

Particles drawing shape images – that is types having BehavesLike= set to Gas, Smoke, or Fire – now support to be drawn using a custom palette.

[ParticleType]►Palette= (filename with .pal extension)
The palette used to draw an image particle of this type. Defaults to ANIM.PAL.

New in version 0.C.