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

What Is The Surface.blit() Function In Pygame? What Does It Do? How Does It Work?

I am a beginner in Python and I am not clear about the function surface.blit(). What does it do? Ho… Read more What Is The Surface.blit() Function In Pygame? What Does It Do? How Does It Work?

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

Will Pygame Blit Sprites With A Rect Outside The Display

I'm currently working on a space exploration game in 2D top view. I have quite a few planets an… Read more Will Pygame Blit Sprites With A Rect Outside The Display