|
|
in game music again...
#137767
06/24/07 05:52
06/24/07 05:52
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
OP

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
ok, i placed in game music on each level via scripting, very easy. each level runs the music flawlessly when you run each level. but why does the music from the first level play on all levels when you level change? i understand the first level is the main level thing, and it runs everything rule. but is there a way around it? i considered doing a random music code thing, but when i am on the stealth mission levels, and i need the music a little more subtle, some fast breakbeats might start playing. any suggestions?
|
|
|
Re: in game music again...
[Re: Felixsg]
#137769
06/24/07 12:12
06/24/07 12:12
|
Joined: Mar 2007
Posts: 776 Poor village - Poland ;)
tompo
User
|
User
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
|
can't you just stop this music with function? depends of starting function? like: media_stop(var handle); snd_stop (handle);
or before loading next level use: snd_stopall(mode);
Never say never.
|
|
|
Re: in game music again...
[Re: sPlKe]
#137774
07/02/07 21:47
07/02/07 21:47
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
OP

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
ok, so i put this in each main of every level and add that levels own music. and whjat will happen is, when a new level loads the music will stop from that level and the music from the next level will play?
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
Re: in game music again...
[Re: sPlKe]
#137776
07/03/07 19:17
07/03/07 19:17
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
OP

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
thanks, i dont quite understand, so the way you wrote the code, thats how it should look in the script? one command to start, then one to stop?
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|
|
|
|