Page 1 of 1

Playing Sounds: in Draw(), or in Update()?

Posted: Sat Aug 23, 2014 9:47 am
by sphyrth
I never noticed it before. But now, I'm looking for consistency on where to put my_sound:play() method.

Any recommendations out there?

Re: Playing Sounds: in Draw(), or in Update()?

Posted: Sat Aug 23, 2014 11:26 am
by DaedalusYoung
It's not drawing anything, so it should be in update.

Re: Playing Sounds: in Draw(), or in Update()?

Posted: Wed Aug 27, 2014 7:15 pm
by jjmafiae
if it's a song call it from load and then loop it.

Re: Playing Sounds: in Draw(), or in Update()?

Posted: Sun Aug 31, 2014 8:07 pm
by Luke100000
Put it there where you use it, when you need them in the drawing function, you did something wrong :D