Styles API

 

The styles API is actually very simple to use. You can find all the resources you will need on the GitHub project page for this plugin: https://github.com/esophose/playerparticles

 

Follow the class ParticleStyleOrbit for a good example how to make a custom style.

Register your style with ParticleStyleManager.registerStyle(ParticleStyle style) for regular functionality or ParticleStyleManager.registerCustomHandledStyle(ParticleStyle style) if you don't want it running on the normal update loop, but would rather spawn the particles yourself through events, for example.