Pygame Rect collision
ash15khng (393)
I tried to use the inbuilt pygame.Rect.colliderect, but it doesn't work. I've been on this for about an hour aaaa help pls
I made my enemy and player classes subclasses of pygame.Rect already, that shouldn't be the problem. In fact the code runs, but the collision never becomes true.

You are viewing a single comment. View All
Answered by mwilki7 (282) [earned 5 cycles]
View Answer
katyadee (1134)

Hey there! You should add a little more context to your question & the subject line, so it's easier for people to find and answer.

ash15khng (393)

@katyadee Sorry, I'll do that next time.