Any way to access html canvas context with javascript?

0 favourites
  • 1 posts
From the Asset Store
Get ready to dive into a sea of endless excitement with "Dolphin Jump," the thrilling new game that puts you in control
  • Folks, thanks in advance for any contribution to this topic!

    We were trying to develop a plugin to take screenshot sequences and add effects ... so first, we started experimenting in console to see if that is possible ...

    getting the canvas seems ok, there is only one there ... trying to access 2d context and print an image in javascript, outputs an empty one, apparently it is empty although there are things on the layout ... trying to access the webgl context, says there is none, so now I am very confused, how does it draw things?

    I know there is the take screenshot action, but then it would not be a plugin, and now even if it is not possible to directly access the canvas context, I am just very curious to understand how it does things.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)