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

Doom: fix blinking of drawing Tower of Babel on intermission screen #1197

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

JNechaevsky
Copy link
Collaborator

This is a very, very minor thing, but once you'll notice, it can't be unseen. Fortunately, the fix is very easy - we have to initialize animation variables (a->ctr = -1;) just once, when we are entering tally screen, and don't touch them when switching to "Entering" screen.

However! This fixes not only Tower of Babel itself, but whole animations on all three episodes. But such breaks in all other animations will be hard to notice since they are small. Probably red sky in E3 background is more or less noticeable.

Easiest way to see tower's blinking is an exit from E2M7, as in this state tower is almost built and it's sprite is tall enough.

Initial suggestion and video example: in JNechaevsky/international-doom#122

Copy link
Owner

@fabiangreffrath fabiangreffrath left a comment

Choose a reason for hiding this comment

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

Seems reasonable, thanks!

@JNechaevsky JNechaevsky merged commit e9efe13 into master Apr 19, 2024
5 checks passed
@JNechaevsky JNechaevsky deleted the tower_blink branch April 19, 2024 18:50
@JNechaevsky
Copy link
Collaborator Author

Thanks for accepting! Should it be fixed in Woof as well? The case and fix is 100% identical there.

@fabiangreffrath
Copy link
Owner

Sure, why not. Would you file a PR?

@JNechaevsky
Copy link
Collaborator Author

Of course, gladly, will do soon.

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.

2 participants