fixed score table, added music folder
							parent
							
								
									e7017b77ed
								
							
						
					
					
						commit
						5fbc498b03
					
				
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										7
									
								
								main.py
								
								
								
								
							
							
						
						
									
										7
									
								
								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)) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue