Skip to content
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

Template parsing does not work #73

Open
benni-tec opened this issue Oct 30, 2023 · 1 comment
Open

Template parsing does not work #73

benni-tec opened this issue Oct 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@benni-tec
Copy link

Current bug behaviour

The TiledObject.parse() function tries to find a <template> child of <object>. However according to the TMX Documentation and the dartdoc comment above the class such an element is not allowed as a child.

Expected behaviour

Tiled uses the template reference in the template attribute of <object> to find the external template file. Maybe a lookup mechanism like TsxProviders is needed.

More information

Together with the extension to TsxProviders in #70 it might be worth generalizing a Provider for Tsx, template files and images.
I would be interested in working on a PR for this, however I do not need this functionality atm, so I wouldn't get to it for a few weeks.

@benni-tec benni-tec added the bug Something isn't working label Oct 30, 2023
@spydon
Copy link
Member

spydon commented Oct 30, 2023

I'll assign you to it meanwhile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants