Infinite loop

Step 6: Main Loop

Setting up a Main Loop

You may have noticed that the penguins fly off into the distance after a while.

Looping Audio

As it is now you can loop audio.. sortof.  By making a function and placing a timer set to the same length as the audio clip you can get it to loop in about 5 seconds give or take from when you want it to.  It would be nice to have a loop option for audio clips, something like: sound:setLoop(true) or something would be very useful for background music loops.