-
Beta Was this translation helpful? Give feedback.
Answered by
NiklasEi
Apr 5, 2022
Replies: 2 comments
-
One very common way of preventing this is to add padding to your sprite sheet. This can be done automatically in software like e.g. Aseprite. Bevy also supports reading sprite sheets with padding (see from_grid_with_padding). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
propah
-
I think this is related to #4162 . I have run into the same issue. Padding the sprites is definitely a workaround, but it might affect users workflow when producing them. Hopefully Bevy can handle it internally |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One very common way of preventing this is to add padding to your sprite sheet. This can be done automatically in software like e.g. Aseprite. Bevy also supports reading sprite sheets with padding (see from_grid_with_padding).