Source:Stop()Taehl wrote:the second pluck doesn't get ignored - it starts the sound again (which would be a much better behavior for love.audio.play, failing a more complete solution)).
Source:Play()
Source:Stop()Taehl wrote:the second pluck doesn't get ignored - it starts the sound again (which would be a much better behavior for love.audio.play, failing a more complete solution)).
I rarely do anything with sounds in LÖVE, but when I do, I have no problems with it. (Except when trying to generate music, but that's a whole different kind of problem.)Taehl wrote:It's not just hard for /me/ to use, as is evidenced by people making help threads about it almost weekly.
I think a better behavior would be if Source:Play() stops playing the sound if it's still playing. It's easier to figure out what's going on if your sound stops in the middle to being playing again than the sound not playing at all.TechnoCat wrote:Source:Stop()
Source:Play()
That would require this to get it to not play over itself then.leiradel wrote:I think a better behavior would be if Source:Play() stops playing the sound if it's still playing. It's easier to figure out what's going on if your sound stops in the middle to being playing again than the sound not playing at all.TechnoCat wrote:Source:Stop()
Source:Play()
Code: Select all
if not Source:isPlaying() then
Source:Play()
end
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests