Code Monkey home page Code Monkey logo

Comments (12)

luanpotter avatar luanpotter commented on May 18, 2024 2

I think we dont have any example using that field, so it's very likely broken. I will test this against the new flame_tiled

from tiled.dart.

natebot13 avatar natebot13 commented on May 18, 2024 2

@ufrshubham interesting, I'm willing to take a look later today.

from tiled.dart.

spydon avatar spydon commented on May 18, 2024 1

Any news?

No news, if anyone want to take on this feel free! :)

from tiled.dart.

natebot13 avatar natebot13 commented on May 18, 2024 1

(tileWidth! + spacing).toDouble(),
(tileHeight! + spacing).toDouble(),

This is the reason. Spacing shouldn't be added to the source rectangle. Removing the spacing fixes the issue.

from tiled.dart.

ufrshubham avatar ufrshubham commented on May 18, 2024 1

@spydon I just tried to test that branch but the problem still persists. After debugging I found out that it was failing because spacing and margin parameters were not copied in _checkIfExtenalTsx() method.

Edit: This is required only for cases where an external tileset file is used. For embedded tilesets, original fix should be enough.

from tiled.dart.

Jcupzz avatar Jcupzz commented on May 18, 2024

I think we dont have any example using that field, so it's very likely broken. I will test this against the new flame_tiled

Ok cool!

from tiled.dart.

Hwan-seok avatar Hwan-seok commented on May 18, 2024

Any news?

from tiled.dart.

spydon avatar spydon commented on May 18, 2024

(tileWidth! + spacing).toDouble(),
(tileHeight! + spacing).toDouble(),

This is the reason. Spacing shouldn't be added to the source rectangle. Removing the spacing fixes the issue.

Do you want to put up a PR for the fix? :)

from tiled.dart.

ufrshubham avatar ufrshubham commented on May 18, 2024

I see a PR is open for this but it is not approved. Is that not the correct fix for this issue?

from tiled.dart.

spydon avatar spydon commented on May 18, 2024

I see a PR is open for this but it is not approved. Is that not the correct fix for this issue?

I think it was just forgotten. Would be good if someone depended on the branch and tried the fix.

from tiled.dart.

natebot13 avatar natebot13 commented on May 18, 2024

This has been fixed with pull request #41 and I believe has been verified by @ufrshubham

from tiled.dart.

ufrshubham avatar ufrshubham commented on May 18, 2024

This has been fixed with pull request #41 and I believe has been verified by @ufrshubham

Yes, I've tested that PR and it works.

from tiled.dart.

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.