Skip to content

Add an option to darken the background (leaving solid tiles, enemies and items unaffected) #833

@Calinou

Description

@Calinou

When playing, I find it hard to focus on enemies and items since the background is just as bright as foreground elements. This is noticeable right away in the very first level of episode 1, but it's something I experienced on several levels.

Would it be possible to have an option that darkens the background tiles and parallax skies by 50%, but leaves solid tiles, enemies and items unaffected? Combined with the smooth movement option, this could provide better accessibility for the game.

I have a WIP implementation which is working well, but it darkens solid tiles as well: https://github.com/Calinou/RigelEngine/tree/add-darken-background-option
It might not be a problem in practice, but I still need to make it a toggleable option before I can open a PR.

Without darkening With darkening
2022-03-14_01 25 27 2022-03-14_01 23 21

Edit: The way I'm doing it also doesn't catch nonsolid tiles with partial transparency:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementChanges that enhance RigelEngine over the originalrequest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions