Jump to content

Can't preview in browser on Latest Dev (Black Screen)


Ninjadoodle
 Share

Recommended Posts

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

Link to comment
Share on other sites

@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.

5aaf63486e7af_ScreenShot2018-03-19at9_14_02.png.fe3fc1403a7c33b902f0aa14d36fe09f.png

Also do you have any debug modes turned on?

5aaf63709c940_ScreenShot2018-03-19at9_14_43.png.def4d33c3b623763777445149cc4c33a.png

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...