pixijs / particle-emitter

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

Update the example project with the new json config. #173

Closed HowlingMadZ closed 2 years ago

HowlingMadZ commented 2 years ago

I spent some 3 hours trying to figure out why the particle system wasn't working... until I finally went and noticed the examples code https://pixijs.io/particle-emitter/examples/fountain.html and the editor code both have the json in a different format from the one in the Readme https://github.com/pixijs/particle-emitter/blob/master/README.md

An alternative would be include both styles.

andrewstart commented 2 years ago

The examples do have the JSON in the latest format (with some older boilerplate to handle loading and playback), only the editor is out of date.

HowlingMadZ commented 2 years ago

Sorry, I meant the ReadMe, not the example projects. I just realized the title says example project.

andrewstart commented 2 years ago

I've updated the readme with a note about the editor output needing an extra step to be usable.