Audio Source GC

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
zorg
Party member
Posts: 3444
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Audio Source GC

Post by zorg »

windowlicker wrote: Fri Jan 05, 2024 2:51 pm
zorg wrote: Thu Jan 04, 2024 7:42 pm
You can also call :clone on Sources, which can be useful if you want your sound effects, if called faster than they would have ended, to not get cut off by you just restarting one of each... although bookkeeping might turn a bit more complicated.
Thanks, clone sounds like it might be what I want/need. For those cloned sources, do you still need to call :release on each one?
Only if you keep around the references and don't want to re-use them; you should keep them around and re-use them though. :3
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: No registered users and 52 guests