How do I save a group of images?

1 favourites
  • 6 posts
From the Asset Store
Elevate your games with our AI Chatbot Integration! Seamlessly connect your Construct 3 projects with GPT-4 for dynamic,
  • Is there a way to save and recall images?

    I made a little game where the therapist will take 4 pictures of an activity and then later the child will put them in order. In the example image, the Blue boxes represent the images.

    I can download single images, but I need to save all 4 images in a group to local storage, to be recalled later in the day, so the child can put the images in order later. I don't need to save many groups of 4 images, just a few.

    Save like I would a single image, but 4 at once to be recalled all at once.

    Is there a demo for that?

    Thoughts?

  • If you can save one image you can save four. Can't you save 4 different images and load four? Like im01,im02,im03,im04?

    yours

    winkr7

  • Try Construct 3

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

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

    Thank you for your reply. I don't think I explained it well.

    Any idea how to recall the images?

    I want to make a gallery of sorts, where the therapist just needs to tap the 4 images to bring them into the game, but I can't upload the images.

    I've found plenty of demos on making albums and galleries, but nothing on how to upload images from a tablet to get the images into the app.

    Any ideas?

  • Here is an example of saving one image to Local Storage:

    dropbox.com/s/2ejptq8tlgl57n0/DrawingCanvas_SaveLS.c3p

    If you need to load an image from file, you can load it into a sprite first, then paste on the canvas.

  • dop2000,

    OH!! Now I Get It!

    Thank you!! You're amazing.

    I was actually quite proud of myself this morning - I figured out how to upload the images using your "File Chooser" demo (and a lot of digital duct tape lol)

    Thanks a lot. I really appreciate it.

  • No worries!

    You can probably get image directly from AJAX into BinaryData. But this is risky, because the image file may be too big. It's better to paste it on a canvas with fixed resolution.

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