sound switch

For questions about using Classic.

Post » Wed Mar 23, 2011 12:36 pm

how to change sound switch to another sound in the same action
B
5
S
1
G
1
Posts: 19
Reputation: 1,088

Post » Wed Mar 23, 2011 7:11 pm

I'm not sure what you mean. Basically, switching from one sound to another can be done by creating an array with all the names of the sound files and then have a number variable that you change accordingly. When using autoplay, you would then call

-> XAudio2: Autoplay file AppPath & "enter your sound folder here" & YourArray(YourVariable) (No loop)

If this is not what you're looking for, then please explain it with more details :)
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest