I'm making a game with pygame and I wanted to add a background for my game. I'm trying to add a 1920x1080 background to a 1920x1080 screen, but part of the background is not visible.
My code:
import pygame
import sys
pygame.init()
screen = pygame.display.set_mode((1920, 1080))
bg_img = pygame.image.load("wp.jpg").convert()
clock = pygame.time.Clock()
while True:
screen.blit(bg_img, (0, 0))
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit(0)
pygame.display.update()
clock.tick(60)
screen = pygame.display.set_mode((1920, 1080))
orscreen = pygame.display.set_mode((1920, 1080), pygame.FULLSCREEN)
and image is not clipped. \$\endgroup\$