Tilemap JSON, question...

Get help using Construct 2

Post » Thu Feb 13, 2014 11:44 pm

Hi everybody,

I start to use a Tilemap, I think is the best way to make a good performance on mobile.

My idea it's like that, I have 3 tilemap with 700 width. These tilemaps are a collision of the player.

I need, when the player.X is on a specific number layout.X, to load a new tile to one of my tilemap.

now, i tried to make a file.json like that:
{"c2tilemap":true,"width":24,"height":62,"data":"328x-1,12,3x0,11,19x-1,14,3x-1,13,19x-1,14,3x-1,13,16x-1,12,10x0,13x-1,14,17x-1,3,4,5x0,13x-1,3,2x1,4,2x3,15x-1,3x0,3,738x-1,65,66,19x-1,65,3x66,18x-1,65,3x66,18x-1,65,2x66,21x-1,2x65,66,22x-1,4x65,66,22x-1,5x65,120x-1"}

I saved this file in "files" folder, but now I can't load my map...

is possible to load the json file from the folder of the project? is work on the iphone/android? and how?

Thank you

Ribis2014-02-13 23:45:50
B
21
S
9
Posts: 298
Reputation: 2,967

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests