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

Pong 3 Paddles not moving #72

Open
RoopSai-PavanTej opened this issue May 28, 2021 · 1 comment
Open

Pong 3 Paddles not moving #72

RoopSai-PavanTej opened this issue May 28, 2021 · 1 comment

Comments

@RoopSai-PavanTej
Copy link

I tried but paddles are not moving

@karimfayed
Copy link

I was having the same problem until I found out that I forgot to change the Y variable in the function love.graphics.rectangle()
so make sure it's love.graphics.rectangle('fill',10,paddle1Y,5,20) instead of love.graphics.rectangle('fill',10,30,5,20)
NOTE: paddle1Y is the variable that changes dynamically when movement key is down

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

No branches or pull requests

2 participants