Playing sounds on collision.

For questions about using Classic.

Post » Thu Aug 05, 2010 1:31 pm

I wrote in the event editor, that when it collides with a certain object, it plays a certain sound. My problem is that it only plays the sound Once. Is there a way to have it play every time I come in contact with the object?

Heres a picture of the events.

B
26
S
7
G
5
Posts: 202
Reputation: 5,235

Post » Thu Aug 05, 2010 1:54 pm

Use XAudio2: Set channel 2 position to 0 seconds directly before you play the channel.

Krush
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Aug 05, 2010 4:12 pm

[quote="KrushBrother":3wo8r1io]Use XAudio2: Set channel 2 position to 0 seconds directly before you play the channel.

Krush[/quote:3wo8r1io]

Oh, thanks :)
B
26
S
7
G
5
Posts: 202
Reputation: 5,235


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest