Skip to content

Instantly share code, notes, and snippets.

@stefanbeller
Created October 29, 2011 16:14
Show Gist options
  • Save stefanbeller/1324716 to your computer and use it in GitHub Desktop.
Save stefanbeller/1324716 to your computer and use it in GitHub Desktop.
Multiple set layers for Automapping at tiled-qt
This describes an approach how to make different named set layers work for Automapping.
As of now the layers in Automapping are all prefixed with "rule" which is just redundancy.
Therefore the prefixing will be split up into several different prefixes to exactly
indicate which function is assumed at a layer. Having the prefixes all different the detection of the assumed function of that layer is easier than before.
There will be
"regions" which is the prior "RuleRegions" describing the region which
is considered to be a rule.
"output<xxx>_<yyy>" which is the prior "Rule<xxx>_<yyy>" which describes the output
when applying such a rule.
<yyy> is describing in which layer the given output should be directed.
<xxx> can be different indexes accross different layers.
This makes random output possible.
"rule_<xxx>" which is the prior "ruleset". Now you can name the layer at position <xxx>
"rulenot_<xxx>" which is the prior "rulenotset". here as well you can name
the layer at <xxx>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment