Plik definiujący grafiki
This commit is contained in:
parent
a8459578d9
commit
a7059f1377
11
sprites.py
Normal file
11
sprites.py
Normal file
@ -0,0 +1,11 @@
|
||||
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'))
|
Loading…
Reference in New Issue
Block a user