[PLUGIN] TMX importer

  • Update:

    Parsing XML in win8. (Reference from XML plugin, thanks Ashley )

  • Update:

    Add "expression:MapProp" and "condition:for each map property" to support reading map properties.

  • rexrainbow

    thanks for update and for support. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Update

    Fix bug, thank you Tokinsom

  • Thanks for making this plugin :)

  • 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.

    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?

  • hi.

    are you planning for support new features from new release of Tiled editor?

  • SirG Tokinsom

    Yes, I will try it after updating my all plugins to support save/load system (r124+).

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Shiva

    It might be a bug, I need to check it when I have time.

  • 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.

  • SirG

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

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen3-1.png" border="0" />

    I test expression:TileProp , it works fine. Could you give me a simple test capx?

  • 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?

  • 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.

  • SirG

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen1-31_zps95fccfb2.png" border="0" />

    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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)