Ninjadoodle Posted March 16, 2018 Share Posted March 16, 2018 Hi @enpu On the latest dev version, when I try to preview in browser, the screen is just black. I tried switching off hires etc. but still the same. Quote Link to comment Share on other sites More sharing options...
enpu Posted March 16, 2018 Share Posted March 16, 2018 @Ninjadoodle Do you get any errors in console? Quote Link to comment Share on other sites More sharing options...
PsichiX Posted March 16, 2018 Share Posted March 16, 2018 hi! does logs say something? if yes, could you share them with us? Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 16, 2018 Author Share Posted March 16, 2018 Hi @PsichiX The Panda preview windows works fine, only when you preview in browser (WebGL) does the screen go black. Canvas in fine also. This is from the console ... C:\Users\tom\AppData\Local\Programs\Panda2\resources\app.asar\device\device.js:318 Browser Chrome: debug.js:326 Uncaught TypeError: context.beginPath is not a function Quote Link to comment Share on other sites More sharing options...
enpu Posted March 16, 2018 Share Posted March 16, 2018 Do you have the latest Pixi plugin 1.1.2? Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 16, 2018 Author Share Posted March 16, 2018 @enpu - I keep forgetting to update the plugins! Thanks! Quote Link to comment Share on other sites More sharing options...
PsichiX Posted March 16, 2018 Share Posted March 16, 2018 @enpu good advice to add into engine: every plugin version should have set minimal/maximal version of engine that works with it and engine pipeline should check and possibly give user info about updating given plugin Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 16, 2018 Author Share Posted March 16, 2018 Hi @enpu I've checked and yup I have the latest version of Pixi. I re-downloaded the plugin, but still doesn't work. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 18, 2018 Author Share Posted March 18, 2018 @enpu - I'm still having issues with this, just wondering if you might have an idea what the issue might be? Quote Link to comment Share on other sites More sharing options...
enpu Posted March 19, 2018 Share Posted March 19, 2018 @Ninjadoodle I tried to open the Pixi example project and previewed it in the browser, but can't get any errors. Can you confirm what your engine and plugin versions are. Type "game.version" and "game.modules['plugin.pixi'].version" to the console of the browser where you get the errors. Also do you have any debug modes turned on? Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 19, 2018 Author Share Posted March 19, 2018 Hi @enpu It's the same as yours ... game.version "2.5.0" game.modules['plugin.pixi'].version "1.1.2" I get this error tho, but only only with Pixi/WebGL - canvas is fine ... Uncaught TypeError: context.beginPath is not a function at Class._drawHitArea (debug.js:326) at Class._drawHitAreas (debug.js:381) at Class._updateRenderer (debug.js:101) at Class._updateRenderer (core.js:1131) at Class._update (scene.js:414) at Class._update (debug.js:94) at Class._update (core.js:1131) at Class._run (system.js:334) at core.js:904 at animate (core.js:1022) Quote Link to comment Share on other sites More sharing options...
enpu Posted March 19, 2018 Share Posted March 19, 2018 Ah now i got it. Helps a lot when you paste the full error Just updated new 1.1.3 version, let me know if it works now: https://www.panda2.io/plugins Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 19, 2018 Author Share Posted March 19, 2018 @enpu - Cool! It works Sorry I forgot to paste the full error last time! Thank you! 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.