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
Intro?
Jumpman Offline
Junior Member

Posts: 31
Threads: 10
Joined: May 2011
Reputation: 0
#1
Intro?

Short question... How to I make an intro for my story?

I want a blackscreen with text that comes up (like a bla bla bla story...(fade) it's called bla bla bla (fade) and so on)... And I also want music to play then..

And when the blackscreen is done it will fade to my first start map, and I want the music to fade...

Thx.
05-17-2011, 03:59 PM
Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#2
RE: Intro?

put these in OnStart function:
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
FadeOut(0);
Then use timers to trigger these:
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
And to stop the music use this:
StopMusic(float afFadeTime, int alPrio);
(This post was last modified: 05-17-2011, 04:02 PM by Khyrpa.)
05-17-2011, 04:01 PM
Find
Jumpman Offline
Junior Member

Posts: 31
Threads: 10
Joined: May 2011
Reputation: 0
#3
RE: Intro?

Thank you so much! Smile
05-17-2011, 04:04 PM
Find




Users browsing this thread: 2 Guest(s)