Initialcommit
This commit is contained in:
+1667
File diff suppressed because it is too large
Load Diff
@@ -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