How do I transfer large amounts of data between layouts?

Get help using Construct 2

Post » Sat Feb 20, 2016 3:06 am

Like RPG zones ---<> MiniGame Zones ----<> Other zones ---- <>OverWorldMap----<>Rpg Zones----<> etc



I cant figure it out, do I manage JSON data I save manually into arrays and export arrays as JSON? or what?
B
5
S
1
Posts: 68
Reputation: 515

Post » Sat Feb 20, 2016 3:34 am

An array is already global, so the data in them does not get reset when changing layouts. For non global objects, you can use https://www.scirra.com/manual/161/persist

JSON is useful when writing array data as a single string to use to save to a variable, file, or local storage.
Mistakes were made.
B
54
S
28
G
115
Posts: 1,705
Reputation: 65,083


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests