Skip to main content

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 hashes)

Uploaded Source

Built Distribution

pygame_gameover-0.0.4-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page