parent
59b8390c18
commit
3f5dfc395a
@ -1,40 +0,0 @@
|
||||
import pygame
|
||||
|
||||
#滑动音效
|
||||
def slide_sound():
|
||||
pygame.mixer.Sound("./sound/slide_sound.mp3").play()
|
||||
|
||||
#提示音效
|
||||
def tips_sound():
|
||||
pygame.mixer.Sound("./sound/tips_sound.mp3").play()
|
||||
|
||||
#背景音乐
|
||||
def background_sound():
|
||||
pygame.mixer.Sound("./sound/background_sound.mp3").play()
|
||||
|
||||
#背景音乐
|
||||
def ai_background_sound():
|
||||
pygame.mixer.Sound("./sound/ai_background_sound.mp3").play()
|
||||
|
||||
#返回音乐
|
||||
def return_sound():
|
||||
pygame.mixer.Sound("./sound/return_sound.mp3").play()
|
||||
|
||||
#成功音乐
|
||||
def win_sound():
|
||||
pygame.mixer.Sound("./sound/win_sound.mp3").play()
|
||||
|
||||
#失败音乐
|
||||
def fail_sound():
|
||||
pygame.mixer.Sound("./sound/fail_sound.mp3").play()
|
||||
|
||||
#回放音乐
|
||||
def reshow_sound():
|
||||
pygame.mixer.Sound("./sound/reshow_sound.mp3").play()
|
||||
|
||||
#停止吧
|
||||
def stop_sound():
|
||||
pygame.mixer.stop()
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue