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