Constant Interpolate?
Hey there,
I'm going for an effect where my actor interpolates it's alpha back and forth from 1 to 0 and 0 to 1, constantly.
How should I go about doing this?
Thanks,
Henry
I'm going for an effect where my actor interpolates it's alpha back and forth from 1 to 0 and 0 to 1, constantly.
How should I go about doing this?
Thanks,
Henry
Comments
When attribute sef.color alpha =0, Interpolate self.color alpha to 1.
New rule:
When attribute self.color alpha = 1, Interpolate self.color alpha to 1.
That should do it. You might want to trow in a timer so you get a nice little delay between each Interpolate.
Edit: beaten by one minute! Dang!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
http://www.mediafire.com/?l10chvvo9qi84d6
When the alpha is 0, timer, after 0.5 seconds, run to completion, Interpolate to one. Do that for alpha 1 too.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
First one - flashing on and off:
Yep thats a very good way and i actually told him to do that in a email before he posted, but he wants a fade from the interpolate.
@ Brandon, you wouldnt want run to completion checked. Then it could continue even if you turn the flash condition off. Without run to completion checked you can have an extra rule when the flash attribute is off and alpha is not 0,interpolate alpha to 1 so it cancels out whatever interpolate its on. But with run to completion checked it can overide all of it after the fact.
(The '100' is the speed of the fade up / fade down)
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx