09-29-2023, 05:11 PM
(09-29-2023, 05:01 AM)TerryRitchie Wrote: You know, I've been thinking about this. Having to work with _RGBA seems like overkill for something as simple as wanting to fade an individual color.Personally I kinda agree, I think the marginal amount of flexibility gained is offset by it being extremely unintuitive that `_SetAlpha` still checks the original alpha value. I don't think I've ever seen someone use the ability to target specific alphas and this isn't the first time someone has run into this confusion and asked on this forum.
Why couldn't a statement such as
_SETALPHA Level%, _RGB32(255, 0, 0), Image&
automatically include all of the alpha levels from 0 to 255?
As it stands now you either need to enter a range with _RGBA as you have shown or manually keep track of every level change at each step in the software.
That said, we can't change it now. I think personally it's a bit of a silly command since it's just a big loop (so it's expensive), it's not something you want to be using often anyway.