Why this doesn't work:
Code: Select all
DoorAnimation = Image.load("./animation/door.png")
EnemyAnimation = {DoorAnimation}
-- and then blitting using EnemyAnimation[1] as image source
Code: Select all
DoorAnimation = Image.load("./animation/door.png")
EnemyAnimation = {Image.load("./animation/door.png")}
-- and then blitting using EnemyAnimation[1] as image source