mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-03 01:54:58 +08:00
feat: 弹幕系统
This commit is contained in:
1 parent
5b74a22494
commit
27230b3d47
15 files changed
+696
-8
No files matched your search
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user