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

Add in_world_tile_size field to determine how large each tile is rendered in-world #580

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

SirHall
Copy link

@SirHall SirHall commented Dec 12, 2024

Recreated as no-one seemed to be looking at the previous PR, and the reviewer seemed to no longer be active.

As bevy_ecs_tilemap stands now, each tile's size in-world is tied to the pixel-size of the tile in the source atlas.
If I however want my tiles to be of unit size or any particular scale that I require, this is not currently possible.
With this pull request, a user can now set physical_tile_size to determine how large a tile should be rendered in-world.

This should also close #337.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant