Texture Atlas example does not compile, is confusing and undocumented. #5716
Unanswered
RylanYancey
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It looks like you are running example code from bevy's main development branch, but specifying bevy 0.8 or another version in your If you're looking for examples for the latest bevy release, you can use the Examples are updated in the repo as development happens, so examples from the main branch may include code that is incompatible with the latest release. https://github.com/bevyengine/bevy/blob/latest/examples/2d/texture_atlas.rs |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bevy's Texture Atlas example here: https://github.com/bevyengine/bevy/blob/main/examples/2d/texture_atlas.rs
This does not compile on my system, with the error:
Not only that, but it is hard to figure out what they are trying to do. Some comments would go a long way, I don't think this is acceptable.
The top comments mention that the goal is to create a texture atlas from a folder full of sprites, and that is understandable, but does not explain how it does this. It also does not show how to use the texture atlas once it has been created. I can't find any guides on how to get uvs' from the atlas, for instance, and certainly not here. It lacks detail and explanation.
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions