Open vvl2m opened 10 months ago
Which version of pixi do you use with it? Probably because "renderer" wasnt patched somehow, that means there are two pixi-'s in your node_modules, one yours and one from pixi-layers, and pixi-layers patched wrong pixi
re-installing deps and checking everything usually helps
i have pixi downloaded as single pixi.js file added in html and the layers is via npm install, might that be the issue? im using pixi.js - v7.3.2
You have to use pixi-layers.umd , it exists in node_modules, just copy that file, and include same way in your html . It is specially for us , old-timers :)
One moment, i dont see it in npm : ( gonna check again
https://www.npmjs.com/package/pixi-layers?activeTab=code
dist/pixi-layers.js
in your node_modules/@pixi/layers
- that's the file you need
thanks, that solved the problem :) i appreciate your help alot
using this, when i do app.stage = new Stage(); it gives me this error, i have not found anything about it and i appreciate any help