It game gameover module
Project description
first from pygame_gameover import gameover
from pygame_gameover import gameover import pygame import sys screen=pygame.display.set_mode((1000,500))
this is a example of gameover
def gameloop(): game=True while game: for event in pygame.event.get(): if event.type==pygame.QUIT: game=False sys.exit() if event.type==pygame.KEYDOWN: if event.key==pygame.K_s: # second gameover.gameover() and is module call the gameover function gameover.gameover()
screen.fill((255,255,0))
pygame.display.update()
gameloop()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygame_gameover-0.0.4.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file pygame_gameover-0.0.4.tar.gz
.
File metadata
- Download URL: pygame_gameover-0.0.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3898c28fd23ef48a6ce7f004ac47f73305ee9dc8c1ae09a102a9d50330cee288 |
|
MD5 | 634de6f272eed26b8081db6cc88adfd5 |
|
BLAKE2b-256 | d0103a8e1c2eb76b04a0c30db081b1b6742adb5aa87a73c003862e0a1dcf200f |
File details
Details for the file pygame_gameover-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pygame_gameover-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633bc873230d4c15edfa3da812ceb2088fa56e28e11334ef217de7ec639e5093 |
|
MD5 | 4d8b1f42a37295ba8c45fff664a665ec |
|
BLAKE2b-256 | e105ed53f7c8f51205412651bcdd7c4ee97cf138ce74c8a424b593349d8d7f40 |