提交配置表

This commit is contained in:
PC-20230316NUNE\Administrator
2023-11-21 18:52:01 +08:00
parent 074cfbd5bd
commit 5ab90ea221
525 changed files with 164826 additions and 12 deletions

View File

@@ -26,10 +26,10 @@ import { JAPI, JAPIConfig } from "../../extensions/ngame/assets/ngame/util/JAPI"
import { AppData } from "./AppData";
import AppAction from "./AppAction";
let APIPath = `http://localhost:8080`
let WsPath = `ws://localhost:8080/websocket`
// let APIPath = `http://192.168.0.123:8080`
// let WsPath = `ws://192.168.0.123:8080/websocket`
// let APIPath = `http://localhost:8080`
// let WsPath = `ws://localhost:8080/websocket`
let APIPath = `http://192.168.0.174:8080`
let WsPath = `ws://192.168.0.174:8080/websocket`
// let APIPath = `https://api.pet.jisol.cn`
// let WsPath = `wss://api.pet.jisol.cn/websocket`

View File

@@ -5,6 +5,7 @@ import { GUI } from "../UIConfig";
import NoviceManager from "../../manager/NoviceManager";
import { JNGLayerBase } from "../../components/JNComponent";
import { app } from "../../App";
import { lerp } from "cc";
const { ccclass, property } = _decorator;
@ccclass('LoadingView')
@@ -22,7 +23,7 @@ export default class LoadingView extends JNGLayerBase {
update(dt:number){
if(app.loading.getCurrentInfo())
this.label.string = app.loading.getCurrentInfo().title;
this.progress.progress = app.loading.progress();
this.progress.progress = lerp(this.progress.progress,app.loading.progress(),dt);
if(!this.isOk && app.loading.isAllSuccess()){
this.isOk = true;
this.onSuccess();