Skip to content

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