11 lines
475 B
Python
11 lines
475 B
Python
|
import pygame
|
||
|
import random
|
||
|
import os
|
||
|
|
||
|
# set up asset folders
|
||
|
project_folder = os.path.dirname(__file__)
|
||
|
sprites_folder = os.path.join(project_folder, 'sprites')
|
||
|
plant_img_0 = pygame.image.load(os.path.join(sprites_folder, 'plant0.png'))
|
||
|
plant_img_1 = pygame.image.load(os.path.join(sprites_folder, 'plant1.png'))
|
||
|
plant_img_2 = pygame.image.load(os.path.join(sprites_folder, 'plant2.png'))
|
||
|
plant_img_3 = pygame.image.load(os.path.join(sprites_folder, 'plant3.png'))
|