How do you save an RPG game in webstorage!

Get help using Construct 2

Post » Tue Jul 31, 2012 5:44 am

How do you save progress in an RPG game with local webstorage?
I searched for it, and nothing helped. Can anyone help, me?
NOTE: This wont help: http://www.scirra.com/forum/how-to-use-webstorage_topic46068.html
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Tue Jul 31, 2012 8:56 am

Do you know how to use arrays?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
68
S
8
G
6
Posts: 929
Reputation: 9,356

Post » Tue Jul 31, 2012 9:11 am

@InvaderX
Check the example on that other topic.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Tue Jul 31, 2012 4:10 pm

I tried it and it wont work for me. Can you check it out? The Gah-me (Game)
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Tue Jul 31, 2012 5:56 pm

@InvaderX
Look at the example again, you need to make events 47-50 sub-events of 46.
Also the order of the actions is important. It should be like this:
Dictionary: clear
..
Dictionary: add key...
..
StorageGame: set value at index to Dictionary.AsJSON
System: add 1 to index
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Tue Jul 31, 2012 9:53 pm

Still doesn't work.
B
29
S
7
G
3
Posts: 361
Reputation: 6,187


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, jeffige and 1 guest