diff --git a/assets/main.scene b/assets/main.scene index 136cfec..0773708 100644 --- a/assets/main.scene +++ b/assets/main.scene @@ -227,7 +227,7 @@ "_priority": 1073741824, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 409.1338582677165, + "_orthoHeight": 360, "_near": 1, "_far": 2000, "_color": { diff --git a/assets/script/game/initialize/bll/InitRes.ts b/assets/script/game/initialize/bll/InitRes.ts index 519dd90..024724f 100644 --- a/assets/script/game/initialize/bll/InitRes.ts +++ b/assets/script/game/initialize/bll/InitRes.ts @@ -7,7 +7,6 @@ import { oops } from "../../../../../extensions/oops-plugin-framework/assets/core/Oops"; import { AsyncQueue, NextFunction } from "../../../../../extensions/oops-plugin-framework/assets/libs/collection/AsyncQueue"; import { ecs } from "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; -import { config } from "../../../../../extensions/oops-plugin-framework/assets/module/config/Config"; import { UIID } from "../../common/config/GameUIConfig"; import { Initialize } from "../Initialize"; import { LoadingViewComp } from "../view/LoadingViewComp"; @@ -57,7 +56,7 @@ export class InitResSystem extends ecs.ComblockSystem implements ecs.IEntityEnte } // 设置语言包路径 - oops.language.setAssetsPath(config.game.languagePathJson, config.game.languagePathTexture); + oops.language.setAssetsPath(oops.config.game.languagePathJson, oops.config.game.languagePathTexture); // 加载语言包资源 oops.language.setLanguage(lan, next); diff --git a/package.json b/package.json index 9067ecd..b9a76b5 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "_sourceId": "c30b28da-749e-479b-bcb6-cecd8d7be9e3", "creator": { - "version": "3.6.1" + "version": "3.6.2" + }, + "dependencies": { + "crypto-es": "^1.2.7" }, "description": "游戏项目模板", "name": "oops-game-kit", "uuid": "00d7d957-a3e8-4ad6-80f4-2fcfb235bca4", - "version": "3.6.1", - "dependencies": { - "crypto-es": "^1.2.7" - } + "version": "3.6.2" }