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

Patterned document background option #3936

Open
eishiya opened this issue Apr 27, 2024 · 0 comments
Open

Patterned document background option #3936

eishiya opened this issue Apr 27, 2024 · 0 comments
Labels
feature It's a feature, not a bug.

Comments

@eishiya
Copy link
Contributor

eishiya commented Apr 27, 2024

For maps and especially tilesets, it is often useful to be able to see transparent areas of the document. However, currently Tiled supports only solid colours as backgrounds - there is the background colour option, and the default map editor and panel background colour that's theme-dependent and shown on documents with no background colour set. These do not make it clear which pixels are transparent. While a lot can be done with them, I think that a zoom-independent chequered or otherwise patterned background (displayed in place of the current solid default) would make transparent areas read more clearly than any one solid colour could (at least without also blinding the user xP).

A comparison of such background patterns from a few image editors, with an image zoomed to 500% for reference:
PyxelEdit: Diagonal lines, zoom-independent, fixed size, fixed colours
image

Photoshop: Checkerboard, zoom-independent, three size presets, customisable colours with several presets
image

Aseprite: Checkerboard, zoom-dependent (hurts clarity, but makes it useful as a size guide, something Tiled does not need), customisable size with several presets, customisable colours
image

Krita: Checkerboard, zoom-independent AND position-independent (cache-wrecker!), customisable size, customisable colours
image

I feel PyxelEdit's diagonal lines would be the best option, as they run little risk of resembling the content of tiles at any zoom level, whereas checker board patterns and squares are fairly common in tilemaps. However, it would be nice to be able to customise the size and colour of the lines - if not fully, then perhaps with small/medium/large size options (or perhaps a fixed size scaled by monitor DPI?), and light/midtone/dark colour options with the exact colours chosen based on the theme.

@eishiya eishiya added the feature It's a feature, not a bug. label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature It's a feature, not a bug.
Projects
None yet
Development

No branches or pull requests

1 participant