getting music on a loop

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
worldaway
Prole
Posts: 44
Joined: Thu Sep 08, 2011 2:22 am

getting music on a loop

Post by worldaway »

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.
SudoCode
Citizen
Posts: 61
Joined: Fri May 04, 2012 7:05 pm

Re: getting music on a loop

Post by SudoCode »

worldaway
Prole
Posts: 44
Joined: Thu Sep 08, 2011 2:22 am

Re: getting music on a loop

Post by worldaway »

Thanks! You just saved me a bunch of code!
Post Reply

Who is online

Users browsing this forum: No registered users and 216 guests