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
Black screen with Text as Intro
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: Black screen with Text as Intro

Use FadeOut(0,001f); so the screen will fade out so fast, the player won't notice it. Then use FadeIn(2); to let it fade in again.
For the music: PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
PlayMusic("The name of the music file", (if it should loop, true or false), (The volume of the music, usually 1), (Time until the music hits full volume), (priority, usually 1), (if it should continue after a StopMusic(); is used. if false, the track will be restarted));
You can find music in the amnesia redist or /program files/steam/steamapps/common/amnesia TDD/music (steam) folder.
Good luck!

Edit: for more help with commands: use this
(This post was last modified: 02-26-2013, 07:45 AM by OriginalUsername.)
02-26-2013, 07:43 AM
Find


Messages In This Thread
Black screen with Text as Intro - by User01 - 02-26-2013, 01:10 AM
RE: Black screen with Text as Intro - by OriginalUsername - 02-26-2013, 07:43 AM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 11:26 AM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 11:43 AM
RE: Black screen with Text as Intro - by User01 - 02-26-2013, 07:17 PM
RE: Black screen with Text as Intro - by NaxEla - 02-27-2013, 07:24 AM



Users browsing this thread: 1 Guest(s)