Error with OGG files in Node Webkit

Bugs will be moved here once resolved.

Post » Sat Dec 05, 2015 9:30 pm

Problem Description
When i test the game in Node WEbkit the audio didnt load.Im using .OGG files as well.
In the developer tool console,when a audio is supposed to play,this appears:
Using Web Audio API, useOgg = true
Audio_plugin.js:2466 dopplerFactor is deprecated and will be removed in M45 when all doppler effects are removed
preview_prelude.js:57 Using WebGL renderer: ANGLE (AMD Radeon HD 7900 Series Direct3D9Ex vs_3_0 ps_3_0) [Google Inc.]
preview_prelude.js:57 Max texture size: 16384
preview_prelude.js:57 Point size range: 1 to 256
glwrap.js:383 WebGL extensions: Array[19]
glwrap.js:2117 'CanvasRenderingContext2D.webkitImageSmoothingEnabled' is deprecated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' instead.
common_prelude.js:33 [Construct 2] Suspending
common_prelude.js:33 [Construct 2] Resuming
preview_prelude.js:57 Restarting layout
common_prelude.js:33 [Construct 2] Suspending

Attach a Capx
UPDATE:This is a minimal capx with only one sound: mediafire.com/download/209z8wz0oh3602y/rew5tera.capx

Reproduce Bug
  • Import .OGG audio files
  • Use the events "on start of layout"-----"Play (Song Name)"
  • Select Node Webkit for preview
  • Start layout

[b]Observed Result

The audio didnt load

Expected Result
I expected Node Webkit loading the sounds

Affected Browsers
  • Node Webkit:YES

Operating System and Service Pack
Windows 7 Ultimate

Construct 2 Version ID
Construct 2 r216-r218
Last edited by BaronLuke89 on Sat Dec 26, 2015 3:50 pm, edited 15 times in total.
B
13
S
4
Posts: 54
Reputation: 1,509

Post » Sat Dec 05, 2015 9:33 pm

@BaronLuke89

As per the bug reporting requirements: All reports need a .capx and precise steps to recreate. If it involves audio, then providing the original audio files would also be helpful.

Otherwise, expect this to be closed automatically by Ashley.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
126
S
29
G
73
Posts: 5,089
Reputation: 51,998

Post » Mon Dec 07, 2015 12:43 pm

Please,someone help me!!! Cmon!!!
B
13
S
4
Posts: 54
Reputation: 1,509

Post » Mon Dec 07, 2015 1:06 pm

BaronLuke89 wrote:Please,someone help me!!! Cmon!!!


You have provided the full game, which the requirements stipulate you shouldn't do. Fault-finding a full project just isn't viable.

You should produce a very minimum .capx that just highlights the problem you are having, with exact steps to reproduce. That way, the problem can be properly investigated.

Also, per the requirements, it is noted that Ashley can take several weeks to fully investigate an issue, so you will need to have a little patience.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
126
S
29
G
73
Posts: 5,089
Reputation: 51,998

Post » Tue Dec 08, 2015 1:30 pm

I post a minimal capx now.Sorry about the other message,i was stressed because i´m going to miss the deadline.
I know that you´re doing the best,so i will wait.
B
13
S
4
Posts: 54
Reputation: 1,509

Post » Wed Dec 16, 2015 6:05 pm

I can reproduce, but it's very strange: it seems the audio buffer fails to decode only in NW.js, whereas it succeeds in Chrome. I've no idea why that could be. Have you tried r218 and NW.js alpha-7?
Scirra Founder
B
378
S
220
G
84
Posts: 23,868
Reputation: 188,111

Post » Fri Dec 18, 2015 4:14 am

Ashley wrote:I can reproduce, but it's very strange: it seems the audio buffer fails to decode only in NW.js, whereas it succeeds in Chrome. I've no idea why that could be. Have you tried r218 and NW.js alpha-7?


I have tried it and it gets even stranger on my end @Ashley.
Whenever it happens I close the preview window, save my project manually then start up the preview again and it works just fine.

I guess this issue is on NW.js side though and not C2, if you didn't make any changes to the audio plugin recently.
ImageImageImageImage
B
48
S
16
G
71
Posts: 603
Reputation: 40,156

Post » Fri Dec 18, 2015 12:11 pm

@TheRealDannyyy - does it work after export? In the past we've had a couple of weird preview-only quirks due to the preview server...
Scirra Founder
B
378
S
220
G
84
Posts: 23,868
Reputation: 188,111

Post » Sat Dec 19, 2015 8:11 pm

Ashley wrote:@TheRealDannyyy - does it work after export? In the past we've had a couple of weird preview-only quirks due to the preview server...

Well @Ashley, I tested it a few times with exporting. 15 out of 15 exports were fine so I guess it is not NW.js?
However I could've been lucky too and it might break on the 16th time, as I said before if you didn't do any changes to the audio or preview systems recently it has to be NW.js and might be fixed in the later versions.
I'll post a bug report if the later more stable versions of NW.js still have this issue.
ImageImageImageImage
B
48
S
16
G
71
Posts: 603
Reputation: 40,156

Post » Sat Dec 26, 2015 3:35 pm

On export i get a black screen and there´s no sounds.
I dont know what to do,i reinstalled Construct 2 and NW.js and nothing...
I tested with r218 too,and what?,nothing...
B
13
S
4
Posts: 54
Reputation: 1,509

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests