koogi Posted March 28, 2020 Share Posted March 28, 2020 Hi, I have encounted something strange and I don't know how to fix it. I have git cloned the examples page onto a local webserver and the plugin projection, 3D Camera spine layers works fine. But when I try to reproduce it into my electron app, the layers start acting like this. How can I fix this? I've tried everything, why does it work on the examples html page but not on my html page. thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 28, 2020 Share Posted March 28, 2020 Are you sure it runs WebGL and not just canvas2d context? Quote Link to comment Share on other sites More sharing options...
koogi Posted March 28, 2020 Author Share Posted March 28, 2020 4 minutes ago, ivan.popelyshev said: Are you sure it runs WebGL and not just canvas2d context? Yes, when i use PIXI.utils.sayHello(type) I get Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 28, 2020 Share Posted March 28, 2020 Try use pixi 5.2.1 Quote Link to comment Share on other sites More sharing options...
koogi Posted March 28, 2020 Author Share Posted March 28, 2020 It works on my localhost on chrome when i run it (its always worked) but still not on the electron version. Quote Link to comment Share on other sites More sharing options...
koogi Posted April 5, 2020 Author Share Posted April 5, 2020 still no fix found ? ill switch to 2D Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 5, 2020 Share Posted April 5, 2020 Electron is problem on its own. If you cant get me more debug info - yes, you should just use 2d. I cant even recomment to try SpectorJS in your electron app because i dont know how to install it there. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 5, 2020 Share Posted April 5, 2020 You can also post the demo fully . What if you ue not electron but nwjs? @jonforum uses it for his projects with projection. Quote Link to comment Share on other sites More sharing options...
jonforum Posted April 6, 2020 Share Posted April 6, 2020 (edited) https://www.slant.co/topics/3520/versus/~electron_vs_nw-js_vs_sciterhttps://hackernoon.com/why-i-prefer-nw-js-over-electron-2018-comparison-e60b7289752 Without debug log, anybody cant help yout for this. here a boilerplate https://github.com/djmisterjon/nw-parcel-pixi@ivan.popelyshev If you have time to add to pixi wiki one day, i dont think i can, or i dont know how Edited April 6, 2020 by jonforum Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 6, 2020 Share Posted April 6, 2020 Added. jonforum 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.