Giter Site home page Giter Site logo

Comments (3)

cachi01 avatar cachi01 commented on August 26, 2024

Tried changing polygon
Exported tmx with edited polygon and it worked

I tried changing the polygon to another thing now, reexported tmx but this time it simply did not work. Closing and reopening godot does not change this either.

from yati.

cachi01 avatar cachi01 commented on August 26, 2024

Been playing around with it and noticed Collision Data won't update unless each map is individually re-exported/saved after a tile collision change in the .tsx

Is it possible for the plugin to assign collision data for all tmx using a specific tileset once that tileset's tsx gets updated?

from yati.

Kiamo2 avatar Kiamo2 commented on August 26, 2024

The problem is probably that changes only in a .tsx don't trigger an automatic reimport of .tmx files.
An automatic reimport is only triggered on changes in .tmx files.
Unfortunately we have to live with that somehow.
The import mechanism is built-in Godot, the importer code cannot do much about that.
Additionally the .tsx files don't contain any info in which .tmx they are used so there is no easy other way to circumvent that.

For a single .tmx you can manually force a reimport by switching to the Import tab (left top side) and press Reimport.
(If the Import window is empty you first must reselect the .tmx file in the browser on the left - Godot pecularity).

If you have lots of .tmx all based on the same .tsx a faster workaround could be to close Godot, then delete all .tmx.import files and restart Godot. With missing .impot files a reimport is also forced and Godot writes a new import file.
If you have to do that quite often maybe script that.

from yati.

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.