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
G
3
Posts: 75
Reputation: 1,000

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Mar 03, 2009 10:51 am

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


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests