Goto Layout not working after Wait on Android?

  • Hi! I built a game and compiled it with CocoonJS and installed the debug/signed .apk on my android device. But when I click on a button which has the following actions, the GoTo is not fired:

    On Touch

    > Play Sound

    > Wait 2 sec (so the sound can be heared, first time works without wait on pc but second time on the layout the sound was cut off)

    > GoTo Layout (GAME)

    But it does not switch to the other layout. Is this a bug?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a Function involved?

    Are you using Goto layout by name?

    I find that wait(x) will remove any values passed by a function.

  • Hi. I used a function and "Go To Layout" (not by name).

    <img src="http://img5.fotos-hochladen.net/uploads/selectdiff0axrs8d9iw.jpg" border="0" />

    When I hit one of the three difficulties I hear the sound but the layout is not changed on Android. It works fine on iOS and PC. :(

  • I disabled the Wait and exported it to compile a new version via CocoonJS and it's still broken. I hear the sound but it does not switch to the GAME Layout. <img src="smileys/smiley5.gif" border="0" align="middle" />

    This time I added a few .js files from clay.io because achievements and highscores did not show up. But its still not working on the android tablet.

    /Update: I also noticed that no background sound is played on Android (.apk and html version). It starts but then it gets muted.

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