Positioned Sounds

For questions about using Classic.

Post » Tue Mar 03, 2009 10:34 am

Is there any kind of control over positioned sounds?

I need to discard positional sound after sprite has been destroyed, but I can't do that using "Autoplay file at object" method. There seems to be "Attach channel to object" method, but I don't understand how it works.

Any way to achieve this using positional audio? Or should I do it manually?
B
2
S
1
G
3
Posts: 75
Reputation: 1,150

Post » Tue Mar 03, 2009 10:42 am

The 'last channel autoplayed on' gives you the channel number assigned to an autoplayed file (positioned or not). You could store that in a sprite to know which channel to stop when its destroyed.
Scirra Founder
B
383
S
225
G
86
Posts: 24,134
Reputation: 190,601

Post » Tue Mar 03, 2009 10:51 am

Ah, thanks. :)
B
2
S
1
G
3
Posts: 75
Reputation: 1,150


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests