diff --git a/assets/GlobalScript/GameScript/GameScript.ts b/assets/GlobalScript/GameScript/GameScript.ts index 3778921..9f04737 100644 --- a/assets/GlobalScript/GameScript/GameScript.ts +++ b/assets/GlobalScript/GameScript/GameScript.ts @@ -106,6 +106,7 @@ class ScriptTree { //如果这个是空就读取一下 if (this.StringtableBaseBuf == undefined) { const FileObject = this.TreeMap.get("stringtable.bin"); + if (FileObject == undefined) return true; this.StringtableBaseBuf = this.Script_Data_Buffer.slice( FileObject.StartPos + FileObject.Offset, FileObject.StartPos + FileObject.Offset + FileObject.Length @@ -147,6 +148,7 @@ class ScriptTree { Load_StringTable: Map = new Map(); InitLoad_String() { const FileObject = this.TreeMap.get("n_string.lst"); + if (FileObject == undefined) return; let RealBuf = this.Script_Data_Buffer.slice( FileObject.StartPos + FileObject.Offset, FileObject.StartPos + FileObject.Offset + FileObject.Length diff --git a/assets/GlobalScript/GlobalAudio.meta b/assets/GlobalScript/GlobalAudio.meta new file mode 100644 index 0000000..c51e8c2 --- /dev/null +++ b/assets/GlobalScript/GlobalAudio.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "f264c8dc-cc2a-4860-871b-18e75f0a85f6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/GlobalScript/GlobalAudio/GlobalAudio.ts b/assets/GlobalScript/GlobalAudio/GlobalAudio.ts new file mode 100644 index 0000000..62432c7 --- /dev/null +++ b/assets/GlobalScript/GlobalAudio/GlobalAudio.ts @@ -0,0 +1,152 @@ +import { Node, AudioSource, AudioClip, resources, director, _decorator, TextAsset, error, JsonAsset } from 'cc'; +const { ccclass, property } = _decorator; + +/** + * @en + * this is a sington class for audio play, can be easily called from anywhere in you project. + * @zh + * 这是一个用于播放音频的单件类,可以很方便地在项目的任何地方调用。 + */ +export class GlobalAudio { + + AudioManager: object; + + //@zh 创建一个节点作为 GlobalAudio + private static instance: GlobalAudio; + + public static getInstance(): GlobalAudio { + if (!GlobalAudio.instance) { + GlobalAudio.instance = new GlobalAudio(); + } + return GlobalAudio.instance; + } + + private _audioSource: AudioSource; + constructor() { + //@en create a node as GlobalAudio + //@zh 创建一个节点作为 GlobalAudio + let GlobalAudio = new Node(); + GlobalAudio.name = '__GlobalAudio__'; + + //@en add to the scene. + //@zh 添加节点到场景 + director.getScene().addChild(GlobalAudio); + + //@en make it as a persistent node, so it won't be destroied when scene change. + //@zh 标记为常驻节点,这样场景切换的时候就不会被销毁了 + director.addPersistRootNode(GlobalAudio); + + //@en add AudioSource componrnt to play audios. + //@zh 添加 AudioSource 组件,用于播放音频。 + this._audioSource = GlobalAudio.addComponent(AudioSource); + } + + + //初始化完成以后的回调方法 + LoadCallBack: Function; + Init(Func: Function) { + //储存回调 + this.LoadCallBack = Func; + this.LoadAudioXml(); + } + + + //加载音频Map + LoadAudioXml() { + resources.load("Sound/audio", (err, json: JsonAsset) => { + if (err) { + console.error(err); + } + this.AudioManager = json.json!; + this.LoadCallBack(); + }); + } + + + PlaySound(sound: string, volume: number = 1.0) { + if (this.AudioManager.hasOwnProperty(sound)) { + this.playOneShot(this.AudioManager[sound], volume); + } + else { + console.error("音频不存在,路径: " + sound); + } + } + + + public get audioSource() { + return this._audioSource; + } + + /** + * @en + * play short audio, such as strikes,explosions + * @zh + * 播放短音频,比如 打击音效,爆炸音效等 + * @param sound clip or url for the audio + * @param volume + */ + playOneShot(sound: AudioClip | string, volume: number = 1.0) { + if (sound instanceof AudioClip) { + this._audioSource.playOneShot(sound, volume); + } + else { + resources.load(sound, (err, clip: AudioClip) => { + if (err) { + console.log(err); + } + else { + this._audioSource.playOneShot(clip, volume); + } + }); + } + } + + /** + * @en + * play long audio, such as the bg music + * @zh + * 播放长音频,比如 背景音乐 + * @param sound clip or url for the sound + * @param volume + */ + play(sound: AudioClip | string, volume: number = 1.0) { + if (sound instanceof AudioClip) { + this._audioSource.clip = sound; + this._audioSource.play(); + this.audioSource.volume = volume; + } + else { + resources.load(sound, (err, clip: AudioClip) => { + if (err) { + console.log(err); + } + else { + this._audioSource.clip = clip; + this._audioSource.play(); + this.audioSource.volume = volume; + } + }); + } + } + + /** + * stop the audio play + */ + stop() { + this._audioSource.stop(); + } + + /** + * pause the audio play + */ + pause() { + this._audioSource.pause(); + } + + /** + * resume the audio play + */ + resume() { + this._audioSource.play(); + } +} \ No newline at end of file diff --git a/assets/GlobalScript/GlobalAudio/GlobalAudio.ts.meta b/assets/GlobalScript/GlobalAudio/GlobalAudio.ts.meta new file mode 100644 index 0000000..c117bbc --- /dev/null +++ b/assets/GlobalScript/GlobalAudio/GlobalAudio.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "558c9b23-b4be-4a87-8017-8c41659d1a14", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/ImagePack.meta b/assets/ImagePack.meta index add3fca..3430b37 100644 --- a/assets/ImagePack.meta +++ b/assets/ImagePack.meta @@ -5,5 +5,8 @@ "uuid": "5b32215f-78d7-4705-baaa-53792dcadf16", "files": [], "subMetas": {}, - "userData": {} + "userData": { + "isBundle": true, + "bundleName": "ImagePacks" + } } diff --git a/assets/resources/Script/2Rindro_Script.bin b/assets/resources/Script/2Rindro_Script.bin deleted file mode 100644 index 0cd1cf1..0000000 Binary files a/assets/resources/Script/2Rindro_Script.bin and /dev/null differ diff --git a/assets/resources/Script/2Rindro_Script.bin.meta b/assets/resources/Script/2Rindro_Script.bin.meta deleted file mode 100644 index a5bdf94..0000000 --- a/assets/resources/Script/2Rindro_Script.bin.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.0.3", - "importer": "buffer", - "imported": true, - "uuid": "ccfefd50-bee9-4800-8e73-adef62fcba59", - "files": [ - ".bin", - ".json" - ], - "subMetas": {}, - "userData": {} -} diff --git a/assets/resources/Script/Rindro_Script.bin b/assets/resources/Script/Rindro_Script.bin index 6fbfc15..79944e4 100644 Binary files a/assets/resources/Script/Rindro_Script.bin and b/assets/resources/Script/Rindro_Script.bin differ diff --git a/assets/resources/Script/Rindro_Script.pvf b/assets/resources/Script/Rindro_Script.pvf index 6fbfc15..79944e4 100644 Binary files a/assets/resources/Script/Rindro_Script.pvf and b/assets/resources/Script/Rindro_Script.pvf differ diff --git a/assets/resources/Script/Rindro_Script.pvf.meta b/assets/resources/Script/Rindro_Script.pvf.meta index 033342c..d82b065 100644 --- a/assets/resources/Script/Rindro_Script.pvf.meta +++ b/assets/resources/Script/Rindro_Script.pvf.meta @@ -2,7 +2,7 @@ "ver": "1.0.1", "importer": "*", "imported": true, - "uuid": "074ff146-b817-4b1a-bbbd-48e81ee228fa", + "uuid": "a278bd5f-126a-4884-ab22-ebcacc1ec17c", "files": [ ".json", ".pvf" diff --git a/assets/resources/Video/Login/Login_BackGround_Logic.ts b/assets/resources/Video/Login/Login_BackGround_Logic.ts index f3b89af..1cb63b6 100644 --- a/assets/resources/Video/Login/Login_BackGround_Logic.ts +++ b/assets/resources/Video/Login/Login_BackGround_Logic.ts @@ -11,7 +11,7 @@ export class Login_BackGround_Logic extends Component { update(deltaTime: number) { // GlobalAudio.inst.playOneShot("Sound/list_click"); - + } } diff --git a/assets/resources/loding.meta b/assets/resources/loding.meta new file mode 100644 index 0000000..6ca7ea4 --- /dev/null +++ b/assets/resources/loding.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "1324e172-c1d1-4d25-aed2-4df091873819", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/loding/LodingLogic.ts b/assets/resources/loding/LodingLogic.ts new file mode 100644 index 0000000..4431aef --- /dev/null +++ b/assets/resources/loding/LodingLogic.ts @@ -0,0 +1,59 @@ +import { _decorator, Component, director, Node } from 'cc'; +import { GlobalAudio } from '../../GlobalScript/GlobalAudio/GlobalAudio'; +import { ImagePack } from '../../GlobalScript/ImagePack/ImagePack'; +import { GameScript } from '../../GlobalScript/GameScript/GameScript'; +const { ccclass, property } = _decorator; + + +@ccclass('LodingLogic') +export class LodingLogic extends Component { + + //Logo播放完成状态 + LogoFlag = true; + //InitFlag + InitFlag = false; + //音频管理器初始化状态 + AudioManage: boolean = false; + //NPK管理器初始化状态 + NpkManage: boolean = false; + //Pvf管理器初始化状态 + PvfManage: boolean = false; + start() { + //初始化音频Map + GlobalAudio.getInstance().Init(() => { + this.AudioManage = true; + }); + //初始化Npk + ImagePack.getInstance().init(() => { + this.NpkManage = true; + }); + //初始化Pvf + GameScript.getInstance().Init(() => { + this.PvfManage = true; + }); + } + + CheckInitState() { + if (!this.NpkManage + || !this.PvfManage) + return false; + else return true; + } + + update(deltaTime: number) { + if (this.CheckInitState() && !this.InitFlag && this.LogoFlag) { + + this.scheduleOnce(function () { + // director.loadScene("LoginGame"); + director.loadScene("main"); + }, 0); + + this.InitFlag = true; + } else { + //每帧调用 + GameScript.getInstance().Update(); + } + } +} + + diff --git a/assets/resources/loding/LodingLogic.ts.meta b/assets/resources/loding/LodingLogic.ts.meta new file mode 100644 index 0000000..451afd8 --- /dev/null +++ b/assets/resources/loding/LodingLogic.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "be02c91c-2774-40f6-ac7b-47b9b9e5d166", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png b/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png new file mode 100644 index 0000000..883fcc0 Binary files /dev/null and b/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png differ diff --git a/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png.meta b/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png.meta new file mode 100644 index 0000000..d797f19 --- /dev/null +++ b/assets/resources/loding/{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "1105e4dc-6a6d-4d18-9487-2d7965fa555f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "1105e4dc-6a6d-4d18-9487-2d7965fa555f@6c48a", + "displayName": "{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "1105e4dc-6a6d-4d18-9487-2d7965fa555f", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "1105e4dc-6a6d-4d18-9487-2d7965fa555f@f9941", + "displayName": "{56D8769E-2637-4fb4-A1AC-BDF8249F32C1}", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 1920, + "height": 532, + "rawWidth": 1920, + "rawHeight": 532, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -960, + -266, + 0, + 960, + -266, + 0, + -960, + 266, + 0, + 960, + 266, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 532, + 1920, + 532, + 0, + 0, + 1920, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -960, + -266, + 0 + ], + "maxPos": [ + 960, + 266, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "1105e4dc-6a6d-4d18-9487-2d7965fa555f@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "1105e4dc-6a6d-4d18-9487-2d7965fa555f@f9941" + } +} diff --git a/assets/scene.meta b/assets/scene.meta new file mode 100644 index 0000000..3af5a61 --- /dev/null +++ b/assets/scene.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "194984c5-bb91-4982-bb36-d837df3084c1", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/loading.meta b/assets/scene/loading.meta new file mode 100644 index 0000000..4761207 --- /dev/null +++ b/assets/scene/loading.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "8aa6842a-91d7-4a26-9faf-7086795e1aa1", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/loading/(18)nowloading.png b/assets/scene/loading/(18)nowloading.png new file mode 100644 index 0000000..0e90e8f Binary files /dev/null and b/assets/scene/loading/(18)nowloading.png differ diff --git a/assets/scene/loading/(18)nowloading.png.meta b/assets/scene/loading/(18)nowloading.png.meta new file mode 100644 index 0000000..084ec2c --- /dev/null +++ b/assets/scene/loading/(18)nowloading.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "41a61acc-9791-441f-a37d-7d91a4283d02", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "41a61acc-9791-441f-a37d-7d91a4283d02@6c48a", + "displayName": "(18)nowloading", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "41a61acc-9791-441f-a37d-7d91a4283d02", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "41a61acc-9791-441f-a37d-7d91a4283d02@f9941", + "displayName": "(18)nowloading", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 210, + "height": 213, + "rawWidth": 210, + "rawHeight": 213, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -105, + -106.5, + 0, + 105, + -106.5, + 0, + -105, + 106.5, + 0, + 105, + 106.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 213, + 210, + 213, + 0, + 0, + 210, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -105, + -106.5, + 0 + ], + "maxPos": [ + 105, + 106.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "41a61acc-9791-441f-a37d-7d91a4283d02@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "41a61acc-9791-441f-a37d-7d91a4283d02@f9941" + } +} diff --git a/assets/scene/loading/loadingGame.ts b/assets/scene/loading/loadingGame.ts new file mode 100644 index 0000000..25c19c5 --- /dev/null +++ b/assets/scene/loading/loadingGame.ts @@ -0,0 +1,32 @@ +import { _decorator, color, Component, Node, Sprite, tween, Vec3 } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('loading_game') +export class loading_game extends Component { + start() { + //线性减淡 + const RD = this.node.getComponent(Sprite).getMaterialInstance(0); + RD.overridePipelineStates({ + blendState: { + isA2C: true, + isIndepend: true, + targets: [{ + blend: true, + blendSrc: 1, + blendDst: 1, + blendSrcAlpha: 1, + blendDstAlpha: 1, + }] + }, + }, 0); + + //旋转缓动 + tween(this.node).by(1.5, { angle: -360 },).repeatForever().start(); + } + + update(deltaTime: number) { + + } +} + + diff --git a/assets/scene/loading/loadingGame.ts.meta b/assets/scene/loading/loadingGame.ts.meta new file mode 100644 index 0000000..496d945 --- /dev/null +++ b/assets/scene/loading/loadingGame.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "ed7e42d9-f7e0-4647-a5ea-c72d4aefd294", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/loading/loading_start_circle.png b/assets/scene/loading/loading_start_circle.png new file mode 100644 index 0000000..a9b520b Binary files /dev/null and b/assets/scene/loading/loading_start_circle.png differ diff --git a/assets/scene/loading/loading_start_circle.png.meta b/assets/scene/loading/loading_start_circle.png.meta new file mode 100644 index 0000000..65355c8 --- /dev/null +++ b/assets/scene/loading/loading_start_circle.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "d838745f-fc88-48db-8abb-e16bfb679ae6", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "d838745f-fc88-48db-8abb-e16bfb679ae6@6c48a", + "displayName": "loading_start_circle", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "d838745f-fc88-48db-8abb-e16bfb679ae6", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "d838745f-fc88-48db-8abb-e16bfb679ae6@f9941", + "displayName": "loading_start_circle", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 45, + "height": 45, + "rawWidth": 45, + "rawHeight": 45, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -22.5, + -22.5, + 0, + 22.5, + -22.5, + 0, + -22.5, + 22.5, + 0, + 22.5, + 22.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 45, + 45, + 45, + 0, + 0, + 45, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -22.5, + -22.5, + 0 + ], + "maxPos": [ + 22.5, + 22.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "d838745f-fc88-48db-8abb-e16bfb679ae6@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "d838745f-fc88-48db-8abb-e16bfb679ae6@f9941" + } +} diff --git a/assets/scene/loading/nowloading.png b/assets/scene/loading/nowloading.png new file mode 100644 index 0000000..5229bbd Binary files /dev/null and b/assets/scene/loading/nowloading.png differ diff --git a/assets/scene/loading/nowloading.png.meta b/assets/scene/loading/nowloading.png.meta new file mode 100644 index 0000000..ebfe472 --- /dev/null +++ b/assets/scene/loading/nowloading.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "235eaff0-b052-4034-aabc-b9023743f51c", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "235eaff0-b052-4034-aabc-b9023743f51c@6c48a", + "displayName": "nowloading", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "235eaff0-b052-4034-aabc-b9023743f51c", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "235eaff0-b052-4034-aabc-b9023743f51c@f9941", + "displayName": "nowloading", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 170, + "height": 30, + "rawWidth": 170, + "rawHeight": 30, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -85, + -15, + 0, + 85, + -15, + 0, + -85, + 15, + 0, + 85, + 15, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 30, + 170, + 30, + 0, + 0, + 170, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -85, + -15, + 0 + ], + "maxPos": [ + 85, + 15, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "235eaff0-b052-4034-aabc-b9023743f51c@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "hasAlpha": true, + "fixAlphaTransparencyArtifacts": false, + "redirect": "235eaff0-b052-4034-aabc-b9023743f51c@f9941" + } +} diff --git a/assets/scene.scene b/assets/scene/loding.scene similarity index 79% rename from assets/scene.scene rename to assets/scene/loding.scene index 8eb7ce8..5dc186b 100644 --- a/assets/scene.scene +++ b/assets/scene/loding.scene @@ -1,7 +1,7 @@ [ { "__type__": "cc.SceneAsset", - "_name": "scene", + "_name": "loding", "_objFlags": 0, "__editorExtras__": {}, "_native": "", @@ -11,7 +11,7 @@ }, { "__type__": "cc.Scene", - "_name": "scene", + "_name": "loding", "_objFlags": 0, "__editorExtras__": {}, "_parent": null, @@ -22,9 +22,7 @@ ], "_active": true, "_components": [], - "_prefab": { - "__id__": 27 - }, + "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, @@ -54,9 +52,9 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 28 + "__id__": 25 }, - "_id": "f713b5ea-a70f-486c-8260-0338f089a5b8" + "_id": "efb7fd68-0786-4a0e-8e5d-46841ad6023c" }, { "__type__": "cc.Node", @@ -72,18 +70,33 @@ }, { "__id__": 5 + }, + { + "__id__": 8 + }, + { + "__id__": 11 + }, + { + "__id__": 15 + }, + { + "__id__": 18 } ], "_active": true, "_components": [ + { + "__id__": 21 + }, + { + "__id__": 22 + }, + { + "__id__": 23 + }, { "__id__": 24 - }, - { - "__id__": 25 - }, - { - "__id__": 26 } ], "_prefab": null, @@ -175,7 +188,7 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 363.7690494893952, + "_orthoHeight": 346.1673212882954, "_near": 0, "_far": 1000, "_color": { @@ -209,83 +222,27 @@ }, { "__type__": "cc.Node", - "_name": "GmaeRoot", + "_name": "bg_01", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 2 }, - "_children": [ + "_children": [], + "_active": true, + "_components": [ { "__id__": 6 }, - { - "__id__": 13 - } - ], - "_active": true, - "_components": [ - { - "__id__": 23 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": -533.5, - "y": -300.00000000000006, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "f4LXdw0ZdIvJ9c7QYrhEej" - }, - { - "__type__": "cc.Node", - "_name": "man", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 5 - }, - "_children": [ { "__id__": 7 } ], - "_active": true, - "_components": [ - { - "__id__": 11 - }, - { - "__id__": 12 - } - ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 533.5, - "y": 300.00000000000006, + "x": 0, + "y": 0, "z": 0 }, "_lrot": { @@ -297,8 +254,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 1.12, + "y": 1.12, "z": 1 }, "_mobility": 0, @@ -309,22 +266,80 @@ "y": 0, "z": 0 }, - "_id": "15jnF2IOpHl7U589UpZ7wK" + "_id": "81fo730NhE+JRbQKTVUPVA" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1920, + "height": 532 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d9lIBfrpdGy6HWRrv/jlt7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1105e4dc-6a6d-4d18-9487-2d7965fa555f@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": "ba5N275/hF+4JqU1zdAF6H" }, { "__type__": "cc.Node", - "_name": "Test", + "_name": "(18)nowloading", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 6 + "__id__": 2 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 8 - }, { "__id__": 9 }, @@ -335,8 +350,8 @@ "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": -397.219, - "y": -95, + "x": 454.781, + "y": -235.1, "z": 0 }, "_lrot": { @@ -360,7 +375,7 @@ "y": 0, "z": 0 }, - "_id": "58nLsryTdISqQKID5Hb4CI" + "_id": "beU+wVJApNZ5NIkl4PGkFf" }, { "__type__": "cc.UITransform", @@ -368,21 +383,21 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 7 + "__id__": 8 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 210, + "height": 213 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, - "_id": "e3PWU61UNEv7dpgCI4tyOQ" + "_id": "63kfTP575H/q8dm+Wskds2" }, { "__type__": "cc.Sprite", @@ -390,78 +405,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 7 - }, - "_enabled": true, - "__prefab": null, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": null, - "_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": "2fzSKdC4tJv4cl+tDLmGI9" - }, - { - "__type__": "da8cbJJkjxC+qVdpm9/+8LT", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 7 - }, - "_enabled": true, - "__prefab": null, - "AnimationPath": "", - "_id": "86S/B40YdJLqyx40ueYpvW" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 6 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 1067, - "height": 600 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "bfP8LMTRJEs6IZCp14QQ6g" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 6 + "__id__": 8 }, "_enabled": true, "__prefab": null, @@ -476,12 +420,12 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "e2e7060f-3895-4c6c-964d-5e9e24fc932d@f9941", + "__uuid__": "41a61acc-9791-441f-a37d-7d91a4283d02@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 2, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -489,47 +433,37 @@ }, "_fillStart": 0, "_fillRange": 0, - "_isTrimmedMode": true, + "_isTrimmedMode": false, "_useGrayscale": false, "_atlas": null, - "_id": "09PWASedFO8q9MmAgOXEGD" + "_id": "50HHeUMiJNn4prSDpfvMTv" }, { "__type__": "cc.Node", - "_name": "dice", + "_name": "loading", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 5 + "__id__": 2 }, - "_children": [ - { - "__id__": 14 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 18 + "__id__": 12 }, { - "__id__": 19 + "__id__": 13 }, { - "__id__": 20 - }, - { - "__id__": 21 - }, - { - "__id__": 22 + "__id__": 14 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 536.445, - "y": 400, + "x": 459.781, + "y": -256, "z": 0 }, "_lrot": { @@ -546,29 +480,99 @@ "z": 1 }, "_mobility": 0, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 }, - "_id": "6froM5OFhCWo7+R1WG8XV1" + "_id": "37ONX9tANK3aEYYaERMknb" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c3yDfEVo1NjY0c6J+XXqm2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "d838745f-fc88-48db-8abb-e16bfb679ae6@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": "5bK5gcuahEKJoIuZ8k7XyP" + }, + { + "__type__": "ed7e4LZ9+BGR6Xqxy1K79KU", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_id": "feJdyZgTlBtLnL5U4x8Hwh" }, { "__type__": "cc.Node", - "_name": "dice_number", + "_name": "Label", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 13 + "__id__": 2 }, "_children": [], - "_active": true, + "_active": false, "_components": [ - { - "__id__": 15 - }, { "__id__": 16 }, @@ -579,8 +583,8 @@ "_prefab": null, "_lpos": { "__type__": "cc.Vec3", - "x": 1.482, - "y": 80.44, + "x": 460.781, + "y": -273, "z": 0 }, "_lrot": { @@ -597,14 +601,14 @@ "z": 1 }, "_mobility": 0, - "_layer": 1073741824, + "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 }, - "_id": "0d0ZoafOhLQ59oZ3eSI9Dk" + "_id": "9bDuMqKd9OhYCo2Brm7XBF" }, { "__type__": "cc.UITransform", @@ -612,29 +616,29 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 15 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 190, - "height": 160 + "width": 59.05815762192456, + "height": 54.39999999999999 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0.5 }, - "_id": "81UedKebZEK7OHcs//Sbgr" + "_id": "1cDddsfIpJWLM7qjX4jUZl" }, { - "__type__": "cc.Sprite", + "__type__": "cc.Label", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 15 }, "_enabled": true, "__prefab": null, @@ -648,192 +652,159 @@ "b": 255, "a": 255 }, - "_spriteFrame": { - "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", - "__expectedType__": "cc.SpriteFrame" + "_string": "加载中...", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16.10637300843486, + "_fontSize": 13.5, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": { + "__uuid__": "5ebfd5b0-a054-4349-b69f-f850a1e1fbcd", + "__expectedType__": "cc.TTFFont" }, - "_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": "48x9ogzS9M8poxd/DyTa91" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 14 - }, - "_enabled": true, - "__prefab": null, - "_alignFlags": 17, - "_target": null, - "_left": 527.804, - "_right": 0, - "_top": 39.56000000000001, - "_bottom": 0, - "_horizontalCenter": 1.482, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "38j6tn1yRCObySFLQf0s5s" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 400 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "6aQ0zTF6xB1oJC8TPM0GP/" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { + "_isSystemFontUsed": false, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, + "r": 0, + "g": 0, + "b": 0, "a": 255 }, - "_spriteFrame": { - "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", - "__expectedType__": "cc.SpriteFrame" + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { + "_shadowOffset": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 2, + "y": 2 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "01uK9UzeZCf5oyBUVxgaKu" + "_shadowBlur": 2, + "_id": "9bskEfsttFSpkYFl+TK+Ql" }, { - "__type__": "cc.Animation", - "_name": "", + "__type__": "cc.Node", + "_name": "nowloading", "_objFlags": 0, "__editorExtras__": {}, - "node": { - "__id__": 13 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": null, - "playOnLoad": true, - "_clips": [ + "_children": [], + "_active": false, + "_components": [ { - "__uuid__": "a0e3e0d9-d596-4b5b-a63b-84853318a110", - "__expectedType__": "cc.AnimationClip" + "__id__": 19 + }, + { + "__id__": 20 } ], - "_defaultClip": { - "__uuid__": "a0e3e0d9-d596-4b5b-a63b-84853318a110", - "__expectedType__": "cc.AnimationClip" + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 448.781, + "y": -270, + "z": 0 }, - "_id": "85at8xhWNOQpr31+NH0x/p" + "_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": "01u0WBtzJETpNAzZw8pQB3" }, { - "__type__": "3ee44A5i55D/bqyKyoDSfJV", + "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 13 + "__id__": 18 }, "_enabled": true, "__prefab": null, - "_id": "ecq7+04aJLX5t8gBDT3CET" + "_contentSize": { + "__type__": "cc.Size", + "width": 170, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "70lYqn5O1DBbchN/agLNK+" }, { - "__type__": "cc.Widget", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 13 + "__id__": 18 }, "_enabled": true, "__prefab": null, - "_alignFlags": 17, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 536.445, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 16, - "_id": "c0R6WmKmlP3KxZ0MaaEs/h" - }, - { - "__type__": "4a0dcc6xopDZ4Tqfl/nnGS6", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 5 + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 }, - "_enabled": true, - "__prefab": null, - "_id": "81vDUGdWlHpqw9MSec3IG/" + "_spriteFrame": { + "__uuid__": "235eaff0-b052-4034-aabc-b9023743f51c@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": "99S3MSERxLIYPo/qGECCpu" }, { "__type__": "cc.UITransform", @@ -904,38 +875,42 @@ "_id": "c5V1EV8IpMtrIvY1OE9t2u" }, { - "__type__": "cc.PrefabInfo", - "root": null, - "asset": null, - "fileId": "f713b5ea-a70f-486c-8260-0338f089a5b8", - "instance": null, - "targetOverrides": null + "__type__": "be02ckcJ3RA9qx7R7m55dFm", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_id": "26OkVwPkVC07BRPXJ50ncp" }, { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 29 + "__id__": 26 }, "shadows": { - "__id__": 30 + "__id__": 27 }, "_skybox": { - "__id__": 31 + "__id__": 28 }, "fog": { - "__id__": 32 + "__id__": 29 }, "octree": { - "__id__": 33 + "__id__": 30 }, "skin": { - "__id__": 34 + "__id__": 31 }, "lightProbeInfo": { - "__id__": 35 + "__id__": 32 }, "postSettings": { - "__id__": 36 + "__id__": 33 }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false diff --git a/assets/scene/loding.scene.meta b/assets/scene/loding.scene.meta new file mode 100644 index 0000000..a5bd28d --- /dev/null +++ b/assets/scene/loding.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.50", + "importer": "scene", + "imported": true, + "uuid": "efb7fd68-0786-4a0e-8e5d-46841ad6023c", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/main.scene b/assets/scene/main.scene new file mode 100644 index 0000000..79ba9a0 --- /dev/null +++ b/assets/scene/main.scene @@ -0,0 +1,758 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "main", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "main", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 17 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 18 + }, + "_id": "f713b5ea-a70f-486c-8260-0338f089a5b8" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 533.5, + "y": 300.00000000000006, + "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": "beI88Z2HpFELqR4T5EMHpg" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 1000 + }, + "_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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ebFwiq8gBFaYpqYbdoDODe" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 0, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 346.1673212882954, + "_near": 0, + "_far": 1000, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 7, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 1108344832, + "_targetTexture": null, + "_postProcess": null, + "_usePostProcess": false, + "_cameraType": -1, + "_trackingType": 0, + "_id": "63WIch3o5BEYRlXzTT0oWc" + }, + { + "__type__": "cc.Node", + "_name": "GmaeRoot", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 6 + } + ], + "_active": true, + "_components": [ + { + "__id__": 13 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -533.5, + "y": -300.00000000000006, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f4LXdw0ZdIvJ9c7QYrhEej" + }, + { + "__type__": "cc.Node", + "_name": "man", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 7 + } + ], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 12 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 533.5, + "y": 300.00000000000006, + "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": "15jnF2IOpHl7U589UpZ7wK" + }, + { + "__type__": "cc.Node", + "_name": "Test", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 6 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 9 + }, + { + "__id__": 10 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -397.219, + "y": -95, + "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": "58nLsryTdISqQKID5Hb4CI" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e3PWU61UNEv7dpgCI4tyOQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "2fzSKdC4tJv4cl+tDLmGI9" + }, + { + "__type__": "da8cbJJkjxC+qVdpm9/+8LT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 7 + }, + "_enabled": true, + "__prefab": null, + "AnimationPath": "ani/001_1x2.ani", + "_id": "86S/B40YdJLqyx40ueYpvW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1067, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "bfP8LMTRJEs6IZCp14QQ6g" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 6 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e2e7060f-3895-4c6c-964d-5e9e24fc932d@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": "09PWASedFO8q9MmAgOXEGD" + }, + { + "__type__": "4a0dcc6xopDZ4Tqfl/nnGS6", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_id": "81vDUGdWlHpqw9MSec3IG/" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1067, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d6rUX5yfhMlKoWX2bSbawx" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_cameraComponent": { + "__id__": 4 + }, + "_alignCanvasWithScreen": true, + "_id": "12O/ljcVlEqLmVm3U2gEOQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 5.684341886080802e-14, + "_bottom": 5.684341886080802e-14, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c5V1EV8IpMtrIvY1OE9t2u" + }, + { + "__type__": "cc.PrefabInfo", + "root": null, + "asset": null, + "fileId": "f713b5ea-a70f-486c-8260-0338f089a5b8", + "instance": null, + "targetOverrides": null + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 19 + }, + "shadows": { + "__id__": 20 + }, + "_skybox": { + "__id__": 21 + }, + "fog": { + "__id__": 22 + }, + "octree": { + "__id__": 23 + }, + "skin": { + "__id__": 24 + }, + "lightProbeInfo": { + "__id__": 25 + }, + "postSettings": { + "__id__": 26 + }, + "bakedWithStationaryMainLight": false, + "bakedWithHighpLightmap": false + }, + { + "__type__": "cc.AmbientInfo", + "_skyColorHDR": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0.520833125 + }, + "_skyColor": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0.520833125 + }, + "_skyIllumHDR": 20000, + "_skyIllum": 20000, + "_groundAlbedoHDR": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_groundAlbedo": { + "__type__": "cc.Vec4", + "x": 0, + "y": 0, + "z": 0, + "w": 0 + }, + "_skyColorLDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.5, + "z": 0.8, + "w": 1 + }, + "_skyIllumLDR": 20000, + "_groundAlbedoLDR": { + "__type__": "cc.Vec4", + "x": 0.2, + "y": 0.2, + "z": 0.2, + "w": 1 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_enabled": false, + "_type": 0, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_planeBias": 1, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 512, + "y": 512 + } + }, + { + "__type__": "cc.SkyboxInfo", + "_envLightingType": 0, + "_envmapHDR": null, + "_envmap": null, + "_envmapLDR": null, + "_diffuseMapHDR": null, + "_diffuseMapLDR": null, + "_enabled": false, + "_useHDR": true, + "_editableMaterial": null, + "_reflectionHDR": null, + "_reflectionLDR": null, + "_rotationAngle": 0 + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2, + "_accurate": false + }, + { + "__type__": "cc.OctreeInfo", + "_enabled": false, + "_minPos": { + "__type__": "cc.Vec3", + "x": -1024, + "y": -1024, + "z": -1024 + }, + "_maxPos": { + "__type__": "cc.Vec3", + "x": 1024, + "y": 1024, + "z": 1024 + }, + "_depth": 8 + }, + { + "__type__": "cc.SkinInfo", + "_enabled": false, + "_blurRadius": 0.01, + "_sssIntensity": 3 + }, + { + "__type__": "cc.LightProbeInfo", + "_giScale": 1, + "_giSamples": 1024, + "_bounces": 2, + "_reduceRinging": 0, + "_showProbe": true, + "_showWireframe": true, + "_showConvex": false, + "_data": null, + "_lightProbeSphereVolume": 1 + }, + { + "__type__": "cc.PostSettingsInfo", + "_toneMappingType": 0 + } +] \ No newline at end of file diff --git a/assets/scene.scene.meta b/assets/scene/main.scene.meta similarity index 100% rename from assets/scene.scene.meta rename to assets/scene/main.scene.meta diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json index 12a1ffc..267c706 100644 --- a/settings/v2/packages/builder.json +++ b/settings/v2/packages/builder.json @@ -1,3 +1,9 @@ { - "__version__": "1.3.7" + "__version__": "1.3.7", + "splash-setting": { + "totalTime": 500, + "logo": { + "type": "none" + } + } } diff --git a/settings/v2/packages/information.json b/settings/v2/packages/information.json index 99d0978..22d4a15 100644 --- a/settings/v2/packages/information.json +++ b/settings/v2/packages/information.json @@ -6,7 +6,7 @@ "label": "customSplash", "enable": true, "customSplash": { - "complete": false, + "complete": true, "form": "https://creator-api.cocos.com/api/form/show?sid=9ca4a815f78c9bcd01d30320bbf2f99b" } },