This wiki is archived from 2021-09-05

Particle System Reference: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
Line 23: Line 23:
! style="width:100px;text-align: left" | Field Name
! style="width:100px;text-align: left" | Field Name
! style="text-align: left" | Field Type (default value) - description
! style="text-align: left" | Field Type (default value) - description
|-
{{template:pfx_spec_row | emitters | array | [] | The list of emitter objects in the system.}}
| emitters || '''''array('''''<code>[]</code>''''')''''' - The list of emitter objects in the system.
{{template:pfx_spec_row | color | color | [1.0, 1.0, 1.0, 1.0] | A system wide color multiplier. Value is RGBA linear float color values in a JSON array.}}
|-
| color || '''''color('''''<code>[1.0, 1.0, 1.0, 1.0]</code>''''')''''' - A system wide color multiplier. Value is RGBA linear float color values in a JSON array.
 
|}
|}


== Emitter System ==
== Emitter System ==
Defines the position and movement behavior of particles.
Defines the position and movement behavior of particles.

Revision as of 09:26, 14 February 2016


File:Titans-icon.png Planetary Annihilation Titans & Classic Particle Effect System Reference

Work in progress, go here.

Glossary

// Particle System
{
    "emitters": [{
        "spec" : {<particle properties>},
        <emitter properties>
    }],
    "color": <global color multiplier>
}

Particle System

The group of particle emitters.

Field Name Field Type (default value) - description
emitters array ( [] )
The list of emitter objects in the system.
color color ( [1.0, 1.0, 1.0, 1.0] )
A system wide color multiplier. Value is RGBA linear float color values in a JSON array.

Emitter System

Defines the position and movement behavior of particles.