2 registered members (TipmyPip, AndrewAMD),
14,136
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Background Music For Level
[Re: jmasterx]
#188755
03/16/08 13:16
03/16/08 13:16
|
Joined: Dec 2006
Posts: 1,086 Queensland - Australia
Nidhogg
Serious User
|
Serious User
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
|
Wrong forum to ask this type of question.
Windows XP SP3 Intel Dual Core CPU: E5200 @ 2.5GHz 4.00GB DDR3 Ram ASUS P5G41T-M LX PCIE x16 GeForce GTS 450 1Gb SB Audigy 4 Spyware Doctor with AntiVirus
|
|
|
Re: Background Music For Level
[Re: jmasterx]
#188757
03/16/08 16:08
03/16/08 16:08
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Try this: Put this in your script before loading the levels: Code:
SOUND* Level01Snd = "Level1.mp3"; SOUND* Level02Snd = "Level2.mp3";
And change your Level load function to this: Code:
//Level 1 level_load("Level01.wmb"); snd_loop(Level01Snd, 100, 0);
//Level 2 level_load("Level02.wmb"); snd_loop(Level02Snd, 100, 0);
and so on
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Background Music For Level
[Re: jmasterx]
#188759
03/16/08 20:09
03/16/08 20:09
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Yes, that code snippet was for Lite-C (.c files) and not for C-Script (.wdl files).
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|