Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Peder 🚀 on Fri 01/09/2006 12:40:56

Title: How to fade in objects? (SOLVED)
Post by: Peder 🚀 on Fri 01/09/2006 12:40:56
Hi all, I read in the manual, and it said about fading out objects..
I been trying around with what it said on there to try and get it to fade in but I just dont get how to do it.

To fade out objects works good.
Title: Re: How to fade in objects?
Post by: Alynn on Fri 01/09/2006 13:06:26
It's basically the same thing, except you reverse the process make the transparency go towards 0 instead of towards 100.

Unless you mean something else.
Title: Re: How to fade in objects?
Post by: Peder 🚀 on Fri 01/09/2006 13:10:25
how do I make it fully transparent first?

since I dont know how to do that :-[ I cant really know if what I done works, cause I thought that was all I needed to do, but couldent check it cause I diddent find out how to make it fully transparent first.
Title: Re: How to fade in objects?
Post by: Alynn on Fri 01/09/2006 13:17:54
  oObject.Transparency = 100;

place this in your player enters screen (before fadein) to set it invisible

then when you want it to fade in just loop decreasing the transparency by one wait(1) and that should do it
Title: Re: How to fade in objects?
Post by: Peder 🚀 on Fri 01/09/2006 13:23:09
Thanks ;D.

Got it working now :P