-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Allow Loading Multi-dot Extensions for Asset Files #1276
Comments
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 21, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 22, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 22, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 22, 2021
Moxinilian
added
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Feature
A new feature, making something new possible
labels
Jan 25, 2021
zicklag
added a commit
to katharostech/bevy
that referenced
this issue
Jan 25, 2021
cart
pushed a commit
that referenced
this issue
Jan 25, 2021
Process Asset File Extensions With Multiple Dots Fixes #1276
rparrett
pushed a commit
to rparrett/bevy
that referenced
this issue
Jan 27, 2021
Process Asset File Extensions With Multiple Dots Fixes bevyengine#1276
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this solve or what need does it fill?
I have a game where many of the different types of assets will all be YAML files, but with different schema and corresponding Rust structures. For example, I may have a
dude1.character.yml
and aweapon2.weapon.yml
file.What solution would you like?
It would be nice if Bevy asset loaders could be configured to match on the multi-dot file extension. So that I could register a custom asset loader that will load all
character.yml
files, instead of having to docharacter-yml
files, just to differentiate the different type of YAMLs in my project.What alternative(s) have you considered?
I can work around it for now just by adding syntax highlighting associations for the
character-yml
file format, but it's not ideal.Additional context
The biggest motivation is to keep the system and my IDE treating the
.character.yml
files as actual YAML and not getting confused when it sees a.character-yml
file.The text was updated successfully, but these errors were encountered: