pixi-react
pixi-react copied to clipboard
Feature Request: Is It possible to change PIXI application to a custom one for compatibility
Description
Since in wechat browser(a chinese chatting app), do not provide full features like web browser. so there is a lot of trial of using pixi.js in wechat,
https://github.com/pixijs/pixijs/issues/5459
https://github.com/skyfish-qc/pixi-miniprogram
Is it possible to use pixi-react with a customized PIXI global variable provided?
Hey @mathedu4all you could do a couple of things here.
- Don't use
Stagebut use the custom render method into aContainerof your own custom Application: https://pixijs.io/pixi-react/render/#custom-render-call - Create your own
Stagecomponent by forking the existing one and replace thePIXI.Applicationwith whatever you need