RSCPlus / rscplus

RuneScape Classic client mod & preservation platform
https://rsc.plus
GNU General Public License v3.0
47 stars 35 forks source link

Red-Green colourblindness mode #73

Open Hubcapp opened 3 years ago

Hubcapp commented 3 years ago

https://en.wikipedia.org/wiki/Color_blindness 8% of all males and 0.5% of all females are red-green colourblind. This is actually a huge amount of people. Playing RSC as a colourblind person I would imagine is currently a frustrating thing, since several of the UI elements in the RSC client were not designed with colourblindness in mind.

We should support user-configurable colours for both "bad" and "good" which would apply in the following situations:

UI elements where the information is given ONLY by the colour (very important)

Health Bars red green health

Quest List red green quest list

Friends List (online-offline) red green friends list

UI elements where the Red-Green colour is used as an indicator in addition to textual information

Level hardness rating red green level-xx

Whether or not you have the runes to cast the spell red green magic spells

Game options toggles red green options

Hubcapp commented 3 years ago

Labelling as a bug, since this issue could make sections of the game unusable for some people until it is fixed.

Hubcapp commented 3 years ago

Possibly we would want to just hook the colour conversion for color codes, plus the health bar. @red@ @gre@ @gr1@ @gr2@ @gr3@ @or1@ @or2@ @or3@ would all have custom colours (and may as well hook all of them for good measure?)

and there's a hook to do here too for the health bar: https://bitbucket.org/eggsampler/rsc/src/bca75cc4bd27fd5d2460d5ae4ffc4484253da21f/233/src/client.java#lines-6443