TimReynaert's Recent Forum Activity

  • To come back on this, nothing has changed so far.

    Audio is still distorted after playing a video, caused by the sample rate change from 41kHz to 48kHz.

    Even in the latest iOS version.

    Is there really no solution for this? I have a really big project and this audio issue is blocking everything in this final stage, hundreds of development hours have been spent and our client will not accept as the sound in the game is crucial for them. I pay for construct and I think some support should be provided.

  • Problem Description

    Audio fails after the iphone video player was activated.

    Audio works but once the iphone video player played a video, all audio played after doesn't play, somehow it stacks up and when it feels like it, it releases all the audio at once.

    First I thought it was related to the issue posted here: notice-ios-9-breaks-all-audio-playback_t161387 and the bug logged here: https://bugs.webkit.org/show_bug.cgi?id=154538 .

    Since these are both logged as resolved I've decided to post this bug report.

    Attach a Capx

    https://www.dropbox.com/s/fisvgsqdlhvgewc/iosvideoaudio.capx?dl=1

    Description of Capx

    Loads a layout containing a tv screen that plays a video and a green sprite (button) that plays an audio file.

    Steps to Reproduce Bug

    • Step 1: Run the project on iphone safari (online version: https://kyf.staging.vision.be/assets/content/test2/)
    • Step 2: Tap the green button -> the audio plays (click it some more)
    • Step 3: Tap the tv screen -> a video starts playing (fullscreen default iphone behaviour)
    • Step 4: Close the video and tap the green button again => no more audio

    Observed Result

    No more audio when returning from video player

    Expected Result

    Audio should work

    Affected Browsers

    • Chrome: YES on iOS
    • Safari: YES on iOS

    Operating System and Service Pack

    iOS version 9.3.1 (also on 9.2.1 only versions tested)

    Construct 2 Version ID

    Release 227 (32 bit)

    Kind regards

  • That's indeed another option.

    Thanks

    totaly agree on your signature text btw

  • Nvm, found the solution, leaving it here in case anyone needs the same

    System test regex

    String: str(level)

    regex: "6|8"

    returns true if level is 6 or 8

  • Hi

    Is it possible to check if a variable is one of two values? For instance

    Compare variable 'level' is in(1,2)

    So this would return true of the value of 'level' is 1 or 2 and false for every other value.

    I know this is possible via other ways but those ways would make me have to duplicate a lot of code - so I'm looking for a simple solution.

    Kind regards

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi

    I have a plain C2 layout page with a simple button. When the button is clicked I want an Adobe Captivate (html5) module to open (which can for example just be a folder containing an index file in the Files area of my C2 project).

    Any thoughts on how to do this?

TimReynaert's avatar

TimReynaert

Member since 1 Jul, 2015

None one is following TimReynaert yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies