Top "Pygame" questions

Pygame is a set of Python modules designed for writing video games.

A bit confused with blitting (Pygame)

I've just started learning some pygame (quite new to programming overall), and I have some very basic questions about how …

python pygame blit
Why does it say that module pygame has no init member?

This is the code I have: import pygame pygame.init() I'm very confused because if I try to run the …

python visual-studio-code pygame pylint
How do I detect collision in pygame?

I have made a list of bullets and a list of sprites using the classes below. How do I detect …

python pygame collision-detection pygame-surface
Pygame: Draw single pixel

I'm looking for method that allow me to draw single pixel on display screen. For example when I click mouse, …

python pygame
Start with pyglet or pygame?

I would like to know what is the best to start with, pyglet or pygame? Which one is faster and …

python pygame pyglet
Saving the highscore for a game?

I have made a very simple game in python using pygame. The score is based on whatever level the player …

python save pygame leaderboard
Pygame on Android

I was wondering if someone could give me a detailed explanation on how to run a game/app developed using …

android python pygame
libpng warning: interlace handling should be turned on when using png_read_image in Python/PyGame

I'm using PyGame for Python, and have been receiving the following warning when loading .png images with pygame.image.load: …

python python-3.x pygame libpng
Pygame level/menu states

With my code below what would be the simplest and easiest way to implement game states to control levels? If …

pygame
How do I maximize the display screen in PyGame?

I am new to Python programming and I recently started working with the PyGame module. Here is a simple piece …

python pygame