How do I play audio when is background SOLVED

0 favourites
  • 8 posts
From the Asset Store
A set of board games to make your day joyful. Play, Enjoy, Relax
  • How do I play audio when i choose other tab in my browser

    Currently when my game is playing i change tab

    game freezes, music is not playing

    possible?

  • IGDev

    Good luck with that. My game is 99.99% done, and been trying to figure this out for 3 weeks now.

    It has something to do with the game getting suspended i think.

    If you figure this out, please let me know.

  • IGDev

    Yes it's possible.

    Select the audio object in the Properties bar (note the audio object, not the sound file).

    Set Play in background to Yes.

    Should've just pm'ed me jeffige ha

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • soo easy. thanks

  • OMG! Really!? Thanks brother. That only took 3 weeks to figure out.

    Now, maybe I can figure out a pause/stop and resume/play when only the leaderboard or achievement is showing.

  • OMG! Really!? Thanks brother. That only took 3 weeks to figure out.

    Now, maybe I can figure out a pause/stop and resume/play when only the leaderboard or achievement is showing.

    im making game with leaderboards too

    its easy what you trying to make

    if leaderd board is visible set set master volume to -100 db

    ELSE

    set 0db

  • >

    >

    > OMG! Really!? Thanks brother. That only took 3 weeks to figure out.

    >

    > Now, maybe I can figure out a pause/stop and resume/play when only the leaderboard or achievement is showing.

    >

    im making game with leaderboards too

    its easy what you trying to make

    if leaderd board is visible set set master volume to -100 db

    ELSE

    set 0db

    You see...I don't have "if leaderd board is visible"

    Cranberrygame doesn't have anything like that.

  • >

    > >

    > >

    > > OMG! Really!? Thanks brother. That only took 3 weeks to figure out.

    > >

    > > Now, maybe I can figure out a pause/stop and resume/play when only the leaderboard or achievement is showing.

    > >

    >

    > im making game with leaderboards too

    >

    > its easy what you trying to make

    >

    > if leaderd board is visible set set master volume to -100 db

    > ELSE

    > set 0db

    >

    You see...I don't have "if leaderd board is visible"

    Cranberrygame doesn't have anything like that.

    its only example

    you should use own condition

    when player id dead

    or when time is 0

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