Audio is not playing

Get help using Construct 2

Post » Mon Feb 10, 2014 10:45 am

@C-7
This is the capx.: https://dl.dropboxusercontent.com/u/260388836/My/Harrypotter.capx
Sorry it's 30mb.That's because of the audio

And this is the original mp3 file from where I downloaded the music,if you want.
http://incompetech.com/music/royalty-free/index.html?keywords=moonlight+hall
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Mon Feb 10, 2014 11:42 am

I don't understand why it't like this:
Chrome
-Audio absent
-Full screen probability
Firefox
-Audio present
-Not full screen
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Mon Feb 10, 2014 2:17 pm

Hey @C-7
are you there?
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Tue Feb 11, 2014 9:13 am

@C-7
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Tue Feb 11, 2014 2:05 pm

I see you're there, you'll have to wait until I get another chance to troubleshoot for yu.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Fri Feb 21, 2014 10:44 am

Hi have a ogg file which is located at server location.
In my construct project i use ajax . xml to get the URL of that audio file .
Now i want to play this audio in audio object.
Can you please help me. what is way to play sound in this condition.
B
3
Posts: 4
Reputation: 184

Post » Fri Feb 21, 2014 12:22 pm

I use OGG format, and the software I use is Audacity. I have ZERO problems playing the sounds or music in ANY browser (I don't count IE since it's not so much a browser as it is a dodge ball cannon).
B
25
S
6
G
6
Posts: 265
Reputation: 3,696

Post » Fri Feb 21, 2014 4:04 pm

I had this problem, I fixed it by forcing the game to pre-load the music and then made my own pre-load screen. If you wish i can tomorrow when I get home post how i did this. It fixed the problem of music not seaming to play but really would 30 seconds latter.

Also May i suggest all music in wav format, The reason is construct 2 seam's to auto split files into OGG when you do and MP3, this way it can detect what your playing the game on and auto play the music. It does add to the size of the game but it fix's it down the road.

https://www.scirra.com/tutorials/318/ho ... ng-screens
B
14
S
4
G
1
Posts: 61
Reputation: 1,459

Post » Fri Feb 21, 2014 5:38 pm

Honestly not putting in a bit of extra effort to get all 3 major browsers working is automatically dropping a huge portion of your potential audience. IE may not be your favorite, but by eliminating it you lose a large portion of web gamers.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Previous

Return to How do I....?

Who is online

Users browsing this forum: tdcostas and 5 guests