![]() |
This Is Ridiculous
PHP Code:
|
Just copy my util_guifade class from Val Dev and join it to a GUI thingy.
|
I'm not quite getting this, and it seems a lot longer than it should be. I'd use a while instead of a timeout myself, but anyways, I think it's with the 0.05/time. Graal has a hard time handling smaller floating points sometimes, at least in my experience. If you're using a higher time, it might not be able to calculate the value, thus not increase the alpha.
|
Quote:
Quote:
|
Uhm?
You're increasing the alpha by (0.05/time) which in your case is 0.005 every 0.5 secs.. So.. my guess it, IT WILL TAKE LONG TIME oh, and: use this.alpha instead of simple just alpha :o Then you know what object you're working with :p |
Yea, might be a problem with the object, thats why I always use:
PHP Code:
|
This is the script I use for fading on Val Dev, it is to be joined to a Gui Control object.
PHP Code:
|
| All times are GMT +2. The time now is 09:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.