Update menu copy 2.py

master
Gerhards Kristians Tillers 2024-03-03 20:18:56 +00:00
parent 38f4e36c79
commit b97bc194b4
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ pygame.display.set_caption("Menu")
BG = pygame.image.load("assets/Background.png") BG = pygame.image.load("assets/Background.png")
pygame.mixer.music.load('assets/Pixel 7.mp3') pygame.mixer.music.load('assets/Pixel 7.mp3')
# Воспроизведение музыки # Воспроизведение музыки
pygame.mixer.music.play() pygame.mixer.music.play()
@ -23,6 +24,7 @@ def get_font(size): # Returns Press-Start-2P in the desired size
def play(): def play():
while True: while True:
pygame.time.delay(500)
import Game_V2 import Game_V2
# Game_V2 vietāpievienojiet failu ar pabeigto spēli # Game_V2 vietāpievienojiet failu ar pabeigto spēli