SetFromJSON and AsJSON with tilemaps

Discussion and feedback on Construct 2

Post » Thu Nov 21, 2013 10:49 am

So I'm trying out the new Set From JSON feature. I want to use it to quickly save my generated levels into strings, so that I can reload them later.

The current events in my test project are:

-On pressing 1: set tileString to TileMap.AsJSON, Erase all tiles

-On pressing 2: Tilemap - Load from JSON tileString.

Unfortunately, my tilemap basically turns into a gibberish map when I do this, with a bunch of random tiles all over it.

Am I misunderstanding this feature? Can it not save the state of a tilemap currently?Squidget2013-11-21 10:50:13
B
7
S
1
Posts: 45
Reputation: 1,315

Post » Thu Nov 21, 2013 1:40 pm

This seems to be a bug. I reported it here.
B
178
S
83
G
29
Posts: 56
Reputation: 24,022


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests