How do I make the screen of my game have boundaries?

Published: 14/01/2019
How do I make the screen of my game have boundaries?
Source: STACKOVERFLOW.COM

I have looked over similar questions asked here and none of them could solve my problem (or rather, I didn't know how to implement them into my code). Would really appreciate if someone could make me understand. I know that you have to make it so the x and y coordinates don't go under 0, but don't know how. import pygame pygame.init() import math #set screen win = pygame.display.set_mode((500,

Read more
Related news
Comment
FACEBOOK