How do I export images from a construct game/project?

  • Hi

    I'm creating a building enviroment app (minecraft style)

    I want to allow the player to export the enviroment he built into an image file .

    Is that possible ?

  • Hey uzet1,

    If the entire game environment fits inside the game window:

    You could use the action System > "Snapshot canvas".

    If the environment is larger than the game window:

    You could zoom out until it fits, and then snapshot it, though this won't give you a 1-to-1 resolution image of your world, but it might be a nice way to create a map.

    Alternatively, you might be able to use the 3rd party Canvas object. I've never used it, but if you can make it as large as the world, and then paste the world into it, you might be able to save the Canvas as an image. Again, I've never used it so I don't know if you can.

    You may not be able to paste things off-screen into the Canvas, but you might be able to solve this by scrolling the screen chunk-by-chunk across the world pasting as you go.

  • Hi fish, I will try this.

    Do you know if its possible to share the image URL to Facebook or other social ?

    Tnx mate!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No problem,

    As for sharing to social media, I'm not sure off hand. You might be able to do something like that by adding one of the "Platform Specific" objects to your project. I believe Construct 2 has a Facebook object and a Twitter object, and either of those might have the functionality you're looking for.

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