Closed stephanemill closed 1 year ago
Ok. I found this answer on the doc : On Emitter, configuration format has drastically changed. Use upgradeConfig() to convert old configuration objects automatically.
I have changed my code to this :
`PIXI.particles.upgradeConfig( oldObjectFromEditor , ['./media/particle.png']);`
Works fine.
Hi
I can not use the json file downloaded via https://pixijs.io/pixi-particles-editor/# Error is : Uncaught TypeError: config.behaviors is undefined
I have a code sample which is working fine with this array as part of the config :
and this "behavior" array is NOT present in the exported json file from the editor, which is causing the bug, i presume.
As i'm using the very last version of Emitter, I suppose the json generator is not update ? Thanks for reading and help !