How do I Save & Load in screenshots into the game

0 favourites
  • 6 posts
From the Asset Store
You must shoot down the enemy planes and eliminate them to earn points.
  • So basically I am trying to make a layout that allows the user to create their own character with a paint program like layout and it saves by the canvas screen shots, so basically I am trying to get the screenshots to save and load into the game when ever the player selects the option of custom character. webstorage isn't working for saving, and neither is invoking downloading and open from url and pointing to the file location. I am wondering how would I save this and load it into my game? Or am I looking at the whole thing wrong... At the end of the day I am trying to allow the user to create a character to use in my game.


  • System: On canvas snapshot -> Sprite: Load image from CanvasSnapshot

    From the manual:



    Contains the resulting image from a Snapshot canvas action after On canvas snapshot has run. (Note this expression is not available immediately after the Snapshot canvas action - you can only use it after On canvas snapshot triggers.) The expression returns a data URI of the image file. This can be loaded in to a Sprite or Tiled Background object via Load image from URL, sent to a server or stored locally, or opened with the Browser object in a new tab to save to disk.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Displaying it isn't the issue I already read through that, its like you didn't even bother reading before you replied, saving and loading it into the game is. I wanted the player to be able to create his own character by taking a screenshot of the canvas then saving it in which it would have to be loaded, so like idk they leave or close the game their custom character that they created isn't gone.

  • its like you didn't even bother reading before you replied

    good luck with it

  • Found out how, Had to use a global varible to temp save the value to store into a webstorage local key value. But you sir didn't bother to read at all and you still continue to not read and insist my problem is that problem when that problem did not address it. It only said it can be stored locally through browser meaning invoke download. It was talking about saving. Not saving and loading.... Nor did it address how.

    The thing you told me was how to display it. Nothing to do with what I said at all really...

  • undeadbobop : Hi, can you give us example capx? I dont know how to connect between global variable to webstorage. Thank you for your help

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