Added musis-track01.mp3 (pixabay.com: Tron by prazkhanal)

This commit is contained in:
justin committed 2025-08-25 19:20:18 -07:00
1 parent f155b81b37
commit c7c3adbaee
2 files changed
+5

No files matched your search

Binary file not shown.
+5
View File
@@ -24,6 +24,10 @@ sound_explosion = pygame.mixer.Sound("sound-tank-explosion.mp3")
sound_player_explode = pygame.mixer.Sound("sound-tank-player-explodes.mp3")
sound_alarm = pygame.mixer.Sound("sound-tank-alarm.mp3")
pygame.mixer.music.load("music-track01.mp3")
pygame.mixer.music.set_volume(0.5)
pygame.mixer.music.play(-1)
pygame.joystick.init()
joysticks = []
for i in range(pygame.joystick.get_count()):
@@ -460,6 +464,7 @@ while running:
if player_life<=0:
game_over=True
game_over_time=time.time()
pygame.mixer.music.stop()
if keep: new_enemy_bullets.append(b)
enemy_bullets=new_enemy_bullets