Wire color selection
Posted: Sat Nov 23, 2024 4:58 pm
Instead of having green/red wire, which for me look the same no matter which color vision setting I choose, why not let the player select which color each wire is from a set of 8 or 16 colors?
Honestly, looking at the resource files, there isn't any reason why you have 4 different wire pictures anyways. Having one where when read in it creates 4 copies in memory, one for copper, wire color 1, wire color 2, and wire highlighted respectively would be more efficient, and very fast. Further more it would allow for fast color selection in the menu for wire color 1 and wire color 2 as well.
This is a feature that was requested over 2 years ago in a color vision mega thread, and provided by mod, but honestly there is no reason to disable Steam achievements over such a feature as simply changing a few pngs to have a different color. Furthermore since wire color is not helped at all by color blind settings, something should be done here to assist.
Edit: I missed one wire png. There is Wire-shadow.png which is a black wire. My bad. There are 5 wire pngs of different color.
This bad practice isn't just for wires, but for other images in the game as well. You have different colored squares of the same size, different colored + of the same size. Storing each of these makes no sense as you can use one and change it during caching. It just makes the download longer, and add redundancy when needing to make changes to the UI.
You can also rotate, resize, and flip icons with OpenCV if you are not using it, but my guess is that you are already using OpenCV to load images. Since that is the case, why you aren't fully utilizing it, baffles me.
Honestly, looking at the resource files, there isn't any reason why you have 4 different wire pictures anyways. Having one where when read in it creates 4 copies in memory, one for copper, wire color 1, wire color 2, and wire highlighted respectively would be more efficient, and very fast. Further more it would allow for fast color selection in the menu for wire color 1 and wire color 2 as well.
This is a feature that was requested over 2 years ago in a color vision mega thread, and provided by mod, but honestly there is no reason to disable Steam achievements over such a feature as simply changing a few pngs to have a different color. Furthermore since wire color is not helped at all by color blind settings, something should be done here to assist.
Edit: I missed one wire png. There is Wire-shadow.png which is a black wire. My bad. There are 5 wire pngs of different color.
This bad practice isn't just for wires, but for other images in the game as well. You have different colored squares of the same size, different colored + of the same size. Storing each of these makes no sense as you can use one and change it during caching. It just makes the download longer, and add redundancy when needing to make changes to the UI.
You can also rotate, resize, and flip icons with OpenCV if you are not using it, but my guess is that you are already using OpenCV to load images. Since that is the case, why you aren't fully utilizing it, baffles me.