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

Flappybird Pitch Animation #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dreac0nic
Copy link

@dreac0nic dreac0nic commented Jan 19, 2022

This should be a simple patch to apply very basic animation to the flappybird pitch while playing. This is completely aesthetic and has no bearing on the performance or function of the game itself.

There is an additional correct that centers the sprite properly. I'm relatively new to pygame, so I it's possible I'm incorrect in this, but from what I could tell the sprite was being drawn offset from its actual position in the game.

This fixes the image being off-center, technically, as we are setting
the position of its center, thus we should draw from the whole rect.
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.

1 participant