~ ~ INSTRUCTIONS ~ ~
Open the main menu (e.g. with Enter), toggle the COLORBLIND option, and then select CONTINUE to see the result.
~ ~ INFO ~ ~
Hi all!
I've been messing around with PICO-8 after using it briefly a little while ago, and I've been having a lot of fun! But I was working on a game that involved a red ball on green grass, and I realized that this wouldn't be very accessible to a lot of players with colorblindness, even if the contrast was really nice for players without colorblindness. I decided, in my case, the best solution was to add a simple "colorblind mode", and that's where this code snippet comes from.
This is not perfect at all, but basically it manipulates the palette to give much better contrast in many situations for the three common types of colorblindness (red-blind, green-blind, and blue-blind), though most of all for red- and green-blindness, mainly focusing on shifting reds to orange and greens to blue (as suggested by the various accessibility manuals I looked at).