'Player' object has no attribute 'rect [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 days ago . I have been trying for a while to resolve the following error message: ' ' Player 'object has no attribute' rect '. I have researched here in stack.overflow and see that it may be related to the type of declaration or indentation . But I can't understand where the code fails. The original code is from this