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

Replace or supplement resources_dir by/with resources_paths #1169

Open
PSteinhaus opened this issue Feb 6, 2023 · 1 comment
Open

Replace or supplement resources_dir by/with resources_paths #1169

PSteinhaus opened this issue Feb 6, 2023 · 1 comment

Comments

@PSteinhaus
Copy link
Member

We currently have the option to add more paths to search resources in, but AFAIK we lack the ability to actually show them, apart from calling print_all that is.

Therefore why don't we add something like resources_paths that does just that? IMO it might even be a useful replacement for resources_dir, because why would you ever want to look at the same value you set inside of the config again (apart from debugging internal ggez bugs * cough *) this way?
What one is really interested in are the paths where resources are actually searched under, right? (Ok I guess a similar argument could be made here that you've set them yourself, but still: these are a bit less trivial than just echoing that one config value back to you)

In case you'd actually find this useful let us know! (Of course also feel free to criticize the idea ;) )

@a1phyr
Copy link
Member

a1phyr commented May 4, 2023

Actually this would be useful for ggez-assets_manager to be able to list additional paths with the FileSystem only, and not provide another method and require to duplicate this information.

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