无头模式测试

This commit is contained in:
DESKTOP-5RP3AKU\Jisol 2023-11-22 03:51:37 +08:00
parent 5ab90ea221
commit 7389f6d716
535 changed files with 991 additions and 162534 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 258 KiB

View File

@ -47,9 +47,9 @@
"trimX": 0,
"trimY": 0,
"width": 658,
"height": 1425,
"height": 1421,
"rawWidth": 658,
"rawHeight": 1425,
"rawHeight": 1421,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -62,16 +62,16 @@
"vertices": {
"rawPosition": [
-329,
-712.5,
-710.5,
0,
329,
-712.5,
-710.5,
0,
-329,
712.5,
710.5,
0,
329,
712.5,
710.5,
0
],
"indexes": [
@ -84,9 +84,9 @@
],
"uv": [
0,
1425,
1421,
658,
1425,
1421,
0,
0,
658,
@ -104,12 +104,12 @@
],
"minPos": [
-329,
-712.5,
-710.5,
0
],
"maxPos": [
329,
712.5,
710.5,
0
]
},
@ -127,7 +127,7 @@
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "76aadab4-10a3-4c8e-b4b9-dce7807050fc@f9941"
}

View File

@ -426,6 +426,39 @@ export class TbGRoleCStar {
}
export namespace TB {
export class TbSServerInfo {
constructor(_json_: any) {
if (_json_.id === undefined) { throw new Error() }
this.id = _json_.id
if (_json_.args === undefined) { throw new Error() }
this.args = _json_.args
if (_json_.tig === undefined) { throw new Error() }
this.tig = _json_.tig
}
/**
* id
*/
readonly id: number
/**
*
*/
readonly args: string
/**
*
*/
readonly tig: string
resolve(tables:Tables)
{
}
}
}
export class TbGGlobal{
@ -748,6 +781,38 @@ export class TbGRoleCStar{
export class TbSServerInfo{
private _dataMap: Map<number, TB.TbSServerInfo>
private _dataList: TB.TbSServerInfo[]
constructor(_json_: any) {
this._dataMap = new Map<number, TB.TbSServerInfo>()
this._dataList = []
for(var _json2_ of _json_) {
let _v: TB.TbSServerInfo
_v = new TB.TbSServerInfo(_json2_)
this._dataList.push(_v)
this._dataMap.set(_v.id, _v)
}
}
getDataMap(): Map<number, TB.TbSServerInfo> { return this._dataMap; }
getDataList(): TB.TbSServerInfo[] { return this._dataList; }
get(key: number): TB.TbSServerInfo | undefined { return this._dataMap.get(key); }
resolve(tables:Tables)
{
for(let data of this._dataList)
{
data.resolve(tables)
}
}
}
type JsonLoader = (file: string) => any
export class Tables {
@ -771,6 +836,8 @@ export class Tables {
get TbGRoleCUp(): TbGRoleCUp { return this._TbGRoleCUp;}
private _TbGRoleCStar: TbGRoleCStar
get TbGRoleCStar(): TbGRoleCStar { return this._TbGRoleCStar;}
private _TbSServerInfo: TbSServerInfo
get TbSServerInfo(): TbSServerInfo { return this._TbSServerInfo;}
constructor(loader: JsonLoader) {
this._TbGGlobal = new TbGGlobal(loader('tbgglobal'))
@ -783,6 +850,7 @@ export class Tables {
this._TbGResource = new TbGResource(loader('tbgresource'))
this._TbGRoleCUp = new TbGRoleCUp(loader('tbgrolecup'))
this._TbGRoleCStar = new TbGRoleCStar(loader('tbgrolecstar'))
this._TbSServerInfo = new TbSServerInfo(loader('tbsserverinfo'))
this._TbGGlobal.resolve(this)
this._TbGRole.resolve(this)
@ -794,5 +862,6 @@ export class Tables {
this._TbGResource.resolve(this)
this._TbGRoleCUp.resolve(this)
this._TbGRoleCStar.resolve(this)
this._TbSServerInfo.resolve(this)
}
}

View File

@ -0,0 +1,7 @@
[
{
"id": 100001,
"args": "[100000]",
"tig": "服务器账号 (用来帧同步裁决)"
}
]

View File

@ -0,0 +1,11 @@
{
"ver": "2.0.1",
"importer": "json",
"imported": true,
"uuid": "b46ccddd-adbd-446c-88a9-68a0e9f76a32",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -0,0 +1,455 @@
[
{
"__type__": "cc.Prefab",
"_name": "ServerMainView",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "ServerMainView",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 10
}
],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8ftYzn1eBL/KI9lfvctDGE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "72OG0M5ThEtaIaziixD4R1"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 720,
"_originalHeight": 720,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8ejneRsd9FXLr6cGBBG0Rk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "85bQbPz7FPkaRPL/kSAwAE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "WorldCamera",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "49NZnAd2pOrrDsb/1nCBFk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a0d1e275-5512-493e-8e15-7d2db8beb48e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2fROkgxpNGZYBFl1l49gqi"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "dd4WyVQylCIIU7M7ozWEme",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720,
"height": 1280
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1dgJxmIH5HIpXD6y0/xMwI"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "582zBz6m5DKqmkTkiS/LE0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "08xLpDDa9NlK3pgR7XiOqb",
"instance": null
}
]

View File

@ -0,0 +1,13 @@
{
"ver": "1.1.49",
"importer": "prefab",
"imported": true,
"uuid": "3af9002c-bbaa-44b8-a8db-08c5ed37e979",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ServerMainView"
}
}

View File

@ -28,8 +28,10 @@ import AppAction from "./AppAction";
// 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 = `http://192.168.1.23:8080`
let WsPath = `ws://192.168.1.23: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`
@ -229,7 +231,8 @@ export const app = {
}
app.api.addRequestInterceptors((config:JAPIConfig) => {
//设置Token
config.headers["Token"] = StorageData.get(StorageEnum.Token);
// //设置Token
// if(StorageData.get(StorageEnum.Token))
// config.headers["Token"] = StorageData.get(StorageEnum.Token);
return true;
})

View File

@ -0,0 +1,8 @@
//打包环境
export enum Env{
Server, //服务器模式
H5, //H5模式
}
//当前环境
export const EnvCurrent:Env = Env.Server;

View File

@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "6afed554-ecb2-4126-a8b6-16f3b30dfab1",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -3,8 +3,12 @@ import { app } from './App';
import { Env, JNGame } from '../../extensions/ngame/assets/ngame/JNGame';
import { JNSyncAction } from '../../extensions/ngame/assets/ngame/sync/JNSyncAction';
import { GOnHookPets } from '../../extensions/ngame/assets/ngame/message/proto';
import { EnvCurrent } from './Env';
const { ccclass, property } = _decorator;
window['GUser'] = "100000";
window['GPassworld'] = "123456";
@ccclass('Main')
export class Main extends Component {
@ -16,14 +20,16 @@ export class Main extends Component {
async onLoad(){
console.log("EnvCurrent",EnvCurrent)
// 创建UI
director.getScene().addChild(instantiate(this.UIPrefab));
//加载 APP
await JNGame.Init(app);
//发生帧同步开始
app.socket.Send(JNSyncAction.NSyncFrameStart);
// //发生帧同步开始
// app.socket.Send(JNSyncAction.NSyncFrameStart);
// 创建世界
director.getScene().addChild(instantiate(this.WorldPrefab));

View File

@ -1,4 +1,6 @@
import { JNSyncFrameEvent } from "../../../extensions/ngame/assets/ngame/sync/frame/JNSyncFrame";
import { app } from "../App";
import { Env, EnvCurrent } from "../Env";
import GBattleModeManager, { BattleMode } from "../battle/GBattleModeManager";
import { GAction } from "../consts/GAction";
import { GActionType } from "../consts/GActionType";
@ -24,6 +26,10 @@ export default class PVPAction extends BaseAction {
app.socket.on(GAction.C_MODE_PVP_END_WAIT,this.onModePVPEndWait,this);
app.socket.on(GAction.C_MODE_PVP_START,this.onModePVPStart,this,GActionType.GPVPStart);
app.socket.on(GAction.C_MODE_PVP_MESSAGE,this.onModePVPMessage,this,GActionType.GPVPText);
if(EnvCurrent == Env.Server){
app.socket.on(GAction.CR_REFEREE_PVP_MODE,this.onCrReferee,this,GActionType.GPVPStart); //监听PVP裁决
}
}
//PVP开始等待
@ -44,6 +50,13 @@ export default class PVPAction extends BaseAction {
GBattleModeManager.getIns().Open(BattleMode.PVP,true,info);
}
//裁决运行
onCrReferee(info:GPVPStart){
console.log("开始PVP裁决",info);
GBattleModeManager.getIns().Open(BattleMode.PVP,false,info);
GBattleModeManager.getIns().setAuto(true,true);
}
//提示
onModePVPMessage(info:GPVPText){
console.log("提示PVP",info);

View File

@ -7,6 +7,7 @@ import { instantiate } from "cc";
import { app } from "../App";
import { JNFrameInfo, JNSyncFrameEvent } from "../../../extensions/ngame/assets/ngame/sync/frame/JNSyncFrame";
import { CCObject } from "cc";
import { Env, EnvCurrent } from "../Env";
export enum BattleMode{
//无尽模式
@ -37,8 +38,10 @@ export default class GBattleModeManager extends Singleton {
//当前模式
current:BattleMode = null;
//是否自动退
//是否自动
isAuto:boolean = false;
//是否推追帧
isAutoMaxFrame:boolean = false;
//自动推帧间隔
autoTime:number = 0;
@ -73,6 +76,8 @@ export default class GBattleModeManager extends Singleton {
this.data = data;
if(!this.current && mode == null){
//裁决员不允许默认模式
if(EnvCurrent == Env.Server) return;
await this.Open(this.default,true,data);
return;
}else if(mode == null){
@ -98,11 +103,14 @@ export default class GBattleModeManager extends Singleton {
}
//设置自动推帧 ( 帧不由addFrame控制 管理器自动推帧)
setAuto(is:boolean){
setAuto(is:boolean,isAutoMaxFrame:boolean = false){
this.isAuto = is;
this.isAutoMaxFrame = isAutoMaxFrame;
this.autoTime = 0;
}
//设置自动追帧
//清除当前模式
private clear(){
if(!this.isInit) return;
@ -146,15 +154,31 @@ export default class GBattleModeManager extends Singleton {
if(!this.isAuto) return;
this.autoTime += dt * 1000;
if(this.isAutoMaxFrame){
//保持超高频率追帧
while(app.sync.nFrameQueue.length < (app.sync.nMaxFrameLoopBan * 2)){
//速度推帧
app.sync.addFrame({
index:app.sync.nLocalFrame + 1
});
}
}else{
//正常追帧
this.autoTime += dt * 1000;
//获取当前帧同步的帧数推空帧
if(app.sync.nSyncTime < this.autoTime){
//如果事件够则推帧
this.autoTime -= app.sync.nSyncTime;
app.sync.addFrame({
index:app.sync.nLocalFrame + 1
});
}
//获取当前帧同步的帧数推空帧
if(app.sync.nSyncTime < this.autoTime){
//如果事件够则推帧
this.autoTime -= app.sync.nSyncTime;
app.sync.addFrame({
index:app.sync.nLocalFrame + 1
});
}
}

View File

@ -216,6 +216,7 @@ export default class GPVPMode extends GBaseMode<{},GPVPStart>{
this.isEndGame = true;
//结束游戏
JNFrameTime.getInstance().setTimeout(() => {
console.log(this.getOnesRoleAlive(GPVPModePlayerEnum.PLAYER).length,this.getOnesRoleAlive(GPVPModePlayerEnum.ENEMY).length)
this.Close();
},3000)
}

View File

@ -17,4 +17,8 @@ export enum GAction {
C_MODE_PVP_END_WAIT = 3007, //结束等待PVP开始
C_MODE_PVP_MESSAGE = 3008, //PVP 消息通知
/*************** 裁决 *********************/
CR_REFEREE_PVP_MODE = 4001, //裁决PVP模式
}

View File

@ -6,6 +6,7 @@ import NoviceManager from "../../manager/NoviceManager";
import { JNGLayerBase } from "../../components/JNComponent";
import { app } from "../../App";
import { lerp } from "cc";
import { Env, EnvCurrent } from "../../Env";
const { ccclass, property } = _decorator;
@ccclass('LoadingView')
@ -35,7 +36,12 @@ export default class LoadingView extends JNGLayerBase {
await NoviceManager.getIns().onStart();
//关闭加载页
await app.layer.Open(GUI.Main);
if(EnvCurrent == Env.Server){
//打开服务器主页
await app.layer.Open(GUI.ServerMain);
}else{
await app.layer.Open(GUI.Main);
}
app.layer.Close(GUI.Loading);
}

View File

@ -5,6 +5,7 @@ import { EditBox } from 'cc';
import { app } from '../../App';
import { GUI } from '../UIConfig';
import { StorageData, StorageEnum } from '../../consts/GData';
import { Env, EnvCurrent } from '../../Env';
const { ccclass, property } = _decorator;
@ccclass('LoginView')
@ -20,6 +21,13 @@ export class LoginView extends JNLayerBase {
onJNLoad(resolve?: (token:string) => void): void {
super.onJNLoad();
this.resolve = resolve;
//如果是服务器则取Windows账号密码
if(EnvCurrent == Env.Server){
this.account.string = window['GUser'];
this.password.string = window['GPassworld'];
this.onClickLogin();
}
}

View File

@ -26,8 +26,9 @@ export enum GUI{
/**游戏模式页面 */
PVPModeMatchView = "PVPModeMatchView", //PVP模式匹配页面
Home = "Home", //主页面
Main = "Main", //主页面2
Home = "Home", //主页面
Main = "Main", //主页面2
ServerMain = "ServerMain", //服务器主页
}
@ -132,6 +133,16 @@ export const UIConfig:{ [key: string]: JNLayerInfo; } = {
backInfo:{key:"position",start:v3(0,0,0),end:v3(-720,0,0)}
},
},
[GUI.ServerMain]:{
layer:GLayer.View,
uri: "prefab/ui/主页/ServerMainView",
anims:{
front:JNLayerAnim.Enlarge,
back:JNLayerAnim.Smaller,
frontInfo:{key:"position",start:v3(720,0,0),end:v3(0,0,0)},
backInfo:{key:"position",start:v3(0,0,0),end:v3(-720,0,0)}
},
},
...UISystemConfig, //系统页面
...UINoviceConfig, //新手引导页面
...UIMainConfig, //主页面

@ -1 +1 @@
Subproject commit 275c3cf5d8f108a4ca9d6f22dabdd1d8b853c84c
Subproject commit 95f8a3c6c6310f66d8671958e940291020636a81

View File

@ -1,11 +1,11 @@
{
/* Base configuration. Do not edit this field. */
"extends": "./temp/tsconfig.cocos.json",
"lib": ["ES2017"],
/* Add your custom configuration here. */
"compilerOptions": {
"strict": false,
"lib": [ "dom", "es5", "es2015.promise" ,"es2015", "es2017" ],
"allowSyntheticDefaultImports": true, //
}
}

View File

@ -0,0 +1,55 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg.TB;
import luban.*;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
public final class TbSServerInfo extends AbstractBean {
public TbSServerInfo(JsonObject _buf) {
id = _buf.get("id").getAsInt();
args = _buf.get("args").getAsString();
tig = _buf.get("tig").getAsString();
}
public static TbSServerInfo deserialize(JsonObject _buf) {
return new cfg.TB.TbSServerInfo(_buf);
}
/**
* id
*/
public final int id;
/**
* 全局表参数
*/
public final String args;
/**
* 描述
*/
public final String tig;
public static final int __ID__ = 1231379574;
@Override
public int getTypeId() { return __ID__; }
@Override
public String toString() {
return "{ "
+ "(format_field_name __code_style field.name):" + id + ","
+ "(format_field_name __code_style field.name):" + args + ","
+ "(format_field_name __code_style field.name):" + tig + ","
+ "}";
}
}

View File

@ -39,6 +39,8 @@ public final class Tables
public cfg.TbGRoleCUp getTbGRoleCUp() { return _tbgrolecup; }
private final cfg.TbGRoleCStar _tbgrolecstar;
public cfg.TbGRoleCStar getTbGRoleCStar() { return _tbgrolecstar; }
private final cfg.TbSServerInfo _tbsserverinfo;
public cfg.TbSServerInfo getTbSServerInfo() { return _tbsserverinfo; }
public Tables(IJsonLoader loader) throws java.io.IOException {
_tbgglobal = new cfg.TbGGlobal(loader.load("tbgglobal"));
@ -51,6 +53,7 @@ public final class Tables
_tbgresource = new cfg.TbGResource(loader.load("tbgresource"));
_tbgrolecup = new cfg.TbGRoleCUp(loader.load("tbgrolecup"));
_tbgrolecstar = new cfg.TbGRoleCStar(loader.load("tbgrolecstar"));
_tbsserverinfo = new cfg.TbSServerInfo(loader.load("tbsserverinfo"));
}
}

View File

@ -0,0 +1,37 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg;
import luban.*;
import com.google.gson.JsonElement;
public final class TbSServerInfo {
private final java.util.HashMap<Integer, cfg.TB.TbSServerInfo> _dataMap;
private final java.util.ArrayList<cfg.TB.TbSServerInfo> _dataList;
public TbSServerInfo(JsonElement _buf) {
_dataMap = new java.util.HashMap<Integer, cfg.TB.TbSServerInfo>();
_dataList = new java.util.ArrayList<cfg.TB.TbSServerInfo>();
for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) {
cfg.TB.TbSServerInfo _v;
_v = cfg.TB.TbSServerInfo.deserialize(_e_.getAsJsonObject());
_dataList.add(_v);
_dataMap.put(_v.id, _v);
}
}
public java.util.HashMap<Integer, cfg.TB.TbSServerInfo> getDataMap() { return _dataMap; }
public java.util.ArrayList<cfg.TB.TbSServerInfo> getDataList() { return _dataList; }
public cfg.TB.TbSServerInfo get(int key) { return _dataMap.get(key); }
}

View File

@ -2,20 +2,24 @@ package cn.jisol.game.actions;
public interface GActionEnum {
int TOKEN_EXPIRED = 1001; //Token过期
int TOKEN_EXPIRED = 1001; //Token过期
/*************** 聊天 *********************/
int CHAT_MESSAGE = 2001; //发送聊天消息
int CHAT_RECEIVE_MESSAGE = 2002; //接受聊天消息
int CHAT_MESSAGE = 2001; //发送聊天消息
int CHAT_RECEIVE_MESSAGE = 2002; //接受聊天消息
/*************** PVP *********************/
int S_MODE_PVP_JOIN = 3001; //加入PVP
int S_MODE_PVP_LEAVE = 3002; //离开PVP
int C_MODE_PVP_WAIT = 3003; //等待PVP开始
int C_MODE_PVP_START = 3004; //PVP开始
int C_MODE_PVP_END = 3005; //PVP结束
int C_MODE_PVP_START_WAIT = 3006; //开始等待PVP开始
int C_MODE_PVP_END_WAIT = 3007; //结束等待PVP开始
int C_MODE_PVP_MESSAGE = 3008; //PVP 消息通知
int S_MODE_PVP_JOIN = 3001; //加入PVP
int S_MODE_PVP_LEAVE = 3002; //离开PVP
int C_MODE_PVP_WAIT = 3003; //等待PVP开始
int C_MODE_PVP_START = 3004; //PVP开始
int C_MODE_PVP_END = 3005; //PVP结束
int C_MODE_PVP_START_WAIT = 3006; //开始等待PVP开始
int C_MODE_PVP_END_WAIT = 3007; //结束等待PVP开始
int C_MODE_PVP_MESSAGE = 3008; //PVP 消息通知
/*************** 裁决 *********************/
int CR_REFEREE_PVP_MODE = 4001; //裁决PVP模式
}

View File

@ -0,0 +1,51 @@
package cn.jisol.game.actions;
import cn.jisol.game.network.client.GClient;
import cn.jisol.game.network.client.GRefereeClient;
import cn.jisol.game.proto.GPVPMessage;
import cn.jisol.ngame.actions.core.NAction;
import cn.jisol.ngame.actions.core.NActionMethod;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
/**
* 裁决员行为 处理裁决
*/
@NAction
public class GRefereeAction {
//裁决员列表
public static Map<String, GRefereeClient> REFEREES;
//裁决PVP
public static void onPVPReferee(GPVPMessage.GPVPStart info){
GRefereeClient referee;
//判断是否有裁决员 如果 没有裁决员则返回
if(Objects.isNull(referee = getFreeReferee())) {
System.out.println("没有裁决员");
return;
}
//如果有裁决员则向裁决员发送要裁决的信息
referee.invoke(GActionEnum.CR_REFEREE_PVP_MODE,info);
}
//获取一个空闲的裁决员
public static GRefereeClient getFreeReferee(){
for (String key : REFEREES.keySet()) {
if (!(REFEREES.get(key).isReferee)) {
return REFEREES.get(key);
}
}
return null;
}
}

View File

@ -3,6 +3,7 @@ package cn.jisol.game.actions.onhook;
import cn.hutool.json.JSON;
import cn.hutool.json.JSONUtil;
import cn.jisol.game.actions.GActionEnum;
import cn.jisol.game.actions.GRefereeAction;
import cn.jisol.game.controller.game.GPlayerPetController;
import cn.jisol.game.controller.game.GPlayerTacticalController;
import cn.jisol.game.entity.game.PlayerTactical;
@ -142,6 +143,9 @@ public class GPVPAction {
client1.invoke(GActionEnum.C_MODE_PVP_START, info);
client2.invoke(GActionEnum.C_MODE_PVP_START, info);
//发送裁决
GRefereeAction.onPVPReferee(info);
}
}

View File

@ -0,0 +1,33 @@
package cn.jisol.game.config;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@Component
public class CORSFilter implements Filter {
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException {
HttpServletResponse res = (HttpServletResponse) response;
res.addHeader("Access-Control-Allow-Credentials", "true");
res.addHeader("Access-Control-Allow-Origin", "*");
res.addHeader("Access-Control-Allow-Methods", "GET, POST, DELETE, PUT");
res.addHeader("Access-Control-Allow-Headers", "*");
if (((HttpServletRequest) request).getMethod().equals("OPTIONS")) {
response.getWriter().println("ok");
return;
}
chain.doFilter(request, response);
}
@Override
public void destroy() {
}
@Override
public void init(FilterConfig filterConfig) throws ServletException {
}
}

View File

@ -4,6 +4,7 @@ import cn.jisol.game.entity.User;
import cn.jisol.game.entity.game.Player;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
@ -15,4 +16,7 @@ public class Cache {
public static Map<String, User> TOKEN = new HashMap<>(); //Token
public static Map<Long, Player> PLAYER = new HashMap<>(); //玩家
//裁决员账号
public static List<String> REFEREES;
}

View File

@ -8,4 +8,7 @@ public interface GlobalId {
//OnHook模式 宠物生成数量
int MODE_ON_HOOK_SPAWN_NUM = 80001;
//服务器配置表 裁决员Id
int SERVER_REFEREE_ID = 100001;
}

View File

@ -2,6 +2,9 @@ package cn.jisol.game.listener;
import cfg.Tables;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.json.JSONUtil;
import cn.jisol.game.data.Cache;
import cn.jisol.game.data.GlobalId;
import cn.jisol.game.data.TD;
import com.google.gson.JsonParser;
import org.springframework.context.event.ContextRefreshedEvent;
@ -11,6 +14,7 @@ import org.springframework.stereotype.Component;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
@Component
public class InitGameListener {
@ -24,6 +28,11 @@ public class InitGameListener {
System.out.println("加载配置表:"+file);
return JsonParser.parseString(ResourceUtil.readUtf8Str("json/"+file+".json"));
});
//设置基础缓存信息
//裁决员
Cache.REFEREES = JSONUtil.toList(TD.DATA.getTbSServerInfo().get(GlobalId.SERVER_REFEREE_ID).args, String.class);
} catch (IOException e) {
e.printStackTrace();
}

View File

@ -1,8 +1,11 @@
package cn.jisol.game.network;
import cn.jisol.game.actions.GActionEnum;
import cn.jisol.game.actions.GRefereeAction;
import cn.jisol.game.controller.game.GPlayerController;
import cn.jisol.game.data.Cache;
import cn.jisol.game.network.client.GClient;
import cn.jisol.game.network.client.GRefereeClient;
import cn.jisol.ngame.network.JNetwork;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
@ -30,7 +33,17 @@ public class WebSocket {
WebSocket.playerController = playerController;
}
//玩家列表
public static final Map<String, GClient> CLIENTS = new ConcurrentHashMap<>();
//裁决员列表
public static final Map<String, GRefereeClient> REFEREES = new ConcurrentHashMap<>();
static {
//将裁决员给裁决行为类
GRefereeAction.REFEREES = REFEREES;
}
@OnOpen
public void onOpen(Session session){
@ -47,20 +60,29 @@ public class WebSocket {
}
client.player = playerController.getPlayerInfo(client.user).data;
CLIENTS.put(session.getId(),client);
System.out.printf("[WebSocket] %s 连接成功.\n",session.getId());
//判断玩家是否是裁决员是的话添加到裁决员列表中
if(Cache.REFEREES.contains(client.user.getUserId()+"")){
REFEREES.put(session.getId(),new GRefereeClient(token,session));
System.out.printf("[WebSocket] %s 裁决员连接成功.\n",session.getId());
}else{
CLIENTS.put(session.getId(),client);
System.out.printf("[WebSocket] %s 连接成功.\n",session.getId());
}
}
@OnMessage
public void onMessage(Session session, InputStream inputStream){
GClient client = CLIENTS.get(session.getId());
JNetwork.onMessage(inputStream,client,client,CLIENTS,client.user,client.player);
GClient referee = REFEREES.get(session.getId());
JNetwork.onMessage(inputStream,client,client,referee,CLIENTS,client.user,client.player);
}
@OnClose
public void onClose(Session session){
CLIENTS.remove(session.getId());
REFEREES.remove(session.getId());
}
}

View File

@ -0,0 +1,16 @@
package cn.jisol.game.network.client;
import cn.jisol.ngame.client.QueueNClient;
import javax.websocket.Session;
//裁决员客户端
public class GRefereeClient extends GClient {
//是否正在裁决
public boolean isReferee = false;
public GRefereeClient(String token, Session session) {
super(token, session);
}
}

View File

@ -0,0 +1,7 @@
[
{
"id": 100001,
"args": "[100000]",
"tig": "服务器账号 (用来帧同步裁决)"
}
]

View File

@ -1,53 +1,55 @@
// const URL = "http://192.168.0.174:7457/web-desktop/web-desktop/index.html"
const express = require("express");
const app = express();
const URL = "http://127.0.0.1:3000/static/index.html"
// const express = require("express");
// const app = express();
const URL = "http://192.168.1.23:7456/web-desktop/web-desktop-001/index.html"
const runCocos = () => {
// const runCocos = () => {
const { JSDOM,ResourceLoader } = require('jsdom')
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
const { JSDOM,ResourceLoader } = require('jsdom')
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
const WebGL = require('gl');
const { request } = require('express');
const WebGLRenderingContext = WebGL.WebGLRenderingContext;
WebGLRenderingContext.prototype.texSubImage2D = function(){};
const gl = WebGL(64, 64, { preserveDrawingBuffer: true });
const WebGL = require('gl');
const WebGLRenderingContext = WebGL.WebGLRenderingContext;
WebGLRenderingContext.prototype.texSubImage2D = function(){};
const gl = WebGL(64, 64, { preserveDrawingBuffer: true });
const resourceLoader = new ResourceLoader({
proxy: URL,
strictSSL: false,
userAgent: "Mellblomenator/9000",
});
const resourceLoader = new ResourceLoader({
proxy: URL,
strictSSL: false,
// userAgent: "Mellblomenator/9000",
});
fetch(URL).then(res => res.text()).then(html => {
console.log("HTML Index 文件: ",html)
global.window = (new JSDOM(html, {
url: URL,
referrer: URL,
contentType: "text/html; charset=utf-8",
resources:resourceLoader,
storageQuota: 10000000 ,
runScripts: "dangerously"
})).window;
let HGContext = window.HTMLCanvasElement.prototype.getContext;
window.TextDecoder = global.TextDecoder;
window.HTMLCanvasElement.prototype.getContext = function(type,data) {
if(type == "2d") {
const TD = HGContext.bind(this)(type,data);
TD.RenderComponentHandle = ()=>{}
return TD;
}
return gl;
};
window.requestAnimationFrame = global.requestAnimationFrame;
window.fetch = fetch;
window.GUser = "100000";
window.GPassworld = "123456";
})
fetch(URL).then(res => res.text()).then(html => {
console.log("HTML Index 文件: ",html)
global.window = (new JSDOM(html, {
url: URL,
referrer: URL,
contentType: "text/html; charset=utf-8",
resources:resourceLoader,
storageQuota: 10000000 ,
runScripts: "dangerously"
})).window;
let HGContext = window.HTMLCanvasElement.prototype.getContext;
window.TextDecoder = global.TextDecoder;
window.HTMLCanvasElement.prototype.getContext = function(type,data) {
if(type == "2d") {
const TD = HGContext.bind(this)(type,data);
TD.RenderComponentHandle = ()=>{}
return TD;
}
return gl;
};
window.requestAnimationFrame = global.requestAnimationFrame;
window.fetch = fetch;
})
setTimeout(() => {}, 99999999);
}
app.use('/static', express.static('static'))
app.listen(3000, () => {
console.log("服务启动");
runCocos();
});
setTimeout(() => {}, 99999999);
// }
// app.use('/static', express.static('static'))
// app.listen(3000, () => {
// console.log("服务启动");
// runCocos();
// });

View File

@ -1,63 +0,0 @@
System.register([], function (_export, _context) {
"use strict";
var cc, Application;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
return {
setters: [],
execute: function () {
_export("Application", Application = /*#__PURE__*/function () {
function Application() {
_classCallCheck(this, Application);
this.settingsPath = 'src/settings.json';
this.showFPS = true;
}
_createClass(Application, [{
key: "init",
value: function init(engine) {
cc = engine;
cc.game.onPostBaseInitDelegate.add(this.onPostInitBase.bind(this));
cc.game.onPostSubsystemInitDelegate.add(this.onPostSystemInit.bind(this));
}
}, {
key: "onPostInitBase",
value: function onPostInitBase() {// cc.settings.overrideSettings('assets', 'server', '');
// do custom logic
}
}, {
key: "onPostSystemInit",
value: function onPostSystemInit() {// do custom logic
}
}, {
key: "start",
value: function start() {
return cc.game.init({
debugMode: true ? cc.DebugMode.INFO : cc.DebugMode.ERROR,
settingsPath: this.settingsPath,
overrideSettings: {
// assets: {
// preloadBundles: [{ bundle: 'main', version: 'xxx' }],
// }
profiling: {
showFPS: this.showFPS
}
}
}).then(function () {
return cc.game.run();
});
}
}]);
return Application;
}());
}
};
});

View File

@ -1,145 +0,0 @@
{
"importBase": "import",
"nativeBase": "native",
"name": "internal",
"deps": [],
"uuids": [
"1c02ae6f-4492-4915-b8f8-7492a3b1e4cd",
"50f4348b-c883-4e2f-8f11-ce233b859fa1",
"60f7195c-ec2a-45eb-ba94-8955f60e81d0",
"810e96e4-e456-4468-9b59-f4e8f39732c0",
"871c3b6c-7379-419d-bda3-794b239ab90d",
"8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107",
"970b0598-bcb0-4714-91fb-2e81440dccd8",
"a3cd009f-0ab0-420d-9278-b9fdab939bbc",
"b5d6115f-0370-4d7c-aad3-c194cc71cf98",
"bcd64cc6-2dd9-43f6-abbe-66318d332032",
"c27215d8-6835-4b68-bfbb-bdeac6100c04",
"d930590d-bb92-4cc8-8bd1-23cd027f9edf",
"dd3a144d-ab7f-41f0-82b8-2e43a090d496",
"e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f",
"efe8e2a3-eace-427b-b4f1-cb8a937ec77d",
"f0416e68-0200-4b77-a926-4f9d16e494da",
"f92806d7-1768-443f-afe8-12bcde84d0f0",
"fda095cb-831d-4601-ad94-846013963de8"
],
"paths": {
"60f7195c-ec2a-45eb-ba94-8955f60e81d0": [
"db:/internal/effects/for2d/builtin-sprite",
"cc.EffectAsset"
],
"1c02ae6f-4492-4915-b8f8-7492a3b1e4cd": [
"db:/internal/effects/internal/builtin-graphics",
"cc.EffectAsset"
],
"810e96e4-e456-4468-9b59-f4e8f39732c0": [
"db:/internal/effects/internal/builtin-clear-stencil",
"cc.EffectAsset"
],
"efe8e2a3-eace-427b-b4f1-cb8a937ec77d": [
"db:/internal/default_materials/ui-sprite-gray-material",
"cc.Material"
],
"e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f": [
"db:/internal/default_materials/ui-base-material",
"cc.Material"
],
"8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107": [
"db:/internal/default_materials/default-clear-stencil",
"cc.Material"
],
"50f4348b-c883-4e2f-8f11-ce233b859fa1": [
"db:/internal/default_materials/ui-alpha-test-material",
"cc.Material"
],
"fda095cb-831d-4601-ad94-846013963de8": [
"db:/internal/default_materials/ui-sprite-material",
"cc.Material"
],
"f92806d7-1768-443f-afe8-12bcde84d0f0": [
"db:/internal/default_materials/ui-sprite-alpha-sep-material",
"cc.Material"
],
"dd3a144d-ab7f-41f0-82b8-2e43a090d496": [
"db:/internal/default_materials/ui-sprite-gray-alpha-sep-material",
"cc.Material"
],
"f0416e68-0200-4b77-a926-4f9d16e494da": [
"db:/internal/default_materials/ui-graphics-material",
"cc.Material"
],
"970b0598-bcb0-4714-91fb-2e81440dccd8": [
"db:/internal/effects/util/splash-screen",
"cc.EffectAsset"
],
"bcd64cc6-2dd9-43f6-abbe-66318d332032": [
"db:/internal/default_materials/missing-effect-material",
"cc.Material"
],
"d930590d-bb92-4cc8-8bd1-23cd027f9edf": [
"db:/internal/default_materials/missing-material",
"cc.Material"
],
"a3cd009f-0ab0-420d-9278-b9fdab939bbc": [
"db:/internal/effects/builtin-unlit",
"cc.EffectAsset"
],
"c27215d8-6835-4b68-bfbb-bdeac6100c04": [
"db:/internal/effects/for2d/builtin-spine",
"cc.EffectAsset"
],
"b5d6115f-0370-4d7c-aad3-c194cc71cf98": [
"db:/internal/default_materials/default-spine-material",
"cc.Material"
],
"871c3b6c-7379-419d-bda3-794b239ab90d": [
"db:/internal/effects/util/profiler",
"cc.EffectAsset"
]
},
"scenes": {},
"packs": {},
"versions": {
"import": [],
"native": []
},
"redirect": [],
"debug": true,
"extensionMap": {},
"hasPreloadScript": true,
"dependencyRelationships": {
"50f4348b-c883-4e2f-8f11-ce233b859fa1": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
],
"8bbdbcdd-5cd4-4100-b6d5-b7c9625b6107": [
"810e96e4-e456-4468-9b59-f4e8f39732c0"
],
"b5d6115f-0370-4d7c-aad3-c194cc71cf98": [
"c27215d8-6835-4b68-bfbb-bdeac6100c04"
],
"bcd64cc6-2dd9-43f6-abbe-66318d332032": [
"a3cd009f-0ab0-420d-9278-b9fdab939bbc"
],
"d930590d-bb92-4cc8-8bd1-23cd027f9edf": [
"a3cd009f-0ab0-420d-9278-b9fdab939bbc"
],
"dd3a144d-ab7f-41f0-82b8-2e43a090d496": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
],
"e9aa9a3e-5b2b-4ac7-a2c7-073de2b2b24f": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
],
"efe8e2a3-eace-427b-b4f1-cb8a937ec77d": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
],
"f0416e68-0200-4b77-a926-4f9d16e494da": [
"1c02ae6f-4492-4915-b8f8-7492a3b1e4cd"
],
"f92806d7-1768-443f-afe8-12bcde84d0f0": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
],
"fda095cb-831d-4601-ad94-846013963de8": [
"60f7195c-ec2a-45eb-ba94-8955f60e81d0"
]
}
}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-alpha-test-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_ALPHA_TEST":true,"USE_TEXTURE":true,"IS_GRAY":false,"CC_USE_EMBEDDED_ALPHA":false}]]],0,0,[0],[0],[0]]

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,0,0,[["cc.EffectAsset",["_name","combinations","shaders","techniques"],-1]],[[0,0,1,2,3,5]],[[0,"internal/builtin-clear-stencil",[{}],[{"hash":3507038093,"name":"internal/builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag","blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[],"attributes":[{"name":"a_position","format":32,"location":0,"defines":[]}],"fragColors":[{"name":"cc_FragColor","typename":"vec4","type":16,"count":1,"stageFlags":16,"location":0,"defines":[]}],"descriptors":[{"rate":0,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":1,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":2,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":3,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]}],"glsl3":{"vert":"\nprecision highp float;\nin vec3 a_position;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n return pos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\nprecision highp float;\nvec4 frag () {\n vec4 o = vec4(1.0);\n return o;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"},"glsl1":{"vert":"\nprecision highp float;\nattribute vec3 a_position;\nvec4 vert () {\n vec4 pos = vec4(a_position, 1);\n return pos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\nprecision highp float;\nvec4 frag () {\n vec4 o = vec4(1.0);\n return o;\n}\nvoid main() { gl_FragColor = frag(); }"},"builtins":{"globals":{"blocks":[],"samplerTextures":[],"buffers":[],"images":[]},"locals":{"blocks":[],"samplerTextures":[],"buffers":[],"images":[]},"statistics":{"CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS":0,"CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS":0}},"defines":[]}],[{"passes":[{"program":"internal/builtin-clear-stencil|sprite-vs:vert|sprite-fs:frag","blendState":{"targets":[{"blend":true}]},"rasterizerState":{"cullMode":0},"depthStencilState":{"depthTest":false,"depthWrite":false}}]}]]],0,0,[],[],[]]

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,["810e96e4-e456-4468-9b59-f4e8f39732c0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"default-clear-stencil",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":false}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,[["cc.EffectAsset",["_name","shaders","techniques"],0]],[[0,0,1,2,4]],[[0,"util/splash-screen",[{"hash":3189094080,"name":"util/splash-screen|splash-screen-vs:vert|splash-screen-fs:frag","blocks":[{"name":"Constant","stageFlags":1,"binding":0,"members":[{"name":"u_buffer0","type":16,"count":1},{"name":"u_buffer1","type":16,"count":1},{"name":"u_projection","type":25,"count":1}],"defines":[]},{"name":"Factor","stageFlags":16,"binding":1,"members":[{"name":"u_percent","type":13,"count":1}],"defines":[]}],"samplerTextures":[{"name":"mainTexture","type":28,"count":1,"stageFlags":16,"binding":2,"defines":[]}],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[],"attributes":[{"name":"a_position","format":21,"location":0,"defines":[]},{"name":"a_texCoord","format":21,"location":1,"defines":[]}],"fragColors":[{"name":"cc_FragColor","typename":"vec4","type":16,"count":1,"stageFlags":16,"location":0,"defines":[]}],"descriptors":[{"rate":0,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":1,"blocks":[{"name":"Constant","stageFlags":1,"binding":0,"members":[{"name":"u_buffer0","type":16,"count":1},{"name":"u_buffer1","type":16,"count":1},{"name":"u_projection","type":25,"count":1}],"defines":[]},{"name":"Factor","stageFlags":16,"binding":1,"members":[{"name":"u_percent","type":13,"count":1}],"defines":[]}],"samplerTextures":[{"name":"mainTexture","type":28,"count":1,"stageFlags":16,"binding":2,"defines":[]}],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":2,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]},{"rate":3,"blocks":[],"samplerTextures":[],"samplers":[],"textures":[],"buffers":[],"images":[],"subpassInputs":[]}],"glsl3":{"vert":"\nprecision mediump float;\nin vec2 a_position;\nin vec2 a_texCoord;\nout vec2 v_uv;\nlayout(std140) uniform Constant {\n vec4 u_buffer0;\n vec4 u_buffer1;\n mat4 u_projection;\n};\nvec4 vert () {\n vec2 worldPos = a_position * u_buffer1.xy + u_buffer1.zw;\n vec2 clipSpace = worldPos / u_buffer0.xy * 2.0 - 1.0;\n vec4 screenPos = u_projection * vec4(clipSpace, 0.0, 1.0);\n v_uv = a_texCoord;\n return screenPos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\nprecision mediump float;\nin vec2 v_uv;\nlayout(std140) uniform Factor {\n float u_percent;\n};\nuniform sampler2D mainTexture;\nvec4 frag () {\n vec4 color = texture(mainTexture, v_uv);\n float percent = clamp(u_percent, 0.0, 1.0);\n color.xyz *= percent;\n return color;\n}\nlayout(location = 0) out vec4 cc_FragColor;\nvoid main() { cc_FragColor = frag(); }"},"glsl1":{"vert":"\nprecision mediump float;\nattribute vec2 a_position;\nattribute vec2 a_texCoord;\nvarying vec2 v_uv;\n uniform vec4 u_buffer0;\n uniform vec4 u_buffer1;\n uniform mat4 u_projection;\nvec4 vert () {\n vec2 worldPos = a_position * u_buffer1.xy + u_buffer1.zw;\n vec2 clipSpace = worldPos / u_buffer0.xy * 2.0 - 1.0;\n vec4 screenPos = u_projection * vec4(clipSpace, 0.0, 1.0);\n v_uv = a_texCoord;\n return screenPos;\n}\nvoid main() { gl_Position = vert(); }","frag":"\nprecision mediump float;\nvarying vec2 v_uv;\n uniform float u_percent;\nuniform sampler2D mainTexture;\nvec4 frag () {\n vec4 color = texture2D(mainTexture, v_uv);\n float percent = clamp(u_percent, 0.0, 1.0);\n color.xyz *= percent;\n return color;\n}\nvoid main() { gl_FragColor = frag(); }"},"builtins":{"globals":{"blocks":[],"samplerTextures":[],"buffers":[],"images":[]},"locals":{"blocks":[],"samplerTextures":[],"buffers":[],"images":[]},"statistics":{"CC_EFFECT_USED_VERTEX_UNIFORM_VECTORS":6,"CC_EFFECT_USED_FRAGMENT_UNIFORM_VECTORS":1}},"defines":[]}],[{"name":"default","passes":[{"program":"util/splash-screen|splash-screen-vs:vert|splash-screen-fs:frag","blendState":{"targets":[{"blend":true,"blendSrc":2,"blendDst":4,"blendDstAlpha":4}]},"rasterizerState":{"cullMode":0},"depthStencilState":{"depthTest":false,"depthWrite":false},"properties":{"mainTexture":{"value":"grey","type":28},"resolution":{"type":14,"value":[640,960],"handleInfo":["u_buffer0",0,14]},"percent":{"type":13,"value":[0.5],"handleInfo":["u_percent",0,13]},"scale":{"type":14,"value":[200,500],"handleInfo":["u_buffer1",0,14]},"translate":{"type":14,"value":[320,480],"handleInfo":["u_buffer1",2,14]},"u_buffer0":{"type":16,"value":[640,960,0,0]},"u_percent":{"type":13,"value":[0.5]},"u_buffer1":{"type":16,"value":[200,500,320,480]}}}]}]]],0,0,[],[],[]]

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,["c27215d8-6835-4b68-bfbb-bdeac6100c04"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"default-spine-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":true,"CC_USE_EMBEDDED_ALPHA":false,"IS_GRAY":false}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["a3cd009f-0ab0-420d-9278-b9fdab939bbc"],["_effectAsset"],[["cc.Material",["_name","_states","_defines","_props"],0,12]],[[0,0,1,2,3,4]],[[0,"missing-effect-material",[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_COLOR":true}],[[[{},"mainColor",8,[4,4278255615]]],11]]],0,0,[0],[0],[0]]

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,["a3cd009f-0ab0-420d-9278-b9fdab939bbc"],["_effectAsset"],[["cc.Material",["_name","_states","_defines","_props"],0,12]],[[0,0,1,2,3,4]],[[0,"missing-material",[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_COLOR":true}],[[[{},"mainColor",8,[4,4294902015]]],11]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-sprite-gray-alpha-sep-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":true,"CC_USE_EMBEDDED_ALPHA":true,"IS_GRAY":true}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-base-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":false}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-sprite-gray-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":true,"CC_USE_EMBEDDED_ALPHA":false,"IS_GRAY":true}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["1c02ae6f-4492-4915-b8f8-7492a3b1e4cd"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-graphics-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-sprite-alpha-sep-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":true,"CC_USE_EMBEDDED_ALPHA":true,"IS_GRAY":false}]]],0,0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["60f7195c-ec2a-45eb-ba94-8955f60e81d0"],["_effectAsset"],[["cc.Material",["_name","_props","_states","_defines"],-1]],[[0,0,1,2,3,5]],[[0,"ui-sprite-material",[{}],[{"rasterizerState":{},"depthStencilState":{},"blendState":{"targets":[{}]}}],[{"USE_TEXTURE":true,"IS_GRAY":false,"CC_USE_EMBEDDED_ALPHA":false}]]],0,0,[0],[0],[0]]

View File

@ -1,24 +0,0 @@
System.register("chunks:///internal.js", [], function () {
return {
execute: function () {}
};
});
(function(r) {
r('virtual:///prerequisite-imports/internal', 'chunks:///internal.js');
})(function(mid, cid) {
System.register(mid, [cid], function (_export, _context) {
return {
setters: [function(_m) {
var _exportObj = {};
for (var _key in _m) {
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
}
_export(_exportObj);
}],
execute: function () { }
};
});
});

View File

@ -1,52 +0,0 @@
{
"importBase": "import",
"nativeBase": "native",
"name": "main",
"deps": [
"resources"
],
"uuids": [
"25581f1e-f65e-4797-8a7a-b6718171b165",
"42607a6e-d30a-48cc-8161-2b3426e14703",
"745b8038-b832-48f8-9873-1baa6de58ad7",
"ba21476f-2866-4f81-9c4d-6e359316e448",
"fd8ec536-a354-4a17-9c74-4f3883c378c8"
],
"paths": {
"42607a6e-d30a-48cc-8161-2b3426e14703": [
"db:/assets/Main",
"cc.SceneAsset"
],
"fd8ec536-a354-4a17-9c74-4f3883c378c8": [
"db:/internal/default_renderpipeline/builtin-forward",
"cc.RenderPipeline"
],
"ba21476f-2866-4f81-9c4d-6e359316e448": [
"db:/internal/physics/default-physics-material",
"cc.PhysicsMaterial"
]
},
"scenes": {
"db://assets/Main.scene": "42607a6e-d30a-48cc-8161-2b3426e14703"
},
"packs": {},
"versions": {
"import": [],
"native": []
},
"redirect": [
"25581f1e-f65e-4797-8a7a-b6718171b165",
"0",
"745b8038-b832-48f8-9873-1baa6de58ad7",
"0"
],
"debug": true,
"extensionMap": {},
"hasPreloadScript": true,
"dependencyRelationships": {
"42607a6e-d30a-48cc-8161-2b3426e14703": [
"745b8038-b832-48f8-9873-1baa6de58ad7",
"25581f1e-f65e-4797-8a7a-b6718171b165"
]
}
}

View File

@ -1 +0,0 @@
[1,["745b8038-b832-48f8-9873-1baa6de58ad7","25581f1e-f65e-4797-8a7a-b6718171b165"],["UIPrefab","WorldPrefab","node","scene"],[["cc.SceneAsset",["_name"],2],["cc.Scene",["_name","_children","_prefab","_globals"],2,2,4,4],["cc.Node",["_name","_layer","_id","_parent","_components"],0,1,9],["1e0e1EfsZhOOZDlp+IFMryA",["node","UIPrefab","WorldPrefab"],3,1,6,6],["cc.PrefabInfo",["root","asset","fileId","instance","targetOverrides","nestedPrefabInstanceRoots"],-3],["cc.SceneGlobals",["ambient","shadows","_skybox","fog","octree","skin","lightProbeInfo","postSettings"],3,4,4,4,4,4,4,4,4],["cc.AmbientInfo",["_skyColorHDR","_groundAlbedoHDR"],3,5,5],["cc.ShadowsInfo",["_shadowColor","_size"],3,5,5],["cc.SkyboxInfo",[],3],["cc.FogInfo",[],3],["cc.OctreeInfo",[],3],["cc.SkinInfo",[],3],["cc.LightProbeInfo",[],3],["cc.PostSettingsInfo",[],3]],[[0,0,2],[1,0,1,2,3,2],[2,0,1,2,3,4,4],[3,0,1,2,1],[4,0,1,2,3,4,5,7],[5,0,1,2,3,4,5,6,7,1],[6,0,1,1],[7,0,1,1],[8,1],[9,1],[10,1],[11,1],[12,1],[13,1]],[[0,"Main"],[1,"Main",[-1],[4,null,null,"42607a6e-d30a-48cc-8161-2b3426e14703",null,null,null],[5,[6,[2,0,0,0,0.520833125],[2,0,0,0,0]],[7,[4,4283190348],[0,512,512]],[8],[9],[10],[11],[12],[13]]],[2,"Main",33554432,"5eRrvQLR5OMLtBx7381QA8",1,[[3,-2,0,1]]]],0,[0,-1,2,0,2,2,0,3,1,2],[0,0],[0,1],[0,1]]

View File

@ -1 +0,0 @@
[1,0,0,[["cc.PhysicsMaterial",["_name","_friction","_rollingFriction","_spinningFriction","_restitution"],-2]],[[0,0,1,2,3,4,6]],[[0,"default-physics-material",0.8,0.1,0.1,0.1]],0,0,[],[],[]]

View File

@ -1 +0,0 @@
[1,0,0,[["RenderQueueDesc",["stages","isTransparent","sortMode"],0],["ForwardPipeline",["_flows"],3,9],["ShadowFlow",["_name","_stages"],2,9],["ShadowStage",["_name"],2],["ForwardFlow",["_name","_priority","_stages"],1,9],["ForwardStage",["_name","renderQueues"],2,9]],[[1,0,1],[2,0,1,2],[3,0,2],[4,0,1,2,3],[5,0,1,2],[0,0,2],[0,1,2,0,4]],[[0,[[1,"ShadowFlow",[[2,"ShadowStage"]]],[3,"ForwardFlow",1,[[4,"ForwardStage",[[5,["default"]],[6,true,1,["default"]]]]]]]]],0,0,[],[],[]]

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +0,0 @@
System.register([], (function (exports, module) {
'use strict';
return {
execute: (function () {
var spine = exports('default', 'assets/spine-a0005c42.wasm');
})
};
}));

File diff suppressed because one or more lines are too long

View File

@ -1,10 +0,0 @@
System.register([], (function (exports, module) {
'use strict';
return {
execute: (function () {
var spine_js = exports('default', 'assets/spine.js.mem-c0c591ab.bin');
})
};
}));

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,46 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cocos Creator | JisolGameCocos</title>
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="yes"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="icon" href="favicon.ico"/>
</head>
<body>
<h1 class="header">JisolGameCocos</h1>
<div id="GameDiv" cc_exact_fit_screen="false" style="width: 720px; height: 1280px;">
<div id="Cocos3dGameContainer">
<canvas id="GameCanvas" width="720" height="1280" tabindex="99"></canvas>
</div>
</div>
<p class="footer">
Created with <a href="https://www.cocos.com/products" title="Cocos Creator">Cocos Creator</a>
</p>
<!-- Polyfills bundle. -->
<script src="src/polyfills.bundle.js" charset="utf-8"> </script>
<!-- SystemJS support. -->
<script src="src/system.bundle.js" charset="utf-8"> </script>
<!-- Import map -->
<script src="src/import-map.json" type="systemjs-importmap" charset="utf-8"> </script>
<script>
System.import('./index.js').catch(function(err) { console.error(err); })
</script>
</body>
</html>

View File

@ -1,25 +0,0 @@
System.register(["./application.js"], function (_export, _context) {
"use strict";
var Application, application;
function topLevelImport(url) {
return System["import"](url);
}
return {
setters: [function (_applicationJs) {
Application = _applicationJs.Application;
}],
execute: function () {
application = new Application();
topLevelImport('cc').then(function (engine) {
return application.init(engine);
}).then(function () {
return application.start();
})["catch"](function (err) {
console.error(err);
});
}
};
});

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["001fea8b-233c-4830-96aa-5f0d9845668b@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"timo5 013","rect":{"x":1,"y":1,"width":82,"height":83},"offset":{"x":0,"y":0},"originalSize":{"width":84,"height":85},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-41,-41.5,0,41,-41.5,0,-41,41.5,0,41,41.5,0],"indexes":[0,1,2,2,1,3],"uv":[1,84,83,84,1,1,83,1],"nuv":[0.011904761904761904,0.011764705882352941,0.9880952380952381,0.011764705882352941,0.011904761904761904,0.9882352941176471,0.9880952380952381,0.9882352941176471],"minPos":{"x":-41,"y":-41.5,"z":0},"maxPos":{"x":41,"y":41.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,[["cc.Asset",["_name","_native"],1]],[[0,0,1,3]],[[0,"guaiA1a",".spine"],-1],0,0,[],[],[]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["026823e5-14f5-4f70-a73e-88a3f8e8001e@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"baozha0003","rect":{"x":13,"y":12,"width":176,"height":163},"offset":{"x":1,"y":-1},"originalSize":{"width":200,"height":185},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-88,-81.5,0,88,-81.5,0,-88,81.5,0,88,81.5,0],"indexes":[0,1,2,2,1,3],"uv":[13,173,189,173,13,10,189,10],"nuv":[0.065,0.05405405405405406,0.945,0.05405405405405406,0.065,0.9351351351351351,0.945,0.9351351351351351],"minPos":{"x":-88,"y":-81.5,"z":0},"maxPos":{"x":88,"y":81.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["03942db8-6a99-42a3-98cf-70229cc5403e@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"cao","rect":{"x":0,"y":0,"width":38,"height":42},"offset":{"x":0,"y":0},"originalSize":{"width":38,"height":42},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-19,-21,0,19,-21,0,-19,21,0,19,21,0],"indexes":[0,1,2,2,1,3],"uv":[0,42,38,42,0,0,38,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-19,"y":-21,"z":0},"maxPos":{"x":19,"y":21,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["0423f835-3fbe-49d7-9c6a-ff9588e5c122@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"z_yanjing_bz","rect":{"x":0,"y":0,"width":18,"height":20},"offset":{"x":0,"y":0},"originalSize":{"width":18,"height":20},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-9,-10,0,9,-10,0,-9,10,0,9,10,0],"indexes":[0,1,2,2,1,3],"uv":[0,20,18,20,0,0,18,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-9,"y":-10,"z":0},"maxPos":{"x":9,"y":10,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["063fc0a8-27de-4950-b87e-f8d93a8c97af@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"zui_pingshi","rect":{"x":0,"y":0,"width":49,"height":14},"offset":{"x":0,"y":0},"originalSize":{"width":49,"height":14},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-24.5,-7,0,24.5,-7,0,-24.5,7,0,24.5,7,0],"indexes":[0,1,2,2,1,3],"uv":[0,14,49,14,0,0,49,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-24.5,"y":-7,"z":0},"maxPos":{"x":24.5,"y":7,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["06e4dec4-9199-42fa-81c9-1d6c8dce5e3e@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"z_yan_shengli","rect":{"x":0,"y":0,"width":8,"height":7},"offset":{"x":0,"y":0},"originalSize":{"width":8,"height":7},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-4,-3.5,0,4,-3.5,0,-4,3.5,0,4,3.5,0],"indexes":[0,1,2,2,1,3],"uv":[0,7,8,7,0,0,8,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-4,"y":-3.5,"z":0},"maxPos":{"x":4,"y":3.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["07a6e3b4-0690-4be3-bd6a-ddb8655d0928@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"004","rect":{"x":0,"y":0,"width":224,"height":88},"offset":{"x":0,"y":0},"originalSize":{"width":224,"height":88},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-112,-44,0,112,-44,0,-112,44,0,112,44,0],"indexes":[0,1,2,2,1,3],"uv":[0,88,224,88,0,0,224,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-112,"y":-44,"z":0},"maxPos":{"x":112,"y":44,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["09e80ecb-3cc1-4551-b843-6c2ce7ac1d9e@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"shenti","rect":{"x":1,"y":1,"width":137,"height":68},"offset":{"x":0,"y":0},"originalSize":{"width":139,"height":70},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-68.5,-34,0,68.5,-34,0,-68.5,34,0,68.5,34,0],"indexes":[0,1,2,2,1,3],"uv":[1,69,138,69,1,1,138,1],"nuv":[0.007194244604316547,0.014285714285714285,0.9928057553956835,0.014285714285714285,0.007194244604316547,0.9857142857142858,0.9928057553956835,0.9857142857142858],"minPos":{"x":-68.5,"y":-34,"z":0},"maxPos":{"x":68.5,"y":34,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["0a2ed6e6-8614-4176-a464-4c673e0d6847@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"08","rect":{"x":0,"y":0,"width":292,"height":227},"offset":{"x":-13,"y":24.5},"originalSize":{"width":318,"height":276},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-146,-113.5,0,146,-113.5,0,-146,113.5,0,146,113.5,0],"indexes":[0,1,2,2,1,3],"uv":[0,276,292,276,0,49,292,49],"nuv":[0,0.17753623188405798,0.9182389937106918,0.17753623188405798,0,1,0.9182389937106918,1],"minPos":{"x":-146,"y":-113.5,"z":0},"maxPos":{"x":146,"y":113.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["0a9ca732-f79e-47a8-865f-a11df7979eac@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"Energy 007 Impact Radial_00008","rect":{"x":1,"y":2,"width":31,"height":31},"offset":{"x":0,"y":-1},"originalSize":{"width":33,"height":33},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-15.5,-15.5,0,15.5,-15.5,0,-15.5,15.5,0,15.5,15.5,0],"indexes":[0,1,2,2,1,3],"uv":[1,31,32,31,1,0,32,0],"nuv":[0.030303030303030304,0,0.9696969696969697,0,0.030303030303030304,0.9393939393939394,0.9696969696969697,0.9393939393939394],"minPos":{"x":-15.5,"y":-15.5,"z":0},"maxPos":{"x":15.5,"y":15.5,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

View File

@ -1 +0,0 @@
[1,["0af1bd07-ba37-4db6-bcdb-bd52c636cc65@6c48a"],["_textureSource"],["cc.SpriteFrame"],0,[{"name":"y_bianzi1_bz","rect":{"x":0,"y":0,"width":28,"height":24},"offset":{"x":0,"y":0},"originalSize":{"width":28,"height":24},"rotated":false,"capInsets":[0,0,0,0],"vertices":{"rawPosition":[-14,-12,0,14,-12,0,-14,12,0,14,12,0],"indexes":[0,1,2,2,1,3],"uv":[0,24,28,24,0,0,28,0],"nuv":[0,0,1,0,0,1,1,1],"minPos":{"x":-14,"y":-12,"z":0},"maxPos":{"x":14,"y":12,"z":0}},"packable":true,"pixelsToUnit":100,"pivot":{"x":0.5,"y":0.5},"meshType":0}],[0],0,[0],[0],[0]]

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
[1,0,0,[["cc.Asset",["_name","_native"],1]],[[0,0,1,3]],[[0,"guaiA1a",".spine"],-1],0,0,[],[],[]]

View File

@ -1 +0,0 @@
[1,0,0,["cc.ImageAsset"],0,[{"fmt":"0","w":0,"h":0},-1],[0],0,[],[],[]]

Some files were not shown because too many files have changed in this diff Show More