Stopping one music track, starting another
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 48
- Joined: Sun Feb 01, 2009 3:32 am
Stopping one music track, starting another
Is there any way to do this in 0.5.0? In my load() I've got love.audio.play(overWorldTheme,0), and I'd like to change the music when the player enters different rooms. How would you accomplish this?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Stopping one music track, starting another
love.audio.stop()
-
- Prole
- Posts: 48
- Joined: Sun Feb 01, 2009 3:32 am
Re: Stopping one music track, starting another
I was under the impression that love.audio.stop stopped ALL audio playback. There are sound effects to be considered. IS there no other good way?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Stopping one music track, starting another
Not in 0.5.0, but shouldn't all sounds stop anyway when you switch room?
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Stopping one music track, starting another
There is a much better sound interface in 0.6
http://love2d.org/potato/love_audio_stop_2.html
http://love2d.org/potato/love_audio_stop_2.html
Who is online
Users browsing this forum: Bing [Bot] and 2 guests