How do I use pygame.sprite.collide_rect
?
I want to make a game where if the girl is on ice she'll slide
and when she's on ground (which will be another sprite
) she won't slide
. I was going to use the collision detection from pygame, but I'm not sure how.
Can someone please help me?
Thank you so much