diff options
author | Steve Cotton <steve@s.cotton.clara.co.uk> | 2009-03-09 22:11:06 +0000 |
---|---|---|
committer | Steve Cotton <steve@s.cotton.clara.co.uk> | 2009-03-09 22:55:32 +0000 |
commit | b1c08a56778308897b2a46d6111084044583de0e (patch) | |
tree | 2297aed43a05144815f01274e707fea384ed0abc /tools/tmxcopy/readme.txt | |
parent | de6302f27a5454bdc8fca2fcc2e958916826450f (diff) | |
download | mana-b1c08a56778308897b2a46d6111084044583de0e.tar.gz mana-b1c08a56778308897b2a46d6111084044583de0e.tar.bz2 mana-b1c08a56778308897b2a46d6111084044583de0e.tar.xz mana-b1c08a56778308897b2a46d6111084044583de0e.zip |
Make tmxcopy pair up layers by name
Diffstat (limited to 'tools/tmxcopy/readme.txt')
-rw-r--r-- | tools/tmxcopy/readme.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tools/tmxcopy/readme.txt b/tools/tmxcopy/readme.txt index e4235b94..e8ec830a 100644 --- a/tools/tmxcopy/readme.txt +++ b/tools/tmxcopy/readme.txt @@ -23,6 +23,22 @@ But when you enter this command the mapB will be overwritten. This could be a pr Now we can check temp.tmx to see if the copying worked correctly. +Which layer gets copied to which: +By default layers are copied to layers of the same name. The -n option will make it copy by layer number instead. + + mapA: Ground, Fringe, Over, Collision, Object + mapB: Ground, Fencing, Fringe, Over, Collision, Object + The default copies Ground->Ground, Fringe->Fringe, Over->Over, Collision->Collision (the object layer is not affected) + -n copies Ground->Ground, Fringe->Fencing, Over->Fringe, Collision->Over (mapB's collision and object layers are not affected) + + mapA: Ground, Fringe, Over, Collision, Object + mapC: Ground, Fringe, Overhead, Collision, Object + The default quits with an error + -n copies Over->Overhead + +The -c option creates layers as needed. Using it to copy mapB to mapA will add a Fencing layer to mapA. + + The program works so far but there are still some minor problems: -Only tested for TMW-compilant maps. I don't guarantee that it works with Tiled maps that are made for other games and thus use different features. It is assumed that the target map and the source maps have the same number of layers, for example. @@ -31,4 +47,4 @@ The program works so far but there are still some minor problems: -Layer data of output file isn't gzip-compressed yet -Created TMX file is a bit malformated (but working properly) -The last 2 problems can be solved easily by opening and saving the map in Tiled.
\ No newline at end of file +The last 2 problems can be solved easily by opening and saving the map in Tiled. |