BGM模块新增setChange方法可以设置切换BGM的时候会触发的事件

切换BGM时弹出BGM名称
This commit is contained in:
MrZ626
2021-08-26 03:37:06 +08:00
parent 12c96f321b
commit 442b3bd233
8 changed files with 37 additions and 16 deletions

View File

@@ -46,6 +46,7 @@ end
--Load modules
require'Zframework'
SCR.setSize(1280,720)--Initialize Screen size
BGM.setChange(function(name)MES.new('music',text.nowPlaying..name,5)end)
--Delete all naked files (from too old version)
FILE.clear('')