auto create/export image files?

0 favourites
  • 3 posts
From the Asset Store
Convert multiple Excel files into JSON files and import them into construct3.
  • I'm working on a generative art piece and I thought it would be cool to click a button or just automatically have C2 export images of the window space of my project to a specific folder.

    Is this possible?

  • Well, you could go with the "Take snapshot of canvas" system action.

    After that, you need to add an event "On canvas snapshot".

    The image is then stored under the URL "CanvasSnapshot" and you can do with it whatever you want.

    (Adapted from the C2 example "Taking Screenshots", located in [C2InstallDirectory]\examples\, you can take a look at that if you don't understand)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, you could go with the "Take snapshot of canvas" system action.

    After that, you need to add an event "On canvas snapshot".

    The image is then stored under the URL "CanvasSnapshot" and you can do with it whatever you want.

    (Adapted from the C2 example "Taking Screenshots", located in [C2InstallDirectory]\examples\, you can take a look at that if you don't understand)

    Thank you!

    I was not aware of these functions and it is absolutely what I was looking for.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)