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

Text bar flickers incorrect text while enemy missile anims run #602

Closed
Tracked by #15
NQNStudios opened this issue Feb 14, 2025 · 3 comments · Fixed by #659
Closed
Tracked by #15

Text bar flickers incorrect text while enemy missile anims run #602

NQNStudios opened this issue Feb 14, 2025 · 3 comments · Fixed by #659
Labels
bug game Affects the game, as opposed to the editors

Comments

@NQNStudios
Copy link
Collaborator

NQNStudios commented Feb 14, 2025

While enemy missiles are flying, the text bar flickers between 2 strings, one of which seems correct and the other of which is either slightly different in AP value or references a totally different monster. It's really weird and persists even after some common-sense fixes I tried.

@NQNStudios
Copy link
Collaborator Author

This bug is insane. Extensively debugging hasn't shown me any reason why it should be happening, and I've tried a million things to make it go away.

@CelticMinstrel
Copy link
Member

Could it be caused by call to display() somewhere? I believe calling display() simply swaps the front and back buffers, so if there's a loop calling display() without rerendering the text, it seems like it would make sense for it to flicker between the correct value and a slightly older value.

@NQNStudios
Copy link
Collaborator Author

The front/back buffer thing is the only explanation that makes any sense, but display is only called on text_bar_gworld in one place which looks correct.

NQNStudios added a commit to NQNStudios/cboe that referenced this issue Feb 23, 2025
NQNStudios added a commit to NQNStudios/cboe that referenced this issue Feb 23, 2025
@NQNStudios NQNStudios mentioned this issue Feb 23, 2025
NQNStudios added a commit to NQNStudios/cboe that referenced this issue Feb 23, 2025
NQNStudios added a commit to NQNStudios/cboe that referenced this issue Feb 23, 2025
CelticMinstrel pushed a commit that referenced this issue Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug game Affects the game, as opposed to the editors
Projects
None yet
2 participants