docs: add comments

This commit is contained in:
shokre 2021-09-18 23:28:59 +02:00
parent 98d7a694ea
commit 682b764ee3

View file

@ -21,6 +21,7 @@ if len(sys.argv) == 2:
# pygame init # pygame init
ratio, running = 0, True ratio, running = 0, True
# mixer setup
pygame.mixer.pre_init(44100, 8, 1, buffer=2048) pygame.mixer.pre_init(44100, 8, 1, buffer=2048)
pygame.init() pygame.init()
pygame.time.set_timer(pygame.USEREVENT + 1, 40) pygame.time.set_timer(pygame.USEREVENT + 1, 40)