I've got a game, and music for it, but I cant find an efficient way to get it on a loop. I could set up a timer for the duration of the song, and when it reaches 0 play the song again, but that's a lot of code, and I thought that there might be an easier way with less code. Anyone know of anything?
Thanks.
getting music on a loop
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: getting music on a loop
Thanks! You just saved me a bunch of code!SudoCode wrote:https://love2d.org/wiki/Source:setLooping
Who is online
Users browsing this forum: No registered users and 216 guests