Add in_world_tile_size field to determine how large each tile is rendered in-world #580
Open
SirHall wants to merge 6 commits intoStarArawn:mainfrom
Open
Add in_world_tile_size field to determine how large each tile is rendered in-world #580SirHall wants to merge 6 commits intoStarArawn:mainfrom
in_world_tile_size field to determine how large each tile is rendered in-world #580SirHall wants to merge 6 commits intoStarArawn:mainfrom
Conversation
…'s will be rendered in-world, leaving `tile_size` to only specify the tile size in the source atlas
…ustom_tile_scaling.rs` example to demonstrate it
Contributor
|
@SirHall I noticed this PR has gotten no attention publicly. Is there some official process that this PR is missing? |
Author
I believe this ticket needs a reviewer assigned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recreated as no-one seemed to be looking at the previous PR, and the reviewer seemed to no longer be active.
As
bevy_ecs_tilemapstands 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_sizeto determine how large a tile should be rendered in-world.This should also close #337.