import pygame import os def load_image(path): if not os.path.exists(path): print(f"Image not found: {path}") return None return pygame.image.load(path).convert_alpha() pine1_img = load_image('img/Background/pine1.png')