Author Topic: Get rid of a warning!  (Read 288 times)  Share 

Get rid of a warning!
« on: 24 Oct 2003, 22:50 »
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*

delta

  • Guest
Re:Get rid of a warning!
« Reply #1 on: 25 Oct 2003, 00:07 »
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.

Re:Get rid of a warning!
« Reply #2 on: 25 Oct 2003, 00:13 »
ok,

I use the flashlight plugin. Great tool!


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

thx for your help!

a-v-o

  • delphi programmer
    • I can help with proof reading
    •  
Re:Get rid of a warning!
« Reply #3 on: 25 Oct 2003, 02:37 »
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?
« Last Edit: 25 Oct 2003, 02:37 by a-v-o »

Iceboty V7000a

  • Local Moderator
  • * KILL* * KILL * * KILL *
    • Lifetime Achievement Award Winner
    •  
Re:Get rid of a warning!
« Reply #4 on: 27 Oct 2003, 02:25 »
I'm not sure, but probably the fade-in speed is not affected by game speed. I may be wrong tho.

MrColossal

  • Time Traveler
  • Mittens Baronet
  • "Adventure games are dead." -Nietzsche
    • Lifetime Achievement Award Winner
    •  
  • MrColossal worked on a game that was nominated for an AGS Award!MrColossal worked on a game that won an AGS Award!
Re:Get rid of a warning!
« Reply #5 on: 27 Oct 2003, 02:57 »
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
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Re:Get rid of a warning!
« Reply #6 on: 27 Oct 2003, 20:01 »
ok.

thanks, it works now!

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