pixijs / pixi-particles-editor

PIXI-based particle editor
http://pixijs.github.io/pixi-particles-editor/
MIT License
65 stars 20 forks source link

Instead of start and end colors, have an array different colors? #14

Open issy123 opened 6 years ago

issy123 commented 6 years ago

As title says so you can define something like colors:[0xFF0000,0x00FF00,0x0000FF]

andrewstart commented 6 years ago

If you want different starting colors, you'll need different emitters. If you wanted to cycle through a list of colors for each particle, you could try using the value-lists (https://github.com/pixijs/pixi-particles/tree/value-lists?files=1) branch of the runtime that I began experimenting with (no editor support yet).