Author Topic: Looping Sounds  (Read 1094 times)

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Looping Sounds
« on: July 12, 2020, 01:02:44 PM »
What is the best way to loop sound effects so they play to the end before restarting?
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

TingThing

  • Admin and Developer
  • Level 20: Nobom
  • *
  • Posts: 1395
  • Creator and Developer of Platform Builder
    • View Profile
    • Platform Builder Home
Re: Looping Sounds
« Reply #1 on: July 12, 2020, 01:08:20 PM »

I'd probably just make a looping timeline which goes the length of the sound effect. (You can change the timeline position with a command, so you can have a timeline reset itself and becoming looping.)

Wizard Indie Games

  • Level 7: Tilbub
  • *
  • Posts: 145
    • View Profile
Re: Looping Sounds
« Reply #2 on: July 12, 2020, 04:34:52 PM »
Cool. Thanks. I haven't got my teeth into timelines yet but it looks like now is the right time.
Developer of:

AI Anomaly
Dickie A Cumming
Someone Cloned The President
Freedom! Do or Die
Pension Day
Red Mist: Rivers of Blood

Available on Steam

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Looping Sounds
« Reply #3 on: July 12, 2020, 06:00:01 PM »
Timelines are very useful. ;)