Object Boundaries
in
Programming Questions
•
1 year ago
I made a class with an image of a square. I control it with W-A-S-D. But when i get to the edge of the window and keep going, the square just goes out. Is there a way that once the square reaches the edge it cannot go pass it?
1