Problem with JSON, but not sure it's a bug

Discussion and feedback on Construct 2

Post » Sat Apr 23, 2016 9:48 pm

Hi. I've been working on a tilemining game, and i've come across this issue. This game uses big arrays and tilemaps, but if i have understood correctly this shouldn't be a big problem unless the tile image is really big.

When you run this capx, it generates a big tilemap choosing between two kind of tiles on a layout, save it as a json string, and loads it in the next layout. Running it on firefox is fine, but on NW.js and chrome it crashes. If you change the choose condition and just put one kind of a tile, it works fine.

https://drive.google.com/open?id=0B5bQK ... DlXcU9fQXc

I guess there is something wrong with using those big arrays or tilemaps, because when deleting one of those that are left on the project, it runs ok. So i guess that this is not a bug, and probably there is something that i've been doing wrong, but i can't find it. Loading it tile by tile on just one layout works fine.
B
7
S
2
G
1
Posts: 17
Reputation: 534

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests