Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DialogueBox's music causing huge song skip (lmao???) #14651

Merged

Conversation

richTrash21
Copy link

@richTrash21 richTrash21 commented May 12, 2024

This also includes DialogueBoxPsych, since they share the same problem - not stopping music from playing after it fades out.

EDIT: forgot to actually explain what the problem is like.

So basically because both dialogue boxes use FlxG.sound.music as background track instance that makes that on one frame right after countdown ends game tries to sync Conductor.songPosition with current music time (aka dialogue music) and may skips pretty lengthy part of the chart and then sync back to the real music on the next frame. This appeared after the resync-vocals-rework branch got merged into experimental and may lead to either instantly dying or this part that was skipped being absent after game actually syncs song position with music time.

@richTrash21
Copy link
Author

this is the most random bug i've encountered here

@richTrash21
Copy link
Author

added proper explanation of this bug (i think)

@ShadowMario
Copy link
Owner

This might've been an issue because of the vocals resync changes, thank you very much

@ShadowMario ShadowMario merged commit 223a6e2 into ShadowMario:experimental May 16, 2024
0 of 3 checks passed
@richTrash21 richTrash21 deleted the experimental-dialogue-fix branch May 17, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants