Skip to main content

Particle Basics

So I was asked by many people about particle creation and work flow since the tutorial provided by the steam (or someone that is put on the Valve developer site) seems to stop at one point. Since I can't do too much of complicated work today, I will write some tutorials to get people start diving into particles. I will write it in series of multiple tutorials by taking request from people and such since particles itself is kinda big topic. Just leave me a comment or send me a message what kind of particle system you want to see created manually. I will try my best to mimic the system and write it out step by step. Don't hesitate to contact me if you have any question, comment, or improvement to the tutorial.

Also noted that some particles system implementation might have Lua scripting involved if it is very complicated system. So a little of basic lua scripting will help you every now and then.

Again, let me know what kind of particle system you want to see created so I can keep this tutorial series going.

Here is the list of functions covered in this tutorial:

Renderer

- Render sprites [WIP]
- Render models [WIP]
- Render sprite trail [WIP]
- Render rope [WIP]
- Render deferred light [WIP]

Operator

- Lifespan decay
- Alpha fade and decay
- Color fade
- Movement basic
- Radius Scale
- Movement place on ground [WIP]
- Noise Scalar/Vector [WIP]
- Normalized Vector [WIP]
- Oscillate Scalar/Vector [WIP]
- Remap Control Point to Scalar/Vector/Velocity [WIP]
- Rotation Basic [WIP]
- Rotation orient relative to CP [WIP]
- Rotation orient to 2d direction [WIP]
- Rotation spin yaw/roll [WIP]
- Inherit attribute from parent particle [WIP]

Initializer

- Alpha random
- Color random
- Lifetime random
- Radius random
- Position along ring
- Position within sphere random