Audio Play At Bug

Bugs will be moved here once resolved.

Post » Wed Aug 03, 2016 3:10 pm

Problem Description
Game freezes for a second when Play At Object action is made for the first time AND when running game for the first time (doesn't happen after refreshing page).

Attach a Capx
https://1drv.ms/u/s!AhHSZHEulqh_gWoZ4BKI4w1QmnIk

Description of Capx
plays audio 3 seconds after the start of the layout.

Steps to Reproduce Bug
  • run layout
  • watch sprite moving and how it will freeze when audio plays

Observed Result
game freezes when audio plays

Expected Result
not freeze

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES/NO)

Operating System and Service Pack
vista sp2

Construct 2 Version ID
r227 (also checked with r232)
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Thu Aug 04, 2016 2:01 am

Just to add some information, this appears to be caused by line 2990 in the audio/runtime.js file.
Code: Select all
context["listener"]["setPosition"](this.listenerTracker.obj.x, this.listenerTracker.obj.y, this.listenerZ);


Not sure why it affects the object's movement though.
B
48
S
13
Posts: 111
Reputation: 3,859

Post » Mon Aug 08, 2016 11:10 am

Sounds like this Chrome bug which was previously discussed here.

Closing as this is a Chrome issue. Also it looks like as per the last comment in the Chrome bug they've already done something about this, and I verified the jank is much smaller in Canary. It probably won't be entirely eliminated though - the reason for the jank is the browser lazy-loading the positioned audio playback engine the first time you use it.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,238


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests