Problem Description
On IOS 8.1.3 and 8.1.4 on an iPad AIR, iPad Mini, and iPhone 6+ when playing a construct 2 created project, triggering sound effects that were converted from PCM16 Wav files using the construct interface; these audio files will play all at once when you open a new browser tab, switch to that tab, then switch back to the construct 2 game.
I have confirmed that this does not happen in already created games like space shooter. It only happens when you import a new audio file..to my knowledge since r206.
This may be related to: https://www.scirra.com/forum/audio-quot-on-ended-quot-isn-t-triggered-in-ios_t153068
Attach a Capx
https://dl.dropboxusercontent.com/u/45751290/construct2Bugs/Construct2_IOSAudioProblem_8_31_2015.zip
Description of Capx
This is a zip archive containing the "Autorunner" sample modified to import 2 sounds and play sounds when jumping and hitting the blue box to trigger a coin effect. This archive also contains a folder "originalAudioFiles" that contains the original .wav files before being imported into construct2.
Steps to Reproduce Bug
- Open the project, and publish it to a location that will allow you to test it from an ios device.
- Play the autorunner and generate some sound by jumping.
- Open a new tab.
- Navigate back to the tab with autorunner. It should intermittently play a large group of sound effects all at once.
Observed Result
Will play several past sound effects all at once when switching tabs.
Expected Result
Previous sound effects should not play at all when switching between tabs.
Affected Browsers
- Chrome: (NO)
- FireFox: (NO)
- Internet Explorer: (NO)
- Safari on IOS: (YES)
Operating System and Service Pack
IOS 8.1.3 and 8.1.4
Construct 2 Version ID
R212.2 64bit and R206