feat: 弹幕系统

This commit is contained in:
AncTe committed 2024-04-22 23:08:46 +08:00
1 parent 5b74a22494
commit 27230b3d47
15 files changed
+696 -8

No files matched your search

+4 -1
View File
@@ -1,3 +1,5 @@
import { tip } from './utils';
export default function init() {
return { useDrag, useWheel, useUp, isMobile };
}
@@ -29,7 +31,8 @@ checkMobile();
function checkMobile() {
if (isMobile && !alerted) {
alert(
tip(
'info',
'手机端建议使用新版APP或者自带的浏览器进行游玩,并在进入游戏后开启游戏内的全屏设置游玩'
);
alerted = true;