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

[Suggest] Make assets key the same with its full path #48

Open
k8w opened this issue Dec 13, 2017 · 0 comments
Open

[Suggest] Make assets key the same with its full path #48

k8w opened this issue Dec 13, 2017 · 0 comments

Comments

@k8w
Copy link
Contributor

k8w commented Dec 13, 2017

In generated js, I found this:

lib.as3_PixiAnimate.assets = {
    "a1": "images/a1.png",
    "a2": "images/a2.png",
    "readers_yay": "sounds/readers_yay.wav"
};

The key of lib.XXX.assets is the name.
It would have some problem if there is duplicated name in different folder.
(For example images/a1.png with /a1.png)

It may be better if the key is the fullpath like images/a1.png;

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

No branches or pull requests

1 participant