Sound Cuts Out

Get help using Construct 2

Post » Thu Apr 30, 2015 8:50 pm

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.
B
4
Posts: 6
Reputation: 212

Post » Thu Apr 30, 2015 10:33 pm

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.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Fri May 01, 2015 12:36 pm

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!
B
4
Posts: 6
Reputation: 212


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests