Hi! Wow, this place has gotten a lot of facelifts since I was here last; which means the answer to my post is probably somewhere in the forums, if the most accurate response to my query is just a link to said post, I’m cool with that.
I’m making my own version of the Goldeneye Omega (yeah, another one) because the one that I have is good, but there are some things about it that I don’t like. So here’s the thing I’m working on. For the battery indicators on the sides, I’ve got 'em in different pieces, but I’d like them to each be independent of each other (which I’ve taken care of in Photoshop already), but don’t know how to make the battery charge range link to the transparency of that section.
Battery life of 50% - All indicators from 100% to 50% have already faded from 100% opacity to 100% transparency (they’re completely transparent, you can’t see them), and the indicators for 0% to 50% are all at 0% transparency, so you can see them fully. But the indicator for battery life of 50% to 40% has 100% opacity at 50% battery life, 90% at 49%, 80% at 48%, etc.
I know opacity is
Is it really as simple as
I’m really hoping that’s what it is, or it’s something similarly easy, and that I don’t have to write code for EVERY percentage.