-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule Tile Rotation? #15
Comments
Ahh I see so you only need one tiling rule for two configurations if you use the "Rotated" Rule? |
For this case, yes. The rule matches the tile on the left when rotated at 90 degrees and matches the tile on the right in the normal case. This is also the same for your case in the second picture. For the tile on the left, it matches the first rule exactly. For the tile on the right, it matches the first rule when rotated at 90 degrees with the Rotated rule, so it would look as it did. As both tiles were matched with the first rule, the second rule you set there did not take effect. The yellow lines for the Sprite then will match the transformation set in the first rule, which is vertically orientated to the top and bottom (or left to right in the 90 degrees case). |
Awesome, thanks for that. |
Firstly, great work with this. I once spent a long time doing this myself, good to see somone has done this and done it much better than I ever could have :)
So my question, I must be missing something but how do you specify that the provided sprite should be rotated on a rule?
For example in the above image note the pink area, I would like the selected sprite to be correctly rotated.
Changing the rule seems to alter the wrong one:
Any ideas?
The text was updated successfully, but these errors were encountered: