Initialcommit
This commit is contained in:
1667
.gitignore
vendored
Normal file
1667
.gitignore
vendored
Normal file
File diff suppressed because it is too large
Load Diff
17
main.py
Normal file
17
main.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import pygame
|
||||
|
||||
pygame.init()
|
||||
|
||||
MAINSCREEN_SIZE = (800,600)
|
||||
|
||||
pygame.display.set_caption("Test-Sidescroller")
|
||||
pygame.display.set_mode(MAINSCREEN_SIZE)
|
||||
|
||||
gamestate = True
|
||||
|
||||
|
||||
while(gamestate):
|
||||
for event in pygame.event.get():
|
||||
if (event.type == pygame.QUIT):
|
||||
print("Programm wird geschlossen!")
|
||||
gamestate = False
|
||||
Reference in New Issue
Block a user