Open sanketsudake opened 10 years ago
Thanks, I didn't think about that. I'll look into it.
I was looking into it, and changing initialization.js to this changes red to purple and green to brown, but it'll need some sort of options implementation to switch between them
window.colors = ["#cc66ff","#f1c40f","#3498db","#ac6319"];
window.hexColorsToTintedColors = {
"#cc66ff": "rgb(233,148,212)",
"#f1c40f": "rgb(246,223,133)",
"#3498db": "rgb(151,201,235)",
"#ac6319": "rgb(214,177,140)"
};
window.rgbToHex = {
"rgb(204,102,255)": "cc66ff",
"rgb(241,196,15)": "#f1c40f",
"rgb(52,152,219)": "#3498db",
"rgb(172,99,25)": "#ac6319"
};
window.rgbColorsToTintedColors = {
"rgb(204,102,255)": "rgb(233,148,212)",
"rgb(241,196,15)": "rgb(246,223,133)",
"rgb(52,152,219)": "rgb(151,201,235)",
"rgb(172,99,25)": "rgb(214,177,140)"
};
I don't like those colors too much. We pulled all of our colors from http://flatuicolors.com - perhaps you could play around with the colors there?
Ok, Ill run some new ones by you
Side note: After testing out the colorblind version and then reopening the game in normal mode, the save state loaded with the purple and brown blocks still in play, but with no way to actually get rid of them.
Clear your local storage / try testing in an incognito window (if you're using Chrome) if you would like to try to test color combinations.
Hey IceManQ I'd be interested in adding maybe an optional button in the pause menu. Would that be good? I'm sorry but we've come a bit attached to the games current colors. I'll try to get to work on it tomorrow! Btw those colors look great although I know nothing about color blindness I'm afraid.
Sure! Doing it before the game starts will probably be easier though, because otherwise you'd have to work out how to change all the blocks colors midgame, and setting them is much simpler
Haha that is a very good point.
On Monday, August 18, 2014, IceManQ notifications@github.com wrote:
Sure! Doing it before the game starts will probably be easier though, because otherwise you'd have to work out how to change all the blocks colors midgame, and setting them is much simpler
— Reply to this email directly or view it on GitHub https://github.com/Hextris/hextris/issues/74#issuecomment-52450883.
In fact, if you want to support all types of colour blindness, you need to use something based on shapes instead of colours. Or something brightness-based in grayscale, but then it is hard to distinguish between bricks.
Do you think that we could just use gradients?
Hello! I have strong Protanopia colorblindness, saw this issue and wanted to give it a shot. I forked and used FlatUI colors, tell me what you think.
That's so cool! Could you package it up as an option in Hextris?
Already did as an option on the main menu, its just a checkbox and label right now. Though the issue with it not changing previous block colors remains, I'm think maybe this checkbox(or button) should also restart a new session. Thoughts ?
Most of people have complex of red/green combination. You might look out for some other good color combination.