Skip to content Skip to sidebar Skip to footer
Showing posts with the label Rect

How To Use Sprite Collide In Pygame

I am making a very simple game where the bird (player) has to dodge the rock and if it gets hit by … Read more How To Use Sprite Collide In Pygame

Convert Rectangle To Surface In Pygame

In my code it keeps giving me the error: pygame.surface.Surface.blit(a, (x1, y1)) TypeError: descr… Read more Convert Rectangle To Surface In Pygame

How Can I Collide With A 45 Degree Slope?

I have spent the past 3 days trying to understand this but with every article I have read and every… Read more How Can I Collide With A 45 Degree Slope?