Comments (2)
Hello, your game must have a main loop and use the pygame.event.get() function. Otherwise, the event will be blocked and your game window will not respond.
from pygame.
You need to use pygame.event.get() or pygame.event.flip() at the end of the program.
from pygame.
Related Issues (20)
- pygame.sprite.spritecollide collided argument typing incompatible with collide_mask
- Pygame can not detect Thrustmaster MFD (Multi functional Display) Cougar
- Installation pygame with pip error HOT 2
- Bug where pg.font.Font is rendered and when having an "n"or"m" before an "a"or"e" ("na/ma...") gives little space ("n a/...") when rendered using font.render HOT 2
- Update to new C API for Python 3.13
- Generic `Group`
- How to prevent pygame loop from crashing when calling an asynchronous machine learning module. HOT 3
- Understanding blit_test.py -> comment of #blend(s, 0, d) = d HOT 1
- Broken link for MacCompile instructions in wiki on Getting Started page
- Broken link for FreeBSD Package in wiki on Getting Started page
- pygame update(rect) problem (macOS) HOT 5
- Behavior change in fullscreen behavior on gaining focus
- PyGame completely broken on Raspberry Pi Bullseye Lite with official Raspberry Pi touch LCD
- pygame doesn't read my controller inputs if I'm inside a game or another program HOT 2
- Add support for Python 3.9 & later!! HOT 5
- camlist is flipped
- Unusual error (error: failed to create renderer) when using pygame.SCALED HOT 7
- Blue value in (R, G, B) color selection has no affect HOT 14
- Not very welcoming discord HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygame.