ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.44k stars 800 forks source link

Escaping the Prison: sound effects play on loop instead of just once #8067

Open n0samu opened 1 year ago

n0samu commented 1 year ago

Describe the bug

When choosing Drill and then Crowbar in Escaping the Prison, the sound that plays for the arrows in the run scene won't stop playing and accumulate as you try more and more again. Keeping the browser console open reports no error during this part of the game. Originally reported by @bottle2 in #2185.

Expected behavior

Each sound effect should only play once.

Affected platform

Self-hosted version

Operating system

Windows 10

Browser

Firefox 105

Additional information

No response

LukeSaward1 commented 1 year ago

Can confirm this also happens on the swf linked in the speedrun.com resources of EtP. Not sure why it happens, could be the game just doesn't stop the music nor SFX when you fail here.

mero09-99 commented 1 year ago

happened to me too

n0samu commented 1 year ago

We have a similar report from @Infinity48Games:

Escaping the Prison: Overlapping music when failing on badass route. In the chase segment after choosing "Drill" at the beginning, after you lose the music continues and starts overlapping with other instances of itself after you retry.

n0samu commented 1 year ago

This is a regression - I've bisected it to commit 1f96af6b6408384e21688235d7401491d588a146 from #4452.

waspennator commented 1 month ago

Regression still seems to be present as of latest nightly it seems.