Jump to content

How to create the canvas tag before loading phaser?


Recommended Posts


in pixi i can create my canvas and give it to the constructor, but it seems in phaser I can only give the constructor the parent tag. In some situations I need to create my own canvas element (e.g. with cocoonjs it needs to be "screencanvas" http://support.ludei.com/hc/en-us/articles/200862486-Screencanvas).


How can I force phaser to reuse a canvas I'm creating rather than create its own?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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