mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-13 02:26:07 +00:00
提交
This commit is contained in:
@@ -14,7 +14,7 @@ import { JsonLoad, JsonUtil } from "../../extensions/ngame/assets/ngame/util/Jso
|
||||
import NGameMessage from "../../extensions/ngame/assets/ngame/util/NGameMessage";
|
||||
import GBattleModeManager from "./battle/GBattleModeManager";
|
||||
import { GLayer, GUI, UIConfig } from "./ui/UIConfig";
|
||||
import JLoaderSystem from "../../extensions/ngame/assets/ngame/system/JLoaderSystem";
|
||||
import JLoaderBundle from "../../extensions/ngame/assets/ngame/system/JLoaderBundle";
|
||||
import { sp } from "cc";
|
||||
import { SpriteFrame } from "cc";
|
||||
import Loading from "../../extensions/ngame/assets/ngame/util/Loading";
|
||||
@@ -28,12 +28,12 @@ import AppAction from "./AppAction";
|
||||
import { Asset } from "cc";
|
||||
import { Component } from "cc";
|
||||
|
||||
let APIPath = `http://localhost:8080`
|
||||
let WsPath = `ws://localhost:8080/websocket`
|
||||
// let APIPath = `http://localhost:8080`
|
||||
// let WsPath = `ws://localhost:8080/websocket`
|
||||
// let APIPath = `http://192.168.1.23:8080`
|
||||
// let WsPath = `ws://192.168.1.23:8080/websocket`
|
||||
// let APIPath = `http://192.168.0.119:8080`
|
||||
// let WsPath = `ws://192.168.0.119:8080/websocket`
|
||||
let APIPath = `http://192.168.0.119:8080`
|
||||
let WsPath = `ws://192.168.0.119:8080/websocket`
|
||||
// let APIPath = `https://api.pet.jisol.cn`
|
||||
// let WsPath = `wss://api.pet.jisol.cn/websocket`
|
||||
|
||||
@@ -141,7 +141,7 @@ export class JNGConfig extends SystemBase{
|
||||
}
|
||||
|
||||
//资源初始器
|
||||
export class JLoaderBattle extends JLoaderSystem{
|
||||
export class JLoaderBattle extends JLoaderBundle{
|
||||
|
||||
static loading = "JLoaderBattle";
|
||||
static loadingInit = "JLoaderBattle_Init";
|
||||
@@ -272,7 +272,8 @@ export const app = {
|
||||
battle : GBattleModeManager.getIns(), //战斗
|
||||
config : new JNGConfig(), //配置文件
|
||||
battleRes : new JLoaderBattle("battle"), //battle包
|
||||
tbRes : new JLoaderSystem("tbresource"), //tbresource包
|
||||
tbRes : new JLoaderBundle("tbresource"), //tbresource包
|
||||
res : new JLoaderBundle("resources"), //resources包
|
||||
data : new AppData(), //游戏基础信息
|
||||
action : new AppAction(), //游戏行为
|
||||
loading : new Loading({
|
||||
|
Reference in New Issue
Block a user