diff --git a/__pycache__/button.cpython-311.pyc b/__pycache__/button.cpython-311.pyc new file mode 100644 index 0000000..e65d687 Binary files /dev/null and b/__pycache__/button.cpython-311.pyc differ diff --git a/main.py b/main.py index f3e658b..ae2e685 100644 --- a/main.py +++ b/main.py @@ -17,7 +17,7 @@ space = pygame.image.load('SPACE.jpg') hangar = pygame.image.load('HANGAR.jpg') -mixer.music.load("background.wav") +mixer.music.load("music/background.mp3") mixer.music.play(-1) @@ -173,7 +173,7 @@ while running: scene = "best_score" case "best_score": screen.blit(hangar, (0, 0)) - print_best_score(best_score[difficulty]) + print_best_score(best_score) # if pressed, go back to menu if back_button.draw(screen): scene = "menu" @@ -263,8 +263,7 @@ while running: temp = "hard" case 3: temp = "insane" - draw_text("Best score: "+temp, font, TEXT_COL, 400, 150) - print_best_score(best_score[difficulty]) + print_best_score(best_score) draw_text("Press TAB to resume", smaller_font, TEXT_COL, 350, 550) case _: screen.blit(space, (0, 0)) diff --git a/background.mp3 b/music/background.mp3 similarity index 100% rename from background.mp3 rename to music/background.mp3