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

Xml paths in animations are not relative to the file #135

Closed
DarthMike opened this issue Jul 7, 2013 · 1 comment
Closed

Xml paths in animations are not relative to the file #135

DarthMike opened this issue Jul 7, 2013 · 1 comment
Assignees
Milestone

Comments

@DarthMike
Copy link
Owner

Generally a path in an xml file for an animation is like this:

The 'file' attribute will be parsed, and added to the current working path, instead of relative to the file it's loaded from. This makes whole paths fragile, because if the relative path between executable (generally it's the default system working path when app launches), and the resources change because of any reason, there will be an error.

What user wants to do is specify relative to the actual file where the path is written.

@ghost ghost assigned DarthMike Jul 7, 2013
@M-F-K
Copy link
Collaborator

M-F-K commented Sep 28, 2013

Note to self: there can be 2 types of paths: image and Collision. To fix this, maybe look for inspiration in the Spritermanager class, since the Spriter format uses a similary path setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants