Checking sounds

Talk about making games.

Checking sounds

Postby Murd-Machine[_] » Tue Nov 29, 2005 8:36 pm

Hello everyone!
I have a question: is it possible to check if sound is playing at the moment.
I have an actor that causes sond when colliding player. It sounds like crap! :( But if it sounds when other sound isn't playing it would be excelent.
Give me the answer please!
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Postby makslane » Wed Nov 30, 2005 1:10 am

You can only stop the sound channel, but can't check.
Try increase the maximum number of simultaneous sounds in the Game Properties panel.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Murd-Machine[_] » Wed Nov 30, 2005 2:46 pm

Oh! That's bad...
Can you give me other advice? I need to hear full sound until it ends before I play new one... How to separate them? Using variables or how?
I've got stuck here... :(
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Postby makslane » Wed Nov 30, 2005 3:31 pm

You can use a timer with the same sound duration
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest