CakeChen's Recent Forum Activity

  • Not Yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Whether is it possible to provide a scripting interface (e.g. in IRuntime) for snapshotting current canvas?

    • Similar to System action "Snapshot canvas". But got an ImageData (instead of a data URI). And it is in scripting interface.
    • Similar to DrawingCanvas plugin's function "async getImagePixelData()". But just from current whole (Offscreen)Canvas (instead of a DrawingCanvas).

    This requirement seems possible to be done by DrawingCanvas's "Paste object" and then "Save snapshot". However:

    • If there are many object types are used, DrawingCanvas's "Paste object" needs be called many times. (And, what about their z-order?)
    • This is almost drawing everything twice which may reduce some performance.

    Or, is there other method which I don't know? (e.g. The whole (Offscreen)Canvas could be accessed in scripting interface.)

CakeChen's avatar

CakeChen

Member since 10 May, 2017

None one is following CakeChen yet!

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies