Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: DoorKnobHandle on Fri 24/10/2003 22:50:16

Title: Get rid of a warning!
Post by: DoorKnobHandle on Fri 24/10/2003 22:50:16
Heh you guys out there!

How can I get rid of the warning I get everytime I use "Wait(X)" before fadein?

I use it there to let the fade in last longer!

Is there any way to let the fade in/out last longer without getting a warning?

Of course, I don't mind warnings, but if I want to have a final version of thi game somedays I wouldn't like to have a warning inside it!

What can I do?

*Hope my english is understandable*
Title: Re:Get rid of a warning!
Post by: on Sat 25/10/2003 00:07:56
I really don't believe you should do it like that! That is wrong!

There are other ways of simulating a fade-in using script.
I would recommend at least changing the transition setting to INSTANT temporarily before you do.

You can use the flashlight plugin to do da job but AGS has functions like Fadein(X)/Fadeout(X) which you could try.
Title: Re:Get rid of a warning!
Post by: DoorKnobHandle on Sat 25/10/2003 00:13:58
ok,

I use the flashlight plugin. Great tool!


Sorry for my dirty hacks. I kinda love them (seems so...)

thx for your help!
Title: Re:Get rid of a warning!
Post by: a-v-o on Sat 25/10/2003 02:37:25
Just an idea for prolonging the built-in fade-in/out:

Could you set the game speed to a lower value before a NewRoom command and set it back to normal speed in after-fadein?
Title: Re:Get rid of a warning!
Post by: Gilbert on Mon 27/10/2003 02:25:48
I'm not sure, but probably the fade-in speed is not affected by game speed. I may be wrong tho.
Title: Re:Get rid of a warning!
Post by: MrColossal on Mon 27/10/2003 02:57:17
just fade the scene out in "before fade in" and then set a wait in "After fade in" and then after the wait fade the scene back in

should work, i've done it before
Title: Re:Get rid of a warning!
Post by: DoorKnobHandle on Mon 27/10/2003 20:01:08
ok.

thanks, it works now!

say tuned, till my next question comes up...