[r115] Ogg Music not Restarting

Bugs will be moved here once resolved.

Post » Fri Jan 11, 2013 8:38 pm

I have two ogg music files, two layouts.

In the start of each layout, I start the music looping.
I give it a name of "bgmusic". I assign that name to BOTH music files.

On the end of layout I Stop "bgmusic"

When I move to another layout the new music never starts. Only the first one plays.

Tested in latest Chrome.

CAPX Here (click green square to move to next layout)

What is wrong with my assumption here? Is this expected? I would figure that when I move to the next layout the music should top the previous and play. firebelly2013-01-11 20:38:55
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sat Jan 12, 2013 9:19 pm

The issue seems to be specific to Chrome.
It works as intended in the latest FF version.

It may be an issue with some registration on the "end of layout" or with the audio plugin itself.
The console in chrome doesn't seem to raise error when this happens.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Tue Jan 15, 2013 3:44 pm

I have no idea what's going on here - looks like some kind of Chrome bug. If I break it in the debugger so it pauses before playing, it plays correctly... but not if I insert 'Wait' actions. Not sure what to do about this.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Tue Jan 15, 2013 11:05 pm

Glad we switched to Webkit based exports :)

How do you guys debug these things normally? I am interested in your process.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests