How do I import a tilemap from MapEditor

Get help using Construct 2

Post » Fri Jun 20, 2014 12:43 pm

I have started to work with the MapEditor to create tilemaps for my next game. But I'm not quite sure how i import my map. Is it only possible to import a .png file not the file which the MapEditor provides?

And maybe somebody has tips for me or own experience with tilemaps and "top-down" games so far he's willing to share?

Edit:

I've found where i can import the .tmx files now, but i get this error. What do i wrong?

error_import_tilemap.png


Thanks for your help guys!
You do not have the required permissions to view the files attached to this post.
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Fri Jun 20, 2014 1:51 pm

Well it sounds like the TMX file is not valid.
Could you post your TMX file to see if it is working as intended ?

I've just tried using Tiled 0.9.1 and C2 R173 and import/export of TMX files worked as intended.
Example TMX file

I exported it from C2 first, opened it in Tiled, made some kind of level and then imported it back in C2, and it worked.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,293
Reputation: 70,144

Post » Fri Jun 20, 2014 1:56 pm

Hi @Kyatric
Thanks for your fast reply. Your test file also works on my side. Could it be a problem with the size of the map? I can't post the file here because it includes premium tile files, but i can send the file with a PM to you.

Some Information
new_tilemap.png


This are my settings for the tilemap. Do you see any problem with the size or the settings at all? What do you recommend?

Thanks a lot!
You do not have the required permissions to view the files attached to this post.
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Fri Jun 20, 2014 2:05 pm

I'm afraid I'm not familiar with Tiled or the specific settings required.
I've just quickly tried out to see if their could be a compatibility issue requiring Ashley to know or make some kind of update. Apparently it's not the case.

Let's hope someone more familiar with Tiled will be able to provide some support to you.
Sorry I can't be of more help on the issue.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,293
Reputation: 70,144

Post » Fri Jun 20, 2014 2:08 pm

It's no problem, thank you! I've sent you the tilemap before i had read your replay. Maybe you'll find something, if not it's also fine ;)
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Fri Jun 20, 2014 2:27 pm

Have you checked this blog post from Ashley, especially the part about importing: https://www.scirra.com/blog/ashley/3/tech-blog-tilemap-tidbits? Maybe there is something in here to give you a clue to why yours doesn't work (using gzip compression, for instance).
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,413
Reputation: 59,510

Post » Fri Jun 20, 2014 2:53 pm

Thanks a lot for that link. I will check it! :)
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Tue Aug 05, 2014 4:44 am

Hi guys,
@AndrereasR did you find a fix for this? I get the same error when importing a tmx file.
Cheers
B
10
S
2
Posts: 14
Reputation: 895

Post » Tue Aug 05, 2014 7:42 am

roachhd wrote:Hi guys,
@AndrereasR did you find a fix for this? I get the same error when importing a tmx file.
Cheers


Hi,
I've updated my tutorial. You need to save it as XML.

Image

Tutorial: https://www.scirra.com/tutorials/1046/c ... -mapeditor
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Tue Aug 05, 2014 11:31 am

@AndreasR Awesome, thanks
B
10
S
2
Posts: 14
Reputation: 895

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests