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")
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue