添加:主菜单背景音乐

This commit is contained in:
2026-02-26 16:09:55 +08:00
parent 2e273a782c
commit 4a348e578b
3 changed files with 5 additions and 1 deletions

BIN
game/audio/MainMenu.ogg Normal file

Binary file not shown.

View File

@@ -69,7 +69,7 @@ define config.has_voice = False
## 将以下语句取消注释就可以设置标题界面播放的背景音乐文件。此文件将在整个游戏中 ## 将以下语句取消注释就可以设置标题界面播放的背景音乐文件。此文件将在整个游戏中
## 持续播放,直至音乐停止或其他文件开始播放。 ## 持续播放,直至音乐停止或其他文件开始播放。
# define config.main_menu_music = "main-menu-theme.ogg" define config.main_menu_music = "audio/MainMenu.ogg"
## 转场 ########################################################################## ## 转场 ##########################################################################

View File

@@ -113,10 +113,14 @@ transform zoom_to_upper_right:
# 快速放大并向左下偏移(画面看起来往右上移动) # 快速放大并向左下偏移(画面看起来往右上移动)
ease 0.3 zoom 1.7 xalign 0.6 yalign 0.2 ease 0.3 zoom 1.7 xalign 0.6 yalign 0.2
#label before_main_menu:
# $ renpy.music.play("andio/MainMenu.ogg", loop=True, fadein=2.0)
# 游戏在此开始。 # 游戏在此开始。
label start: label start:
stop music fadeout 1.0
jump Chapter1_Scene1 jump Chapter1_Scene1
# 此处为游戏结尾。 # 此处为游戏结尾。