this is a part of an entry for completion that's deadline is in a fed says. I had run into some errors and got some help from someone on this board. then I went I fixed the rest of it but now I am stuck on this attribution error that I don't know how to fix. This is the first time I am working with pygame, so I am pretty much a total beginner. any help again would be greatly appreciated.
@JustCoding123 thanks so much for the help! after I put in the changes you said and fixed the indention errors, I am now having a syntax error of line 2. I don't see the problem in it though?
NEED SOME URGENT HELP: How do i fix this attribution error
this is a part of an entry for completion that's deadline is in a fed says. I had run into some errors and got some help from someone on this board. then I went I fixed the rest of it but now I am stuck on this attribution error that I don't know how to fix. This is the first time I am working with pygame, so I am pretty much a total beginner. any help again would be greatly appreciated.
In the
Game
class the function _init_ should be __init__.@JustCoding123 I did that but now it says the Game object has no attribute up key, is it another typo I need to fix?
@ArtemisNightingale Fixed it
@JustCoding123 thanks so much for the help! after I put in the changes you said and fixed the indention errors, I am now having a syntax error of line 2. I don't see the problem in it though?
@ArtemisNightingale In the
MainMenu
class you again wrote_init_
and not__init__