[SDL] SDL_mixer question on music change
Kostas Kostiadis
kos at climaxgroup.com
Mon Jan 8 04:52:18 PST 2007
Hello all,
I'm wondering what the best way is to implement the following:
Say you're walking around in an enviroment, and you're listening to your
nice background music playing along.
Suddenly, you either wonder to a dangerous area, or bad guys spawn, or
something equaly terrible happens.
You want to blend from your nice background music, to a tune that is
slightly more up beat.
With multiple music channels it just becomes a case of fade your nice tune
out, while at the same time you fade in your up beat tune.
With SDL_mixer (i.e. 1 music channel), what's the best way to do implement
this?
cheers,
k.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070108/8d4a2487/attachment.htm
More information about the SDL
mailing list