bevy_ecs_tilemap
bevy_ecs_tilemap copied to clipboard
Support for tilemap textures without padding (but with spacing)
Is there a way to use tilemap textures like this one:
https://github.com/StarArawn/bevy_ecs_tilemap/blob/main/assets/tiles_with_spacing.png
where there is some amount of padding between tiles, but none "outside" of the tiles?
That file comes from this repo, so presumably this was possible at one time. But it doesn't seem to be used in any of the current examples.
The current spacing example uses this other tilemap: https://github.com/StarArawn/bevy_ecs_tilemap/blob/main/assets/tiles-spaced.png that has padding all around.
It would be nice if bevy_ecs_tilemap like bevy supported a separate value for this "offset" and "padding."
Ah, this behavior may be atlas / array texture specific at the moment, see https://github.com/StarArawn/bevy_ecs_tilemap/issues/352#issuecomment-1324419665