Is this possible?

For questions about using Classic.

Post » Sun Oct 14, 2012 5:24 pm

Is it possible to load a map editor from Tiled onto Construct?

Here is the source Click Here!!

Thanks!
B
14
S
2
G
1
Posts: 46
Reputation: 1,144

Post » Sun Oct 14, 2012 10:35 pm

Yes, but I think C2 is not very good to work with tiling like this... In the end I decided to export an image from tiled, and divide it into big pieces before importing to C2.

But if you want to try it, you can export the map as CSV, import it to C2, then use the CSV plugin and AJAX to load it. Then you can use a loop to create the tiles from the CSV table
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Mon Oct 15, 2012 12:25 am

Looks like he's using Construct Classic @7Soul. In that case, exporting to CSV is probably still easiest, but then you read it with the binary object I think.

Separating a line of values is like this: Item1 = GetToken(strCSVLine, 1, ","), but I'm not sure if it's 1 or 0 that is the starting item at the moment.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Tue Oct 16, 2012 2:56 pm

[QUOTE=Jayjay] Looks like he's using Construct Classic @7Soul. In that case, exporting to CSV is probably still easiest, but then you read it with the binary object I think.

Separating a line of values is like this: Item1 = GetToken(strCSVLine, 1, ","), but I'm not sure if it's 1 or 0 that is the starting item at the moment.[/QUOTE]

I'll try using the binary object.
B
14
S
2
G
1
Posts: 46
Reputation: 1,144


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests