[PLUGIN] TMX importer

Post your completed addons to share with the community

Post » Wed Jul 25, 2012 12:41 pm

@rexrainbow

Thanks for trying anyways.
B
3
Posts: 6
Reputation: 387

Post » Thu Jul 26, 2012 8:42 am

@slboarder

Sorry, I don't have enough time to do more testing.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sun Aug 12, 2012 11:17 pm

Update:

Add expression:TilesetName to get current tileset name for each tile.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Aug 25, 2012 3:34 pm

Just the ticket! Thanks Rex.
B
16
S
2
G
4
Posts: 67
Reputation: 3,295

Post » Thu Oct 11, 2012 4:30 pm

Hello. I'm really new to this tiled map creation so there are a lot of things I don't understand, I hope you could help me.

1- How do you get the string from your TMX file? I tried opening it with the notepad but I'm not sure is correct. Maybe because is not oredered like Rex example... but.

2- The order, I find this labels:
   <properties>
    <property name='solid' value='1'/>
   </properties>
</tile>
<tile id='1'>
   <properties>
    <property name='solid' value='1'/>
   </properties>

Did you write them by hand for each tile? or how can I get them? and that leads me to my last question, which is the one that confuses me more.

3- There is a sprite named Tile that has all the tileset images inside as animation frames Where did you get this sprite or how can I make it?

Thanks guys and thanks Rex for this awesome plugins, I hope I just don't sound too ignorant about them XD
B
4
S
1
Posts: 22
Reputation: 671

Post » Fri Oct 12, 2012 12:17 am

@Ga2Z

The TMX string was created by Tile map editor.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Oct 12, 2012 6:49 am

ummm but I don't know how to export or get that String from the Tiled map editor program... is ther an option?? (As I said, I saved my map as the regular .tmx and openned that file with the notebook, but I'm not sure if that's what i should do)
B
4
S
1
Posts: 22
Reputation: 671

Post » Fri Oct 12, 2012 6:59 am

@Ga2Z

Yes, you could open *.tmx file at notepad, it is a text file.
- You should replace " to ' if you want to copy all string then paste into event sheet.
- Or using AJAX to get external *.tmx file.

Make sure the tmx file is saved as
- Base64 (uncompressed)
- CSV

See first post of this thread.rexrainbow2012-10-12 11:15:46
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Fri Oct 12, 2012 5:20 pm

Yes, I know Rex and the part that really was confusing was the number 2- for my first post... Is beacuse I got the text on notepad but theres nothing similiar to yours at this part:

The order, I find this labels:
   <properties>
    <property name='solid' value='1'/>
   </properties>
</tile>
<tile id='1'>
   <properties>
    <property name='solid' value='1'/>
   </properties>

So, my question was if you wrote yourself or was in your .tmx text already?

and the other question was:

3- There is a sprite named Tile that has all the tileset images inside as animation frames Where did you get this sprite or how can I make it?

PS. I've also read the first post, I don't like to ask anoyingly without even reading the whole thread, is just that I dont really understand about those things I ask :/
B
4
S
1
Posts: 22
Reputation: 671

Post » Sat Oct 13, 2012 7:59 am

@Ga2Z

Yes, these content are all made by tile map editor.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: andykenobi, matriax and 5 guests