Jan-24-2023, 09:58 PM
Line 18 you assign it to a loaded pygame image, which is a surface. Then you define your World class, and then call the world class. But right after that one line 187 you redefine it to a group. You should have this defined before World class definition.
You shouldn't use the same variable and change it mid program to some other object.
You shouldn't use the same variable and change it mid program to some other object.
Recommended Tutorials: