Giter Site home page Giter Site logo

Comments (3)

Phanterm avatar Phanterm commented on May 18, 2024 1

Does this only happen when you set the Automapping rules file via the Project properties? Does it ever happen when using rules.txt within the working map's directory instead?

To date, I have only ever used Automapping by setting the rules in this window, and not by having the rules.txt file share a folder with their respective maps.

And just to eliminate a different issue: Does your working map have a (possibly non-working or undesired) rules.txt in its directory? This should normally take precedence over the rules file set in the Project Properties.

In my entire project I only have the one rules.txt file, and it lives in its own folder, with the rules maps it points to being in another folder, i.e.

./data/rules.txt

then in the file itself,
rulemaps/rules-wall.tmx
rulemaps/rules-roof.tmx

from tiled.

eishiya avatar eishiya commented on May 18, 2024

Does this only happen when you set the Automapping rules file via the Project properties? Does it ever happen when using rules.txt within the working map's directory instead?

And just to eliminate a different issue: Does your working map have a (possibly non-working or undesired) rules.txt in its directory? This should normally take precedence over the rules file set in the Project Properties. If this is what's getting in the way of your automapping working, then your "fix" actually reveals a potential bug in Tiled where the priority of the two files is incorrect.

from tiled.

Phanterm avatar Phanterm commented on May 18, 2024

Update: I thought I figured it out, but I can't seem to get this to reproduce reliably. It looked like whenever I made a change to rules.txt by adding a new .tmx map to it, the rules.txt needed to be re-set within the Project Settings, but I'm not certain.

from tiled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.