Jump to content

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


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.


Also do you have any debug modes turned on?


Link to comment
Share on other sites

Hi @enpu

It's the same as yours ...


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.

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.


  • Recently Browsing   0 members

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