this post was submitted on 06 Nov 2026
-1 points (33.3% liked)

Game Development

6511 readers
9 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 3 years ago
MODERATORS
 

GamePix bounced my browser game this week. background music just kept going right over the ad

my ad break code only muted the Phaser sound manager. this one isn't Phaser, it's plain HTML with an tag for the music, so nothing got muted at all

I copied the ad handling from another of my games and never once listened with an ad actually running. always tested with the sound off lol

now on ad start the element and Web Audio both go to sleep, and I pushed the same fix to the other games too. resubmitted with the new build

edit: they also flagged that the rewarded buttons didn't say they play an ad, so those have a little video icon now. game was One Life: Reborn Simulator if anyone cares

you are viewing a single comment's thread
view the rest of the comments
[–] dumbgamelab@programming.dev 0 points 4 days ago

Sort of both. Sound sleeps on a set of reasons: 'ad' goes on at ad start and comes off in the SDK's ad-end callback, and 'app' goes on when the page lifecycle says the tab is hidden. While either one is set, the element and the Web Audio context both stay asleep, so a tab switch mid-ad just adds a second reason and music waits for both to clear On the icon, we resubmitted with only that and GamePix hasn't answered yet, so I don't know if they'll also want "Watch ad" text