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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intro?
Author Message
Jumpman Offline
Junior Member

Posts: 31
Joined: May 2011
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Khyrpa Offline
Senior Member

Posts: 638
Joined: Apr 2011
Reputation: 24
Post: #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 all posts by this user Quote this message in a reply
Jumpman Offline
Junior Member

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

Thank you so much! Smile
05-17-2011 04:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)