For some reason, the PyGame blit
command is not working for me. Whenever I run my code, nothing appears on screen, but there is no error message in the console.
import pygame
pygame.init()
screen = pygame.display.set_mode((1920, 1080))
clock = pygame.time.Clock()
def loadImages():
global ground
ground = pygame.image.load("assets/ground/tile.png")
loadImages()
# Game Loop
while True:
screen.blit(ground, (0, 0))
pygame.display.update()
clock.tick(30)