noob help
in
Programming Questions
•
1 year ago
Hello,
I have an issue where I made a dinky little one player pong like game. my issue is that I cant figure out how to make the ball bounce of my paddles.
im trying to set a variable for the paddles as:
int paddle = rect(499,mouseY,10,paddle);
and likewise for paddle2 (the mouse will move both paddles) but im getting an error that states "cannot convert void to int"
what does this mean, and what am i doing wrong?
I have an issue where I made a dinky little one player pong like game. my issue is that I cant figure out how to make the ball bounce of my paddles.
im trying to set a variable for the paddles as:
int paddle = rect(499,mouseY,10,paddle);
and likewise for paddle2 (the mouse will move both paddles) but im getting an error that states "cannot convert void to int"
what does this mean, and what am i doing wrong?
1