deathkiller / jazz2

🎮 · Jazz² Resurrection: Open-source reimplementation of Jazz Jackrabbit 2
https://deat.tk/jazz2/
GNU General Public License v3.0
495 stars 18 forks source link

No music after level palette changes #109

Closed SissiHermanni closed 1 year ago

SissiHermanni commented 2 years ago

Music stops always working when level changes after defeating boss. Workaround is to exit to menu and reload level.

Game: Jazz2 Secret Files (didn't test Christmas Chronicles) Versio: 1.1.0

SissiHermanni commented 2 years ago

It seems, that bug doesn't occur because of bosses, but because of level palette changes.

In first episode there is always boss fight before level palette changes, but in second episode that's not the case anymore, but bug still occurs.

I also noticed that soundtrack plays same music track per level palette, so maybe the problem is that the game is unable to change music track when palette changes?

deathkiller commented 2 years ago

Level palette is changed every level, it must be something different. I will have to revise audio system.

SissiHermanni commented 1 year ago

Yeah, you are right. It seems somewhat random, but consistent.

deathkiller commented 1 year ago

It should be fixed now. You can download the latest build in GitHub Actions and test it.

SissiHermanni commented 1 year ago

After completing multiple levels, music changed to new songs as expected and this also happened even after boss fight, but now immortality mode music track brakes the system what it didn't do before.

The game didn't change music successfully after immortality track stopped playing. It only makes a small pop sound and then remains silent. Completing level fixes this.

deathkiller commented 1 year ago

This should be fixed now too, sorry. You can download the latest build in GitHub Actions and test it.

SissiHermanni commented 1 year ago

No problem. Yeah, now it works fine!