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
Level Editor Help Background music?
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#5
RE: Background music?

My best help:


PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);

asMusicFile - the music to play + extension .ogg (MUST BE IN QUOTES)


abLoop - determines whether a music track should loop (True - Yes, False - No)


afVolume - volume of the music (No idea, I usually set mine to 100)


afFadeTime - time in seconds until music reaches full volume (Lower number, faster fade in)


alPrio - priority of the music. only the music with the highest priority can be heard! 0 - highest, 1 - lower, etc




Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 04-06-2012, 04:23 AM by JetlinerX.)
04-06-2012, 04:22 AM
Website Find


Messages In This Thread
Background music? - by kiruclanz - 04-06-2012, 02:16 AM
RE: Background music? - by Strembitsky - 04-06-2012, 02:19 AM
RE: Background music? - by kiruclanz - 04-06-2012, 02:29 AM
RE: Background music? - by Your Computer - 04-06-2012, 02:30 AM
RE: Background music? - by JetlinerX - 04-06-2012, 04:22 AM
RE: Background music? - by jessehmusic - 04-06-2012, 03:52 PM



Users browsing this thread: 1 Guest(s)