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 physics-graphics syncronization #2

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

fix physics-graphics syncronization #2

wants to merge 1 commit into from

Conversation

moe-assal
Copy link

the drawrect function draws the paddle at x=0 if x<0; this leads to the paddle getting out of the window physically, whereas the graphical window shows it inside the window. so that if you then press the right arrow, you get a delay in paddle movement ( you wait till x > 0). If we don't allow the physical paddle to get out of the window, problem solved!

the `drawrect` function draws the paddle at x=0 if x<0; this leads to the paddle getting out of the window physically, whereas the graphical window shows it inside the window. so that if you then press the right arrow, you get a delay in paddle movement ( you wait till x > 0). If we don't allow the physical paddle to get out of the window, problem solved!
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