How would I go about setting an icon's alpha values to zero, and then having it go up to 100% alpha?
Ex:
proc/fadein()
while(icon.alpha_value<=100)
icon.alpha_value++
I realize that's not how you do it, but I'm stumped!
ID:265777
Sep 29 2007, 8:36 pm
|
|
I've read the reference about MapColors() and am very confused.
How would I go about setting an icon's alpha values to zero, and then having it go up to 100% alpha? Ex: proc/fadein() I realize that's not how you do it, but I'm stumped! |
In response to Lummox JR
|
|
Right but...
That wouldn't slowly fade to opque, it just seems to toggle it. Is there a way to fade from totally transparent to fully opque? |
In response to Flame Sage
|
|
Yes, it's pretty easy actually! It's something called the sleep() proc.
|
Like so:
Lummox JR