0 Favourites

Sound Cuts Out

  • Version 3.0 of our platformer project has an unfortunate bug, or it could be a general error with Construct 2.

    Throughout my HTML5 game (and at random times), my music suddenly stops and if I leave the tab and re-click on it, the music comes back in.

    There is no static, the game's sound just cuts out. (And yes, I'm using Google Chrome).

    I added these functions to my Version 3.0 platformer:

    Loaded a web-font upon the start of each layout and used the "dummy text" instance for 3 seconds before it's destroyed.

    Added 2 new arrays and saved their values as cookies, in addition to the 1 level array I already had.

    Not sure if it's a bug with Construct 2, my game or my browser.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • for background music I usually write the following condition and make it a sub event of on start of layout

    Audio 》(x) Tag "Theme" is playing 》Audio 》 Play "Theme" looping

    (X) Being inverted

    this way anytime the music is not playing, the game starts in music it back up again.

  • I'll give it a shot, I think I'm going to go back and re-write my sound conditions in a separate event sheet and see how that works.

    I'll let you know how it turns out!

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