import os import pygame # set up asset folders project_folder = os.path.dirname(__file__) sprites_folder = os.path.join(project_folder, 'sprites') wheat_img_0 = pygame.image.load(os.path.join(sprites_folder, 'wheat0.png')) wheat_img_1 = pygame.image.load(os.path.join(sprites_folder, 'wheat1.png')) wheat_img_2 = pygame.image.load(os.path.join(sprites_folder, 'wheat2.png')) wheat_img_3 = pygame.image.load(os.path.join(sprites_folder, 'wheat3.png')) tractor_img_0 = pygame.image.load(os.path.join(sprites_folder, 'tractor0.png')) tractor_img_1 = pygame.image.load(os.path.join(sprites_folder, 'tractor1.png')) tractor_img_2 = pygame.image.load(os.path.join(sprites_folder, 'tractor2.png')) tractor_img_3 = pygame.image.load(os.path.join(sprites_folder, 'tractor3.png')) potato_img_0 = pygame.image.load(os.path.join(sprites_folder, 'potato0.png')) potato_img_1 = pygame.image.load(os.path.join(sprites_folder, 'potato1.png')) potato_img_2 = pygame.image.load(os.path.join(sprites_folder, 'potato2.png')) potato_img_3 = pygame.image.load(os.path.join(sprites_folder, 'potato3.png')) strawberry_img_0 = pygame.image.load(os.path.join(sprites_folder, 'strawberry0.png')) strawberry_img_1 = pygame.image.load(os.path.join(sprites_folder, 'strawberry1.png')) strawberry_img_2 = pygame.image.load(os.path.join(sprites_folder, 'strawberry2.png')) strawberry_img_3 = pygame.image.load(os.path.join(sprites_folder, 'strawberry3.png'))