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

TilemapSpacing is broken when using atlas feature #352

Closed
rparrett opened this issue Nov 23, 2022 · 2 comments · Fixed by #363
Closed

TilemapSpacing is broken when using atlas feature #352

rparrett opened this issue Nov 23, 2022 · 2 comments · Fixed by #363
Labels
bug Something isn't working

Comments

@rparrett
Copy link
Collaborator

rparrett commented Nov 23, 2022

Version tested

MacOS (M1)
main branch

Problem

However, it seems that when using the atlas texture renderer, both tilemaps look very broken, but in different ways.

cargo run --example spacing --features=atlas
atlas

@dogue
Copy link

dogue commented Nov 23, 2022

I'm not sure if it's related, but I ran into a bug with using array textures vs atlas textures when the tilesheet has spacing between tiles but not around the outer edges of the sheet. When using array, a 16x16 grid size with 16x16px tiles would obscure parts of the tiles. When using the atlas feature, the tiles render as expected with no gaps or overlaps.

Edit: Added reference images. The screenshot shows the issue I was seeing before switching to the atlas feature.

image
tilesheet

@rparrett
Copy link
Collaborator Author

I split out the non-atlas-related bits of this bug report into #364.

@rparrett rparrett changed the title TilemapSpacing seems quite broken TilemapSpacing is broken when using atlas feature Nov 30, 2022
@StarArawn StarArawn added the bug Something isn't working label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants