Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Revonx on Thu 30/10/2008 19:10:26

Title: GUI Fade in
Post by: Revonx on Thu 30/10/2008 19:10:26
Fade out code is provided by the manual and works just fine.

int trans = gIGui2.Transparency;
while (trans < 100) {
  trans++;
  gIGui2.Transparency = trans;
  Wait(1);
}

What would be the exact code in this instance for the gGui2 fading in?
Title: Re: GUI Fade in
Post by: Trent R on Thu 30/10/2008 19:36:05
Replace it with >0 and trans--

~Trent
Title: Re: GUI Fade in
Post by: Revonx on Thu 30/10/2008 20:33:33
Thanks don't know why I didn't think of that ;D
Revonx