Stk-code: The boost trails are not colorblind friendly

Created on 10 May 2020  路  14Comments  路  Source: supertuxkart/stk-code

Description

I have deuteranopia which is a form of red/green colorblindness that impairs my ability to differentiate colors.

deuteranopia

The boost trails start as a (at least to me) very subtle shade of green, then go to another shade of red. I find these colors very hard to differentiate making it hard to figure out how much boost I am going to get. Games like Mario Kart mix red/orange with blue to allow people with all kinds of partial colorblindness to easily differentiate the colors.

The reason they mix red/orange with blue is to cover all of the bases as there is another type of colorblindness called tritanopia which affects blue, yellow, and green colors.

tritanopia

So by mixing the colors it helps all people with this impairment.

for beginners

All 14 comments

I am willing to fix this if someone can point me in the right direction of the particle system responsible for the skidding.

look for data/textures (or stk-assets/textures), skid-particle1.png and skid-particle2.png

and in src/karts/kart_gfx.cpp looks for m_skidding_light_*->addLight for color

result not satisfactory?

I worked on it and got it working. I know how to open a pull request on github, but I don't know how to use subversion to contribute and I can't find any information online. It worked really well and going back to the original version showed a nice contrast. If I can figure out how to make changes on subversion I may be able to make one nice change for the next version of the game.

You can just upload the changed png file together with pr
Subversion stk-assets has no PR concept anyway

Awesome, Thanks! I will create a pull request as soon as I can.

Waiting for this change.

Note : there is kmag on linux to test (and allow to screenshot) with different types of vision.

This make me think WCAG rules are not always applied on SuperTuxKart ... (for example some pink text in center of the screen : pink over green is not a readable constrast).

I would love configurable options: choose the color of the skids, and choose the color of nitro. and maybe even the size. so it is easier to see for new players.

No configurable because it's easier to change texture yourself

Maybe a simple html image composition (or even a gimp project layout) could help to check if the image is readable with the assets.
If i find time (and nobody did this before me), i'll give a look on that.

Well changing the texture isn't for end-users, right?

Because stk believes the less option better

Fair enough

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alayan-stk-2 picture Alayan-stk-2  路  4Comments

psypherium picture psypherium  路  4Comments

Vistaus picture Vistaus  路  4Comments

Arthur-D picture Arthur-D  路  3Comments

psypherium picture psypherium  路  4Comments