Savegame Screenshots?

Get help using Construct 2

Post » Tue Apr 23, 2013 1:30 pm

I was trying to make a screenshot for a savegame, however it seems that the sprite state is not saved in the gamestate. :(

What i tried is:

1. on save -> take snapshot of canvas
2. on snapshot complete -> set Slot1Image to Canvassnapshot (works)
3. save game (works)


When i load the game, the Slot1Image is blank :(
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Tue Apr 23, 2013 1:37 pm

You need to use webstorage, it could store snapshot URI.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Tue Apr 23, 2013 1:56 pm

@Joannesalfa thanks, webstorage works fine! :D
B
33
S
6
G
7
Posts: 338
Reputation: 7,424

Post » Tue Apr 23, 2013 11:47 pm

@Ize use jpeg with low quality it comes very low kb size, webstorage is limited to 5 mb.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt and 25 guests