Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an intro?
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#5
RE: How to make an intro?

You forgot to use the function to fade the screen to normal again Big Grin
You should change your code to something similar to this:
PHP Code: (Select All)
void OnStart()
{
FadeOut(0);
AddTimer("Opening"5.0f"OpeningIntro");
}

void OpeningIntro(string &in asTimer)
{
AddEffectVoice("record_music.ogg""EffectToPlay""TextCategory""TextEntry"true"TheEntityWhereTheSoundOriginates"110);
AddTimer("EndOpening"x.xf"FadeIn"); //x.x depends on how long your intro is (time till fadein starts)
}
void FadeIn (string &in asTimer) {
FadeIn(x.xf); //x.x is how long it takes to go from black to normal

Hope understand everything i've written. I tried explaining it a bit simple c:

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 11-30-2013, 08:02 PM by RaideX.)
11-30-2013, 08:01 PM
Find


Messages In This Thread
How to make an intro? - by goodcap - 11-29-2013, 12:40 PM
RE: How to make an intro? - by RaideX - 11-29-2013, 01:29 PM
RE: How to make an intro? - by PutraenusAlivius - 11-29-2013, 01:52 PM
RE: How to make an intro? - by goodcap - 11-30-2013, 05:49 PM
RE: How to make an intro? - by RaideX - 11-30-2013, 08:01 PM
RE: How to make an intro? - by goodcap - 12-01-2013, 12:32 AM
RE: How to make an intro? - by RaideX - 12-01-2013, 10:50 AM



Users browsing this thread: 1 Guest(s)