directsound

For questions about using Classic.

Post » Sun Aug 31, 2008 2:39 pm

i want to play a sound wav effect but when i add directsound to layout theres nowhere
to put which file you want to play.
B
2
G
4
Posts: 50
Reputation: 1,150

Post » Sun Aug 31, 2008 3:53 pm

Use an external .wav file, and use the Autoplay file action. Or, add the file as a resource, and play it using the Autoplay Resource action.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Sun Aug 31, 2008 3:55 pm

Once you've inserted DirectSound, you have several options to play sound effects.

The simplest is to open up the Resource Bar (tabbed down on the right) and right click Binary Resources. Then add your sound effects. These can be played via the 'Autoplay resource' action under DirectSound.

If you don't want to use resources, play them as external files via the other actions.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sun Aug 31, 2008 4:26 pm

i can't hear anything though
B
2
G
4
Posts: 50
Reputation: 1,150

Post » Sun Aug 31, 2008 4:28 pm

The files have to be PCM WAVs.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Sun Aug 31, 2008 4:30 pm

oops soz something wrong with sound not construct
B
2
G
4
Posts: 50
Reputation: 1,150

Post » Sat Sep 06, 2008 2:21 am

Can I get sounds to play over several frames?
B
134
S
65
G
16
Posts: 1,765
Reputation: 19,188

Post » Sat Sep 06, 2008 10:29 am

You should be able to, but global objects dont seem quite with it at the moment. I'll try have that sorted soon.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests