JeZxLee Posted December 8, 2020 Share Posted December 8, 2020 (edited) Hi, Went back to an older PixiJSv5 browser game. We have issues: (1) When we run the game on Linux Mozilla Firefox, we only get a black screen? - Game does run 100% on Linux Google Chrome (2) When we run the game on Windows 10 Mozilla Firefox, it works but browser console repeats an error infinitely? - See attached screenshot below Any ideas? Running most up-to-date PixiJSv5. Thanks in advance! Current build can be run live at below URL link:https://fallenangelsoftware.com/stuff/files/PacDudeHero4110PercentTurbo/index.html EDIT #1: Full source: https://github.com/SLNTHERO/PacDudeHero4110PercentTurbo Jesse Edited December 8, 2020 by JeZxLee Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 8, 2020 Share Posted December 8, 2020 Up-to-date.. which exactly version of pixijs is it? @themoonrat is there any OffscreenCanvas in interaction? Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted December 8, 2020 Author Share Posted December 8, 2020 (edited) 28 minutes ago, ivan.popelyshev said: Up-to-date.. which exactly version of pixijs is it? @themoonrat is there any OffscreenCanvas in interaction? Hi, Grabbed minified version here: https://github.com/pixijs/pixi.js/wiki/FAQs#where-can-i-get-a-build Perhaps I am doing something wrong in the source code:? https://github.com/SLNTHERO/PacDudeHero4110PercentTurbo Thanks! Jesse Edited December 8, 2020 by JeZxLee Quote Link to comment Share on other sites More sharing options...
themoonrat Posted December 8, 2020 Share Posted December 8, 2020 For 1. Try setting https://pixijs.download/dev/docs/PIXI.settings.html#FAIL_IF_MAJOR_PERFORMANCE_CAVEAT to false For 2, could you try the latest Dev version please? Or latest release candidate at least, As I know there have been PRs to standardize access to the top level scope, away from window. And that might help in this scenario? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 8, 2020 Share Posted December 8, 2020 latest dev: https://pixijs.download/dev/pixi.js latest rc: https://github.com/pixijs/pixi.js/releases/tag/v5.4.0-rc.2 Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted December 8, 2020 Author Share Posted December 8, 2020 11 minutes ago, themoonrat said: For 1. Try setting https://pixijs.download/dev/docs/PIXI.settings.html#FAIL_IF_MAJOR_PERFORMANCE_CAVEAT to false For 2, could you try the latest Dev version please? Or latest release candidate at least, As I know there have been PRs to standardize access to the top level scope, away from window. And that might help in this scenario? Hi, #1 above worked, but game has terrible performance. Not sure why WebGL is not working in my game on Linux Firefox. Runs 100% on Linux Chrome. #2 checking this in a short while. Thank you! Jesse Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 8, 2020 Share Posted December 8, 2020 > Not sure why WebGL is not working in my game on Linux Firefox. The usual: banned drivers. Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted December 8, 2020 Author Share Posted December 8, 2020 Tried latest RC, same errors spam the browser console - Windows 10 Firefox? Uncaught ReferenceError: OffscreenCanvas is not defined setCursorMode interaction.min.js:8 update interaction.min.js:8 tickerUpdate interaction.min.js:8 emit ticker.min.js:8 update ticker.min.js:8 _tick ticker.min.js:8 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 9, 2020 Share Posted December 9, 2020 (edited) remove offscreencanvas from interaction manually from "pixi.js" file if you dont want to wait while someone investigates it. I will not investigate it for sure - too many other issues ) For me its just "oh, OffscreenCanvas, again? just fix it" Edited December 9, 2020 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
caleb_cruze Posted January 21, 2021 Share Posted January 21, 2021 Try editing the compatibility: Restart your computer. Clear your cookies and cache. Restart Firefox in Safe Mode. Reinstall Firefox. Refresh Firefox. Create a new Firefox profile. Other solutions. Check browser internals. Troubleshoot the Flash plugin. Check for conflicts with your Internet security software. Check for malware. Let me know if this works. Regards, Caleb 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.