Help Save Levels Platform

Get help using Construct 2

Post » Fri Nov 22, 2013 2:28 am

Hi,
I'm finishing a small platform game for learn C2 but I have problems with local save data. (JSON for mobile etc)
Can someone help me with this file?

https://dl.dropboxusercontent.com/u/122498815/Scirra%20-%20Construct2/SaveLevel.capx

I have seen many guides but i found difficulty in my various attempts.
I would get a similar result like angry birds levels grid.


Thanks
B
12
S
3
Posts: 40
Reputation: 1,304

Post » Fri Nov 22, 2013 3:01 pm

[QUOTE=Simo] Hi,
I'm finishing a small platform game for learn C2 but I have problems with local save data. (JSON for mobile etc)
Can someone help me with this file?

https://dl.dropboxusercontent.com/u/122498815/Scirra%20-%20Construct2/SaveLevel.capx

I have seen many guides but i found difficulty in my various attempts.
I would get a similar result like angry birds levels grid.


Thanks
[/QUOTE]

B
12
S
3
Posts: 40
Reputation: 1,304

Post » Fri Nov 22, 2013 3:06 pm

B
47
S
18
G
84
Posts: 2,266
Reputation: 49,786

Post » Sat Nov 23, 2013 12:08 am

[QUOTE=plinkie] [/QUOTE]

@plinkie can you help me?
B
12
S
3
Posts: 40
Reputation: 1,304

Post » Sat Nov 23, 2013 9:15 pm

I don't see any way of saving my game?
B
47
S
18
G
84
Posts: 2,266
Reputation: 49,786

Post » Sat Nov 23, 2013 9:50 pm

[QUOTE=plinkie] I don't see any way of saving my game?[/QUOTE]

Your game?
B
12
S
3
Posts: 40
Reputation: 1,304

Post » Sat Nov 23, 2013 10:12 pm

I would like to have this result, but only fo the grid levels.

https://www.scirra.com/tutorials/266/webstorage-how-to-save-ingame-information

I'm making several attempts but there are always errors...

Simo2013-11-23 22:13:18
B
12
S
3
Posts: 40
Reputation: 1,304

Post » Mon Nov 25, 2013 10:09 pm

Has anyone taken a look? :)
B
12
S
3
Posts: 40
Reputation: 1,304

Post » Tue Nov 26, 2013 12:06 am

Save the positions of your grid to an arraylist, then save the arraylist to local web storage, and lastly set the position of your tiles to the set values of the arraylist.

Posting a .capx and/or screenshots would help as well.
B
11
S
2
G
3
Posts: 50
Reputation: 2,765

Post » Tue Nov 26, 2013 1:07 am

[QUOTE=yogert96] Save the positions of your grid to an arraylist, then save the arraylist to local web storage, and lastly set the position of your tiles to the set values of the arraylist.

Posting a .capx and/or screenshots would help as well. [/QUOTE]

Hi, i am using this file, but i do not understand that code to enter from, any attempt made ??so far to no avail... :(

https://dl.dropboxusercontent.com/u/122498815/Scirra%20-%20Construct2/SaveLevel.capxSimo2013-11-26 01:07:31
B
12
S
3
Posts: 40
Reputation: 1,304

Next

Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot] and 10 guests

cron