Different objects and JSON question [SOLVED]

Discussion and feedback on Construct 2

Post » Sat Jun 24, 2017 8:23 pm

EDIT
Ok, the solution is to use an array


Image

-----------------------------------------------------

Hello, I need to group the data of different objects (sprite object, tilemap object, etc ...) into the same variable to save that data to a single file on disk.

Then, this works, it recovers the state:

Image

But if I add the data of another object to the same variable, then it does not work and the state is not recovered.

Image

Can you do that? I mean, save the states of different objects in the same variable to save the data to a single file on disk.

https://www.dropbox.com/s/9eev9phqelypb5s/datosJson.capx?dl=0
B
29
S
12
G
21
Posts: 801
Reputation: 14,453

Return to Construct 2 General

Who is online

Users browsing this forum: Apollo14 and 19 guests