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

Add variable to toggle skipping dot text #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thearst3rd
Copy link
Member

Adds a variable which toggles the dot screen loading skip. Closes #7

By hooking ChangeLevel and intercepting PlayerManager.Action, this PR also prevents the game from entering the dot loading screen at all (when the variable is true), rather than showing it for one frame when taking little or big warp gates. It subsequently fixes a bug where taking a little or big warp gate would cause the ambient noise of that dot loading screen to be present until the game is closed - apparently that sound doesn't get turned off by setting GameManager.DotLoading to false.

@thearst3rd
Copy link
Member Author

I believe this PR still has a bug involving taking little/big warp gates, the music that was previously playing can persist after loading the next level. Or maybe it's when combined with warp/load commands. Not sure, will look into it sometime later

@Jenna1337
Copy link
Member

I think background songs can't fade out and unload themselves until they finish fading in (which typically takes a few seconds), meaning if the song changes before the song completely fades in, it will get stuck playing.

@thearst3rd
Copy link
Member Author

Oh yeah forgor to update here. Basically what Jenna said, I don't think this PR is the cause of that music bug since I did some testing and got it to happen with just warps/loads as I suspected. It having to do with fade in makes sense to me

@Jenna1337 Jenna1337 requested a review from Krzyhau March 17, 2024 00:29
Copy link
Member

@Jenna1337 Jenna1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @Krzyhau mentioned something about that, but I cannot recall what he said, so I requested he review this pull request.

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.

Request: Toggle fake dot loading skip
2 participants