CS50G Pong Project: Pong-2

51 views Asked by At

So in Pong-2 for the CS50G game development course, they use a function called love.graphics.clear() for their pong game. However, when I ran the program with this function, all I got was a giant white square in the middle of the screen. How do I get rid of it? [enter image description here](https://i.stack.imgur.com/wOIqh.png)

At first I thought that the rectangles were too big, and they made up that big rectangle in the middle. So after tweaking around with the love.graphic.rectangle() functions, nothing happened. However, when I got rid of love.graphics.clear(), I saw the rectangles, however the course used the same function and did not have the same problem.

0

There are 0 answers