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

Generate image data from current Phaser Scene and pass it into second Scene?


spinnerbox
 Share

Recommended Posts

I was wondering is there function in Phaser that will allow me to generate pixel data object from current Phaser Scene (cover the whole canvas or part of it) and pass this object in I don't know which form to the second Phaser Stage and display it as it is at certain position?

Something like this: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas

Or I just fall back to plain Canvas API and use ImageData object?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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