Ask coding questions

← Back to all posts
Can someone please tell me what is wrong with my code?
815398 (1)

I don't understand what is wrong with my code. I am using somebody elses code that uses a different sprite sheet and if i open teh original in pycharm it works fine.

Comments
hotnewtop
Dunce (65)

It's either missing a file, or the code is trying to access a file that was never there in the first place. Like @LukeWright said, it's probably because you changed the sprite sheet.

LukeWright (281)

that should be the problem right there. If it uses a different spritesheet check to make sure that in your code when it trys to open the sprritesheet it is using the exact same name and filepath that is shown in the files tab