Commit a6afa90a by BellCodeEditor

save project

parent 5d4bde1e
Showing with 7 additions and 0 deletions
...@@ -9,13 +9,19 @@ logo = pygame.image.load('logo.png') ...@@ -9,13 +9,19 @@ logo = pygame.image.load('logo.png')
next = pygame.image.load('next.png') next = pygame.image.load('next.png')
stop = pygame.image.load('stop.png') stop = pygame.image.load('stop.png')
font = pygame.font.Font('neuropol.ttf',20) font = pygame.font.Font('neuropol.ttf',20)
pygame.mixer.music.load('test.wav')
fps = pygame.time.Clock() fps = pygame.time.Clock()
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.music.play()
screen.blit(background,(0,0)) screen.blit(background,(0,0))
screen.blit(logo,(170,60)) screen.blit(logo,(170,60))
screen.blit(stop,(270,330))
screen.blit(last,(120,350))
screen.blit(next,(420,350))
pygame.display.update() pygame.display.update()
fps.tick(60) fps.tick(60)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment