Wintermute Engine is no longer actively developed.

The original sources are archived on GitHub: wintermute-engine and wmelite. The runtime is now integrated into ScummVM, which runs Wintermute games on current systems.

Pages: [1]

Author Topic: FadeThrough method  (Read 11042 times)

0 Members and 1 Guest are viewing this topic.

Igorrr

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 130
  • Ugh...Ughugh!!!!!!
    • View Profile
    • Struggle For Life And Honour
FadeThrough method
« on: April 28, 2004, 08:36:53 PM »

I don't know for whom it may be of interested. For the Day / Night transition I need to be able to "fade through".
I am fading from day to dusk to night, so I need a way to fade from dusk to night directly without having the day pop up in the middle.
So I wrote this little method:

The parameters are:

ftime = The amount of time you would like the fading process to take in ms.
fro
« Last Edit: April 29, 2004, 07:37:40 PM by Igorrr »
Logged
Pages: [1]