What could be the problem? When testing on a computer, everything works.

0 favourites
  • 5 posts
From the Asset Store
The ultimate voice pack filled with 1,536 files of .......wav and mp3 of individual numbers, letters, and words (that go
  • I will describe the problem in 2 words, maybe it came across.

    On the computer, when the test is working, I click on the button, switch to another layout and the sound is turned off, I return to the previous layout and the sound does not play - so it should be.

    When I import to iPhone via XCode, when I press the button and switch to another layout, the sound is turned off, but when I return it continues to play.

    So it’s not as long as I’ve forcibly set the mute off.

    The code works as it should, and in the test everything is fine. What is the problem exactly on the iPhone.

    And the sound ignores the variable - that is, it cannot play if the variable is equal to 1.

    When testing for iPhone, the variable does not change, the sound plays, when the variable 0, the sound plays and then it turns out that it is reset

  • You're aware that Ios restrictions calls for a physical user input before sound can be played?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're aware that Ios restrictions calls for a physical user input before sound can be played?

    No, you can tell more about what you mean?

  • Music or sounds have to be initiated with a user interface. Like click here to start game, or a button that says play music.

  • Music or sounds have to be initiated with a user interface. Like click here to start game, or a button that says play music.

    Yes, that's the problem. That when I press the button, the system should stop ALL the music and switch to another layout. So it happens. But when I return to the layout with the level and any music plays.

    And only one particular melody.

    Moreover, it can neither play, it’s just how, since everything starts off at the start of the layout. And everything works on the computer. It does not work on the iPhone. I guess maybe some kind of bug when building.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)