pixijs / particle-emitter

A particle system for PixiJS
http://pixijs.io/particle-emitter/docs
MIT License
793 stars 125 forks source link

support for "image zone" #76

Closed ramarro123 closed 3 years ago

ramarro123 commented 6 years ago

hi, i find a particle system that have a cool feature that they call "image zone"

unfortunately i don't find definition nor seems highly supported

the "image zone" feature, seems to create a sort of path based on a png, considering the "colored" area (or the non transpared one) as a emitter zone, or emitter area.

http://a-jie.github.io/Proton/example/zone/imagezone/imagezone.html http://a-jie.github.io/Proton/example/render/pixel/google.html

do you think that you will eventually support such feature? or have an idea on how i can achive a similar result?

andrewstart commented 6 years ago

The first example could be created by making a subclass of Emitter and adding a new emission type (point, circle, burst, etc) that emits based on some paths - setting that up would be a little complicated, but doable. The second example is very complicated, and is unlikely to ever be supported in this library.

andrewstart commented 3 years ago

Closing this due to age, but with release 5.0.0 writing a custom spawning behavior is easier than ever.