Results 1 to 5 of 5

Thread: Opposite of fadeOverTime()?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Deleter/Deleted
    Join Date
    Jan 2023
    Posts
    76
    Thanks
    40
    Thanked 9 Times in 9 Posts

    Opposite of fadeOverTime()?

    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(hudtime)
    {
        
    hud.alpha 0;
        
    progresstime 0;
        while (
    progresstime time)
        {
            
    progresstime += 0.05;

            
    hud.alpha += 0//...

            
    wait 0.05;
        }

    Last edited by raphael; 20th March 2023 at 07:15.

  2. The Following User Says Thank You to raphael For This Useful Post:

    kung foo man (22nd March 2023)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •