How do I make a URL loaded sprite image persistent?

Get help using Construct 2

Post » Wed Jun 22, 2016 6:45 am

Hi,

I have blank sprites that load an image from local directory. I have done this with the following:

Code: Select all
FileChooser On changed | System Set NewImage to FileChooser.FileURLAt(0)
, where NewImage is a variable.

Then I did:

Code: Select all
System | Create object CustomImage1 on layer 0 at (0,0)
CustomImage1 | Load image from NewImage (Resize to image size)
, where CustomImage1 is the name of the sprite.

I want to load the sprites with their respective images everytime I load the app. So I stored the CustomImage[1-5] variables into LocalStorage like so:

Code: Select all
LocalStorage | Set item "CustomImage1" to NewImage


I then try to restore the image like so when I reload the app:

Code: Select all
System On Start of layout | LocalStorage Check item "CustomImage1" exists
LocalStorage on item "CustomImage1" exists | LocalStorage Get item "CustomImage1"
LocalStorage on item "CustomImage1" is missing | LocalStorage Set item "CustomImage1" to ""
LocalStorage on item "CustomImage1" get | System set "CustomImage1" to LocalStorage.ItemValue


However, I believe that I'm having problems reloading these images because the URL is only retained in memory during a session and is not permanent. Is there a way I can achieve what I want to do which is to load images into sprites dynamically and make them persistent across reloads (sessions)?
B
9
S
2
Posts: 18
Reputation: 619

Post » Thu Jun 23, 2016 10:13 am

you need to save Data URI in to Local Storage..
so you need to "convert" image to base64 string..

from:
Image

to this:
Code: Select all
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAFpBSURBVHjaYmQY/ICRBD4jATX/0dgMaOz/OMTR2bjcgqyOEYeeQQP+///PABBAjEM84hlxJAJGLJGCHMn/0MSYgZgJif+PQMSTHeaDLQEABBDjEIx8RiyRzIiWs0H4D3IECwrxssrKSbI8fPCMnZubi5uLi5OdlY2FiYeH89+D+0+fvH71/gdQHQuS/v8kRByukgBXKfB/sCQAgAAa7AkAVyQzYSnaQRH+j4mZiUVImI/X0EhbS1lZydjY2FBTUEBEQgwIJCTFBP//Z+ThYG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rzo9arlH+JrlQZJ+Op5CYI752J9IWobvj25HInHith0FpE+JpB5hJx+ppFaPFZ7D3AKwKgZ3AAAgyCwsv/KxX4bA+oEivFhvItBB4PRwViawoBH+T02YC7as+TiIR5RVzgMqkanYU2YN0z2rmYKqqlmkGUJuCCPzg10uaQR9AQQMbtrmXDNFZC5Yuc/ntT9n4h5d0qWehGr/j+BwCVmLQM5S8sI7UxmxFN140sAWBMBKAEABBChzZSkLkOmBJB7kCQh80jd+PGfCmsMyfErscvRGEnIkHhXa4MSAECAAQDV+pFWzu6r3QAAAABJRU5ErkJggg==


to encode image in C2 you need FileReader


something like:

fileChooserImageReader.capx

.....................

just do not forget.. you can easily hit the Local Storage limit
so you'll probably need to restrict upload size
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Fri Jun 24, 2016 1:02 pm

Hi Korbaach,

This looks like what I'm after. I didn't realise you can embed JavaScript into a Browser item. I'm just curious about the code in it. It accesses ""newfile"" and 'text' i.e. document.getElementById(""newFile"") and document.getElementById('text').

My question is, where did you get these element IDs? I exported the project and viewed the JavaScript files and I couldn't find these IDs.

Kind Regards,
Jason
B
9
S
2
Posts: 18
Reputation: 619

Post » Fri Jun 24, 2016 2:59 pm

Image

you can add ID in properties..same for TextBox...
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sun Jun 26, 2016 1:10 am

Thank you very much! That does the trick. :D
B
9
S
2
Posts: 18
Reputation: 619

Post » Tue Jun 28, 2016 10:44 am

@jbar6381 , @korbaach :

My game is about to pick user photo and then loaded in character, the photo that has picked is persist even the app was closed, the sprite still remain on the disk android.

I don't know what method above, but my game doesn't need to convert image to base64, filereader or any complicated method above. All i need to do is using CANVAS PLUGIN and built-in LOCALSTORAGE in construct 2 and you just sit on the desk with the coffee.

You can check my game here:
http://bit.ly/2451yXf
http://bit.ly/290A6pv

Basicly, you need to create key "pickedsprite" or whatever you call it, with the value Canvas.imageUrl

Image

Sorry for my english, english is not my native

Edit: added link
Last edited by nikosurfing on Tue Jun 28, 2016 8:17 pm, edited 1 time in total.
B
36
S
13
G
1
Posts: 88
Reputation: 3,101

Post » Tue Jun 28, 2016 1:32 pm

nikosurfing wrote:...I don't know what method above, but my game doesn't need to convert image to base64...

Basicly, you need to create key "pickedsprite" or whatever you call it, with the value Canvas.imageUrl

Image




@nikosurfing..if you set text to Canvas.imageUrl

Image

you'll see something like this

Image

so....your game need to convert image to base64...but you use Canvas plugin to do that...
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072


Return to How do I....?

Who is online

Users browsing this forum: MadSpy, Seruza and 25 guests