Game Development Community

Music Fades

by Barry Gallagher · in Technical Issues · 02/27/2006 (2:27 am) · 2 replies

I want to have 3 tracks in my game level and have them crossfaded between at different points in the level.
The level has 3 distinct stages and i want the music change to be event driven.. so it's say triggered by the user ingame..say when he gets to the last checkpoint on a race level?...

can i do this with stock Tge or some resource? ...i was eyeing up vmplayer but it only seems to have the music trigger events ingame, rather then ingame events triggering the music change...

so thats 3 tracks with crossfading

help?

#1
02/27/2006 (4:32 am)
Check THIS OUT


combine it with triggers and you should be set
#2
02/28/2006 (12:47 am)
So vmplayer should do the job?

something along the lines of

if(trigger hit)(goto next track)
else
(play track as normal)

excuse the pseudo code...