Итак, я перестраиваю игру, но не могу понять, почему я получаю ошибку. Traceback (most recent call last):
File "C:\Users\seang\Downloads\escape\escape.py", line 21, in <module>
DEMO_OBJECTS = [images.floor, images.pillar, images.soil]
AttributeError: module 'images' has no attribute 'floor'
Я много читал, но все равно не помог в решении проблемы. Любой ввод будет очень полезным.
Вот ссылка на файлы проекта и код: https://anonfile.com/kfk810Aen5/escape_zip
часть кода:
###############
## VARIABLES ##
###############
WIDTH = 800 #window size
HEIGHT = 800
#PLAYER variables
PLAYER_NAME = "Sean" # change this to your name!
FRIEND1_NAME = "Karen" # change this to a friend's name!
FRIEND2_NAME = "Leo" # change this to another friend's name!
current_room = 31 # start room = 31
top_left_x = 100
top_left_y = 150
DEMO_OBJECTS = [images.floor, images.pillar, images.soil]```