Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Screenshot with webgl, pandajs


Recommended Posts

Hello, currently I am trying capture the screen with webgl enabled. The code for this is: 


keydown: function (key){ (key === '1'){ window.open(game.system.canvas.toDataURL()); }}

This opens a new tab with a black rectangle of the same size as the game resolution, but nothing more. A way to make this works? Thanks. I'm using panda.js.


Link to comment
Share on other sites


  • Recently Browsing   0 members

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