Fadein and Fadeout while changing the background frame

Started by Baro, Sun 02/11/2008 17:49:46

Previous topic - Next topic

Baro

What I want to do is to fade out with background 0, and when the screen fades in again you see background 1.

One of the many codes I tried is:

  FadeOut(1);
  Wait(1);
  SetBackgroundFrame(1);
  Wait(1);
  FadeIn(1);

But sometimes during the fadeout, the background 1 jumps in. I've tried with longer waits and different  function order, but I never get the desired effect. Any idea?

Dualnames

Well, I usually do this and it always works:
FadeOut(1);
  SetBackgroundFrame(1);
  Wait(1);
  FadeIn(1);
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk