[PLUGIN] TMX importer

Post your completed addons to share with the community

Post » Tue Apr 02, 2013 1:55 am

[QUOTE=rexrainbow] Update:

Add
- "condition:For each layer property", "expression:Current layer property name, Current layer property value"
- "condition:For each tileset property", "expression:Current tileset property name, Current tileset property value"
- "condition:For each tile property", "expression:Current tile property name, Current tile property value"
to retrieve properties.

Note: these conditions would not retrieve properties in order since properties was saved in a hash table.[/QUOTE]

So from what I understand, if it is correct, is that I can create create and object in Construct 2 if I have a tile with a property called "SpawnObject" and the object name?
B
26
S
5
G
5
Posts: 98
Reputation: 4,734

Post » Thu Apr 18, 2013 3:30 am

hi.
are you planning for support new features from new release of Tiled editor?
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Thu Apr 18, 2013 3:48 am

@SirG @Tokinsom

Yes, I will try it after updating my all plugins to support save/load system (r124+).rexrainbow2013-04-18 03:48:48
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Mon Apr 22, 2013 7:01 pm

@rexrainbow

Thanks you very much for the plugin ! It's really helpfull to create a map :-)

I had some trouble to figure how was working the solid propriety but finally understand it !

I have this little bug that is not really important, only for the "look" maybe you have an idea about what I have doing wrong. The problem is that all the floor (not the wall) if I use two layers is pink, but should be another tile. Really strange

This is the Capx
B
5
G
1
Posts: 11
Reputation: 947

Post » Thu Apr 25, 2013 5:49 pm

@Shiva

It might be a bug, I need to check it when I have time.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Sat May 25, 2013 11:18 am

@rexrainbow
hello again. i have a trouble with getting tile property info on latest plugin version.. it seems not working, or i`m doing something wrong. can you provide a little example how to read tile properties? for example, read tile properties and append it to sample text.SirG2013-05-25 11:19:46
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Sat May 25, 2013 4:21 pm

@SirG

Properties is read under "Condition:On each tile cell" or "Condition:On each object"


I test expression:TileProp , it works fine. Could you give me a simple test capx?rexrainbow2013-05-25 16:21:51
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Sun May 26, 2013 5:44 pm

@rexrainbow
yes, i can make example,if you need it. i`m confused, that plugin has new iteration/condition - "for each tile property" (like "Condition:On each tile cell"). where i need to paste it? inside "Condition:On each tile cell" or not?
ImageImage
B
68
S
23
G
7
Posts: 186
Reputation: 9,786

Post » Sun May 26, 2013 6:03 pm

Dude just read the first few pages ^^;

"Retrieve Tile Array" action in one event triggers "On each tile cell" condition in the other event. You retrieve the tile property using TMXImporter.TileProp("") in the same event you create your tiles.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sun May 26, 2013 11:21 pm

@SirG


Using "condition:for each tile property" at "Condition:On each tile cell" or "Condition:Retrieve Tile Array".

Sorry for this confusing. I might write more detail user document.
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests