GUI Fade in

Started by Revonx, Thu 30/10/2008 19:10:26

Previous topic - Next topic

Revonx

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?

Trent R

#1
Replace it with >0 and trans--

~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Revonx

Thanks don't know why I didn't think of that ;D
Revonx

SMF spam blocked by CleanTalk