mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-02-07 20:09:27 +08:00
修复报错问题
This commit is contained in:
parent
4d4aeed3cd
commit
70672349fe
2
idea.md
2
idea.md
@ -71,7 +71,7 @@ dam4.png ---- 存档 59
|
|||||||
[] 完全 ts 化
|
[] 完全 ts 化
|
||||||
[] 平行光
|
[] 平行光
|
||||||
[] 视角控制系统
|
[] 视角控制系统
|
||||||
[] 重构设置界面
|
[x] 重构设置界面
|
||||||
[] 优化开头动画
|
[] 优化开头动画
|
||||||
[] 玩家可以设置字体大小
|
[] 玩家可以设置字体大小
|
||||||
[] 完全删除 functions.js
|
[] 完全删除 functions.js
|
||||||
|
@ -3,7 +3,7 @@ import { SoundController } from './audio/sound';
|
|||||||
import { EventEmitter } from './common/eventEmitter';
|
import { EventEmitter } from './common/eventEmitter';
|
||||||
import { loading, readyAllResource } from './loader/load';
|
import { loading, readyAllResource } from './loader/load';
|
||||||
import { ResourceStore, ResourceType } from './loader/resource';
|
import { ResourceStore, ResourceType } from './loader/resource';
|
||||||
import { GameEvent } from './main/game';
|
import { GameEvent, hook } from './main/game';
|
||||||
import { resolvePlugin } from './plugin';
|
import { resolvePlugin } from './plugin';
|
||||||
|
|
||||||
interface AncTePlugin {
|
interface AncTePlugin {
|
||||||
@ -52,7 +52,10 @@ function ready() {
|
|||||||
zipResource: new ResourceStore(),
|
zipResource: new ResourceStore(),
|
||||||
sound: new SoundController(),
|
sound: new SoundController(),
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
plugin: {}
|
plugin: {},
|
||||||
|
game: {
|
||||||
|
hook
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
readyAllResource();
|
readyAllResource();
|
||||||
|
@ -5,5 +5,3 @@ export interface GameEvent extends EmitableEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const hook = new EventEmitter<GameEvent>();
|
export const hook = new EventEmitter<GameEvent>();
|
||||||
|
|
||||||
ancTe.game.hook = hook;
|
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
"<span style=\"color: yellow; font-weight: 700\">试验性功能</span>",
|
"<span style=\"color: yellow; font-weight: 700\">试验性功能</span>",
|
||||||
"<br>",
|
"<br>",
|
||||||
"开启后游戏将对加载进行优化,缩短进入游戏时的加载时长,而在游戏中对资源进行部分性按需加载,从而对加载进行优化。",
|
"开启后游戏将对加载进行优化,缩短进入游戏时的加载时长,而在游戏中对资源进行部分性按需加载,从而对加载进行优化。",
|
||||||
"该设置不会影响你的正常游戏,但如果网络环境较差,可能会导致楼层转换时间明显变长。",
|
"该设置不会影响你的正常游戏,但如果网络环境较差,可能会导致部分楼层转换时间明显变长。",
|
||||||
"<br>",
|
"<br>",
|
||||||
"<br>",
|
"<br>",
|
||||||
"注:修改后刷新页面起效。"
|
"注:修改后刷新页面起效。"
|
||||||
|
Loading…
Reference in New Issue
Block a user