Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looping a sound til player exit level
ExpectedIdentifier Offline
Member

Posts: 234
Threads: 10
Joined: Sep 2012
Reputation: 11
#5
RE: Looping a sound til player exit level

(07-19-2013, 08:45 PM)The chaser Wrote: I can't really say it surely, as I'm in my vacations in a computer without amnesia.

It wasn't to do with that, one of the functions was a timer and one was a collide callback, you can have different function types using the same name and it will be fine (although it's not a good idea because it could get confusing!) Smile

(07-19-2013, 08:46 PM)Hauken Wrote: @Sonata-
Yeah you nailed it, it works. Smile

As I said I never worked with loops before so I thought it had to be this complex, the looping tutorial at the wiki should be updated with this.

Thanks man.

@The Chaser
I'll try this code for fun as well and see if that works too.

You're welcome!

Closure ModDB page:

[Image: 16LO8Sx]
(This post was last modified: 07-19-2013, 08:50 PM by ExpectedIdentifier.)
07-19-2013, 08:49 PM
Find


Messages In This Thread
Looping a sound til player exit level - by Hauken - 07-19-2013, 07:59 PM
RE: Looping a sound til player exit level - by ExpectedIdentifier - 07-19-2013, 08:49 PM



Users browsing this thread: 1 Guest(s)