Opacity and Focusareacolor

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
zocka
Posts: 205
Joined: 15 Jun 2010, 17:56

Opacity and Focusareacolor

Post by zocka »

The opacity value seems to not have an effect on the focusareacolor1|2 values. When fading in a label with such background, it will show from the beginning. There is no FocusAreaColor member in ManiaScript either to work around this, or are the docs not updated?
+ is it discouraged to use focusareacolor (as it doesn't seem to be widely used and the effects can be created with ManiaScript)?
I always liked it for simple flat buttons with hover effect without needing any further script :)
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka
User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: Opacity and Focusareacolor

Post by noyranea »

Hi Zocka !

Label attributes FocusAreaColor1/2 are affected by the initial opacity (set in the manialink code), but not by script set opacity, which is your concern.
There has to be a way to do what you need, either by exposing the FocusAreaColor values to the script (which isn't the case), or by modifying the values accordingly to new opacities.
We have some other priorities right now, but I'll keep this in mind and keep you informed.

The use of FocusAreaColor isn't discouraged, as it acts as a shortcut. However, it's not very used due to it's limited range of available effects.

Kindly,

-- noyranea
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 2 guests