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

typescript: Generate a live-updated typed asset tree #35

elisee opened this Issue Jan 20, 2016 · 0 comments


None yet
1 participant

elisee commented Jan 20, 2016

This will make renaming and reparenting assets much less risky since errors will automatically be reported in the editor if an asset no longer exists. Also, the returned asset will have the correct type right away (no need for Sup.get("Some Asset", Sup.SomeAssetType)).

Something like that:

    Sup.entries["World Map"]["Mushroom"].asset
    Sup.entries["World Map"]["Mushroom"].loadAsset(() => {});
    Sup.entries["World Map"]["Mushroom"].cloneFromStorage((newAsset) => {
      // ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment