Pygame collision detection, transparent border
问题 For my pygame project, I must detect collision betweeen various .png image that move on the screen. I have put the image inside sprite, and the sprite inside group, then I use this : pygame.sprite.spritecollide(perso, zombie_group, False) However, sometime, my image don't touch, but pygame detect a collision... This is due to the fact that my images are png with transparent borders. The transparent border collide, and pygame detect this :( Any idea to stop the transparent border from