Search the Community
Showing results for tags 'nwjs'.
Found 2 results
Trying to get pixi to work with nw.js - Problem with globals
jannesiera posted a topic in Pixi.jsHello, I'm trying to get Pixi to work with nwjs but I get some errors in pixi's platform.js. It doesn't seem to recognize some globals. First of all it gave undefined for global.document, which I was able to fix by adding a line to my script: global.document = window.document; // Fix pixi document contextHowever, right after I get the next error, apparently global.Image is undefined. Since I have no idea what global.Image is supposed to be or do I'm stuck and don't know how to proceed.