How do I add audio to my game/project?

Get help using Construct 2

Post » Fri Sep 26, 2014 3:35 am

ok in a earlier topic i found out how to do dragging but now i want to do audio and add it to my game, & play it when dragging finishes.
B
8
S
2
Posts: 134
Reputation: 1,001

Post » Fri Sep 26, 2014 4:40 am

Quick tip: Click "Tutorials" in top bar and search for things your curious about.. there is a ton of material there!

Quick answer, add an audio object to your project (double click on layout and select audio object), import your sound into the game like any other asset (drag-drop, file manage,etc.) and then the audio options will be available in actions.
Ie. Bluecheese on click - play audio bluecheeseclicked

Just make sure to remember events fire 60 times a second, use System [toggle once] in your conditions if the trigger is open ended... as in say press A fires bullet, play bullerfiresound.. you will get 60 plays in a second unless you set the toggle once condition or some other stop action.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Sun Sep 28, 2014 1:47 am

i tried that but it did not let me select the directory i wanted to import my audio with after adding the audio object...
B
8
S
2
Posts: 134
Reputation: 1,001

Post » Sun Sep 28, 2014 3:22 am

I was unable to import my audio together in a folder, I think its because each file has to be converted to the two supported file types and not sure if batch conversion from files can be done some way. I had to drag each file in one at a time and let it convert it to the two supported types.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Sat Oct 04, 2014 3:50 am

please give me more details as to how i can attempt to resolve this, anyone?
B
8
S
2
Posts: 134
Reputation: 1,001


Return to How do I....?

Who is online

Users browsing this forum: David181 and 28 guests