Closed iofirag closed 5 years ago
can you please upload an example? i didnt success using is. :/
Hello. Yes, the lib supports both pixi 4 and pixi 5. The simple demos should work with pixi 5 with almost no changes and, if i remember correctly, the browser console shows what needs to be updated.
as i can see, your code works great with pixi.js <= v4.8.8, (So fail with latest pixi.js v5.0.4)
Works OK- "pixi.js": "^4.8.8" "leaflet": "1.5.1" "leaflet-pixi-overlay": "^1.8.1" Demo with pixi.js-v4.8.8
Fail - "pixi.js": "^5.0.4" "leaflet": "1.5.1" "leaflet-pixi-overlay": "^1.8.1" Demo with pixi.js-v5.0.4
Ok. Your code is using my patched version of ParticuleContainer and this patch does not work with pixi@5. You can either use pixi@4 or try to use plain pixi@5 or write a new patch for pixi@5. I won't be able to look into this in near future.
I had a PIXI.loaders is not defined
error with Pixi 5 and downgrading to 4.8.9 resovled it! 👍🏻
this library working also with pixi 5.0?