[PLUGIN] TMX importer

Post your completed addons to share with the community

Post » Mon May 27, 2013 5:09 pm

@rexrainbow
thanks for reply, i`ll try again.
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Tue May 28, 2013 4:27 pm

@rexrainbow
i still have a proublem. can you view my example? i tryed to get propertyes by several methods, but without success.
tmx_prop_test.zip
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Tue May 28, 2013 4:55 pm

@SirG

Try this:
[code]...
+ for each tile property
- log in console : TMXImporter.CurTilePropName & " : " & TMXImporter.CurTilePropValue[/code]

B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Wed May 29, 2013 8:06 am

@rexrainbow
i tryed again.it still doesn`t work. can you provide .capx example, or fix my tmx_prop_test.zip?SirG2013-05-29 08:07:26
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Wed May 29, 2013 8:57 am

@SirG

modified capx.
If it still did not work, try redownload TMXImporter plugin.rexrainbow2013-05-29 08:58:11
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Mon Jun 03, 2013 6:58 pm

@rexrainbow
i`m still getting problems. i have updated plugin, used simple test. test works fine, but if i simply replacing tmx file (it is more advanced and have several layers and tilesets and object layers) in editor (uploading another one in files folder) - condition "on each tile property" doesn`t work.what can be wrong?
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Mon Jun 03, 2013 7:08 pm

@rexrainbow
please, update first post (there is old date of plugin update). and it really need tutorials about using tile properties and object layers
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Mon Jun 03, 2013 8:24 pm

@SirG
I struggled with it myself for some time. This is what I came with in the end :

- setting TMX save mode on CSV

- in Tiled, I used the "tile properties" option (right click on the tilde you want to set), and set "collision" to 1 for example.


- events I used to load the map and set the collisions


- How it renders (i set collisions only on walls)


Here is the .capx if you want to try. You won't be able to open the tmx file in Tiled though, because of the tileset reference. Open it in notepad, and change the tileset path to yours, it's one of the examples of tiled.
B
17
S
7
G
4
Posts: 461
Reputation: 5,907

Post » Mon Jun 03, 2013 11:48 pm

@Guizmus
thanks for support! i made the same conditions and options (except i making tiles for block in additional tileset),but it seems something wrong.
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Tue Jun 04, 2013 4:25 am

@SirG

Could you provide the capx with several layers?
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest