Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaborisu authored Nov 8, 2020
1 parent fcfd3a8 commit e64483e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions blackscreen.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import pygame
from win32api import GetSystemMetrics

pygame.init()
pygame.display.set_caption('Blackscreen by tadaborisu')
gameIcon = pygame.image.load('icon.ico')
pygame.display.set_icon(gameIcon)
screen = pygame.display.set_mode((GetSystemMetrics(0), GetSystemMetrics(1)), pygame.NOFRAME)

Running = True
while Running:
screen.fill((0, 0, 0))
for event in pygame.event.get():
if event.type == pygame.QUIT:
Running = False

0 comments on commit e64483e

Please sign in to comment.