Hello
I'm trying to make the opposite of fadeOverTime()
I mean I try to make the alpha to increase over time, progressively, according to a time value
Could you help me please?
I will post my results here
I'm thinking about something like this:
PHP Code:
progressiveAlpha(hud, time)
{
hud.alpha = 0;
progresstime = 0;
while (progresstime < time)
{
progresstime += 0.05;
hud.alpha += 0; //...
wait 0.05;
}
}