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

Integrate assets into the saving/loading process #19

Open
tlein opened this issue Apr 17, 2016 · 0 comments
Open

Integrate assets into the saving/loading process #19

tlein opened this issue Apr 17, 2016 · 0 comments
Milestone

Comments

@tlein
Copy link
Member

tlein commented Apr 17, 2016

Currently to load an asset we use a pattern where we add _key member to the object. The key is the used in the FetchDependencies phase to load the asset. If we integrated the Assets into the loading framework we could get rid of the _key value.

Ex of what the API would look like:

sf::Texture _texture;
arc.asset(_texture, "asset-key");

@tlein tlein added this to the 1.0 milestone Apr 17, 2016
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

1 participant