From 8d01e6cecda3ff60feaa05fd1df9d1a12acb7826 Mon Sep 17 00:00:00 2001 From: "DESKTOP-J7I1C4E\\a9350" Date: Mon, 11 Mar 2024 17:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=20=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GlobalScript/Animation/AnimationNode.ts | 19 + .../Animation/AnimationNode.ts.meta | 9 + .../CommonComponent/BaseButton.ts | 5 +- .../CommonComponent/BaseSprite.ts | 13 +- assets/Script/Gamer.ts | 107 ++ assets/Script/Gamer.ts.meta | 9 + assets/Script/StartGameRoot.ts | 41 - assets/Script/StartGameUINode.ts | 175 +++ ...meRoot.ts.meta => StartGameUINode.ts.meta} | 0 assets/Script/UIRoot.ts | 23 +- assets/{resources/Prefab.meta => Tool.meta} | 2 +- assets/Tool/NPKImage.ts | 45 + assets/Tool/NPKImage.ts.meta | 9 + assets/resources/Prefab/Gamer.prefab | 259 ---- assets/resources/Prefab/Gamer.prefab.meta | 13 - assets/resources/Prefab/Present.prefab | 540 -------- assets/resources/Prefab/Present.prefab.meta | 13 - assets/resources/Prefab/StartGameRoot.prefab | 1089 ----------------- .../Prefab/StartGameRoot.prefab.meta | 13 - assets/resources/Prefab/UI.prefab | 220 ---- assets/resources/Prefab/UI.prefab.meta | 13 - assets/scene/main.scene | 979 +-------------- 22 files changed, 439 insertions(+), 3157 deletions(-) create mode 100644 assets/GlobalScript/Animation/AnimationNode.ts create mode 100644 assets/GlobalScript/Animation/AnimationNode.ts.meta create mode 100644 assets/Script/Gamer.ts create mode 100644 assets/Script/Gamer.ts.meta delete mode 100644 assets/Script/StartGameRoot.ts create mode 100644 assets/Script/StartGameUINode.ts rename assets/Script/{StartGameRoot.ts.meta => StartGameUINode.ts.meta} (100%) rename assets/{resources/Prefab.meta => Tool.meta} (70%) create mode 100644 assets/Tool/NPKImage.ts create mode 100644 assets/Tool/NPKImage.ts.meta delete mode 100644 assets/resources/Prefab/Gamer.prefab delete mode 100644 assets/resources/Prefab/Gamer.prefab.meta delete mode 100644 assets/resources/Prefab/Present.prefab delete mode 100644 assets/resources/Prefab/Present.prefab.meta delete mode 100644 assets/resources/Prefab/StartGameRoot.prefab delete mode 100644 assets/resources/Prefab/StartGameRoot.prefab.meta delete mode 100644 assets/resources/Prefab/UI.prefab delete mode 100644 assets/resources/Prefab/UI.prefab.meta diff --git a/assets/GlobalScript/Animation/AnimationNode.ts b/assets/GlobalScript/Animation/AnimationNode.ts new file mode 100644 index 0000000..4ad2813 --- /dev/null +++ b/assets/GlobalScript/Animation/AnimationNode.ts @@ -0,0 +1,19 @@ +import { _decorator, Component, Node } from 'cc'; +import { ScriptMyAnimation } from './ScriptMyAnimation'; +const { ccclass, property } = _decorator; + +@ccclass('AnimationNode') +export class AnimationNode extends Node{ + + constructor(AnimationPath: string) { + super(); + + let aniNode = new Node(); + aniNode.addComponent( ScriptMyAnimation).AnimationPath = AnimationPath; + + this.addChild(aniNode); + } + +} + + diff --git a/assets/GlobalScript/Animation/AnimationNode.ts.meta b/assets/GlobalScript/Animation/AnimationNode.ts.meta new file mode 100644 index 0000000..94a5a9c --- /dev/null +++ b/assets/GlobalScript/Animation/AnimationNode.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "158c563d-2556-4c10-a9e1-f0d9b62db198", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/GlobalScript/CommonComponent/BaseButton.ts b/assets/GlobalScript/CommonComponent/BaseButton.ts index 5e5c693..7f54ac3 100644 --- a/assets/GlobalScript/CommonComponent/BaseButton.ts +++ b/assets/GlobalScript/CommonComponent/BaseButton.ts @@ -110,14 +110,15 @@ export class BaseButton extends Component { this.ButtonState = 1; // this.UploadSpriteFrame(this.HoverImgSpriteFrame); } - OnEnd(event: EventTouch) { + OnEnd(event: EventMouse) { + if (event.getButton() != EventMouse.BUTTON_LEFT) return; this.ButtonState = 0; // this.UploadSpriteFrame(this.NormalImgSpriteFrame); } OnPress(event: EventMouse) { //必须是鼠标左键 - if (event.getButton() != 0) return; + if (event.getButton() != EventMouse.BUTTON_LEFT) return; this.ButtonState = 2; diff --git a/assets/GlobalScript/CommonComponent/BaseSprite.ts b/assets/GlobalScript/CommonComponent/BaseSprite.ts index 94bc42b..8ff15bb 100644 --- a/assets/GlobalScript/CommonComponent/BaseSprite.ts +++ b/assets/GlobalScript/CommonComponent/BaseSprite.ts @@ -16,6 +16,17 @@ export class BaseSprite extends Component { SpriteObj: Sprite; start() { + if (this.ImgPath.length > 0 ){ + this.updateSpriteFrame(this.ImgPath,this.ImgIndex); + } + } + + + updateSpriteFrame(imgPath: string, imgIndex: number){ + + this.ImgIndex = imgIndex; + this.ImgPath = imgPath; + //判断是否有精灵 如果没有 就给他搞一个 if (this.node.getComponent(Sprite)) this.SpriteObj = this.node.getComponent(Sprite); @@ -29,7 +40,7 @@ export class BaseSprite extends Component { //设置 this.SpriteObj.trim = false; - new BaseSpriteFrame(this.ImgPath.toLocaleLowerCase(), this.ImgIndex, (_SpriteFrame) => { + new BaseSpriteFrame(imgPath.toLocaleLowerCase(), imgIndex, (_SpriteFrame) => { this.SpriteObj.spriteFrame = _SpriteFrame; }); } diff --git a/assets/Script/Gamer.ts b/assets/Script/Gamer.ts new file mode 100644 index 0000000..75f6ee8 --- /dev/null +++ b/assets/Script/Gamer.ts @@ -0,0 +1,107 @@ +// import { _decorator, CCInteger, CCString, Component, Node, Sprite, SpriteFrame, UITransform, v2 } from 'cc'; +// import { BaseSpriteFrame } from '../GlobalScript/CommonComponent/BaseSpriteFrame'; +// const { ccclass, property } = _decorator; + +// @ccclass('Gamer') +// export class Gamer extends Component { +// @property({ type: CCString, displayName: 'img路径', tooltip: "img路径" }) +// ImgPath: string; + +// @property({ type: [CCInteger], displayName: '普通img编号', tooltip: "普通img编号" }) +// NormalImgIndex: number; + +// @property({ type: [CCInteger], displayName: '悬停img编号', tooltip: "悬停img编号" }) +// HoverImgIndex: number; + +// @property({ type: [CCInteger], displayName: '按下img编号', tooltip: "按下img编号" }) +// PressImgIndex: number; + +// @property({ type: [CCInteger], displayName: '失效img编号', tooltip: "失效img编号" }) +// DisableImgIndex: number; + +// //普通精灵帧 +// NormalImgSpriteFrame: SpriteFrame; + +// //悬停精灵帧 +// HoverImgSpriteFrame: SpriteFrame; + +// //按下精灵帧 +// PressImgSpriteFrame: SpriteFrame; + +// //失效精灵帧 +// DisableImgSpriteFrame: SpriteFrame; + +// //精灵对象 +// SpriteObj: Sprite; + +// //初始化状态 +// InitState = false; + +// //按钮状态 +// ButtonState = 0; // 0 普通 1悬停 2按下 8失效 + +// start() { + + + +// //判断是否有精灵 如果没有 就给他搞一个 +// if (this.node.getComponent(Sprite)) +// this.SpriteObj = this.node.getComponent(Sprite); +// else +// this.SpriteObj = this.node.addComponent(Sprite); + +// //设置节点锚点为左上角 +// this.node.getComponent(UITransform).anchorPoint = v2(0, 1); +// //设置类型 +// this.SpriteObj.sizeMode = Sprite.SizeMode.RAW; +// //设置 +// this.SpriteObj.trim = false; + +// new BaseSpriteFrame(this.ImgPath, this.NormalImgIndex, _SpriteFrame => { this.NormalImgSpriteFrame = _SpriteFrame }); +// new BaseSpriteFrame(this.ImgPath, this.HoverImgIndex, _SpriteFrame => { this.HoverImgSpriteFrame = _SpriteFrame }); +// new BaseSpriteFrame(this.ImgPath, this.PressImgIndex, _SpriteFrame => { this.PressImgSpriteFrame = _SpriteFrame }); +// new BaseSpriteFrame(this.ImgPath, this.DisableImgIndex, _SpriteFrame => { this.DisableImgSpriteFrame = _SpriteFrame }); + +// } + +// UploadSpriteFrame(_SpriteFrame) { +// if (this.SpriteObj.spriteFrame != _SpriteFrame) { +// this.SpriteObj.spriteFrame = _SpriteFrame; +// } +// } + +// update(deltaTime: number) { +// if (!this.InitState) { +// if (this.NormalImgSpriteFrame && this.HoverImgSpriteFrame && this.PressImgSpriteFrame) { +// this.InitState = true; +// this.UploadSpriteFrame(this.NormalImgSpriteFrame); + +// // this.node.on(Input.EventType.TOUCH_START, this.OnPress, this); +// // this.node.on(Input.EventType.TOUCH_END, this.OnEnd, this); +// this.node.on(Node.EventType.MOUSE_ENTER, this.OnHever, this); +// this.node.on(Node.EventType.MOUSE_LEAVE, this.OffHever, this); +// this.node.on(Node.EventType.MOUSE_DOWN, this.OnPress, this); +// this.node.on(Node.EventType.MOUSE_UP, this.OnEnd, this); +// } +// } else { +// switch (this.ButtonState) { +// case 0: +// this.UploadSpriteFrame(this.NormalImgSpriteFrame); +// break; +// case 1: +// this.UploadSpriteFrame(this.HoverImgSpriteFrame); +// break; +// case 2: +// this.UploadSpriteFrame(this.PressImgSpriteFrame); +// break; +// case 8: +// this.UploadSpriteFrame(this.DisableImgSpriteFrame); +// break; +// default: +// break; +// } +// } +// } +// } + + diff --git a/assets/Script/Gamer.ts.meta b/assets/Script/Gamer.ts.meta new file mode 100644 index 0000000..7cea8ef --- /dev/null +++ b/assets/Script/Gamer.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "790760a1-d532-45f7-89e4-d81781d5466b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Script/StartGameRoot.ts b/assets/Script/StartGameRoot.ts deleted file mode 100644 index 355578f..0000000 --- a/assets/Script/StartGameRoot.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { _decorator, Button, Component, EventTouch, instantiate, Node, Prefab } from 'cc'; -const { ccclass, property } = _decorator; - -@ccclass('StartGameRoot') -export class StartGameRoot extends Component { - - /// 玩法介绍按钮 - @property(Node) PressenButton: Node; - - /// 玩法介绍UI预制件 - @property(Prefab) pressenPrefab: Prefab; - - //// 开始游戏按钮 - @property(Node) StartButton: Node; - - /// UI层预制件 - @property(Prefab) UIPrefab: Prefab; - - start() { - this.PressenButton.on(Node.EventType.TOUCH_END,this.pressenOnTouchEnd,this); - this.StartButton.on(Node.EventType.TOUCH_END,this.startOnTouchEnd,this); - } - - pressenOnTouchEnd(event:Event){ - const pressent = instantiate(this.pressenPrefab); - this.node.addChild(pressent); - pressent.setPosition(0,0); - } - - startOnTouchEnd(event:Event){ - this.node.destroy(); - const ui = instantiate(this.UIPrefab); - this.node.parent.addChild(ui); - } - - update(deltaTime: number) { - - } -} - - diff --git a/assets/Script/StartGameUINode.ts b/assets/Script/StartGameUINode.ts new file mode 100644 index 0000000..39b1d69 --- /dev/null +++ b/assets/Script/StartGameUINode.ts @@ -0,0 +1,175 @@ +import { _decorator, BlockInputEvents, Button, Color, EventMouse, Label, Node, sp, Sprite, UITransform, v2 } from 'cc'; +import { BaseSprite } from '../GlobalScript/CommonComponent/BaseSprite'; +import { NpkImage } from '../Tool/NPKImage'; +import { BaseButton } from '../GlobalScript/CommonComponent/BaseButton'; +import { AnimationNode } from '../GlobalScript/Animation/AnimationNode'; +const { ccclass } = _decorator; + +/// 开始游戏按钮界面 +@ccclass('StartGameUINode') +export class StartGameUINode extends Node { + + /// 玩法介绍 + private _pressenNode: Node; + + set pressenNode(node: Node){ + if (this._pressenNode){ + this._pressenNode.destroy(); + this._pressenNode = null; + } + this._pressenNode = node; + } + get pressenNode(): Node{ + return this._pressenNode; + } + + constructor(){ + super(); + + this.addComponent(UITransform).setContentSize(1067,600); + + this.init(); + } + + /// 初始化子节点 + init(){ + + this.initBackground(); + this.initTitle(); + this.initStartButton(); + this.initLabel(); + this.initPressenButton(); + } + + /// 背景 + initBackground(){ + /// 背景节点 + const backgroundNode = new Node('StartBackgroundNode'); + this.addChild(backgroundNode); + + /// 给背景节点添加 baseSprite 组件 + const backgroundComponent = backgroundNode.addComponent( BaseSprite ); + backgroundComponent.updateSpriteFrame(NpkImage.main,24); + } + + /// 标题动画 + initTitle(){ + let titleNode = new AnimationNode('ani/title_loop.ani'); + titleNode.setPosition(544.5,-305); + this.addChild(titleNode); + } + + /// 开始游戏 + initStartButton(){ + /// 按钮节点 + const startButtonNode = new Node('StartButton'); + startButtonNode.setPosition(441.5,-450); + + /// 给节点添加 button 组件 + const buttonComponent = startButtonNode.addComponent( BaseButton ); + buttonComponent.ImgPath = NpkImage.main; + buttonComponent.NormalImgIndex = 1; + buttonComponent.HoverImgIndex = 2; + buttonComponent.PressImgIndex = 3; + buttonComponent.DisableImgIndex = 4; + + startButtonNode.addComponent( Button) + startButtonNode.on(Button.EventType.CLICK,this.startOnTouchEnd,this); + + this.addChild(startButtonNode); + } + + /// 入场次数 + initLabel(){ + const labelNode = new Node('Label'); + labelNode.setPosition(550,-421); + + const labelComponent = labelNode.addComponent( Label ); + labelComponent.string = '∞'; + labelComponent.color = new Color('24a5cd'); + labelComponent.fontSize = 18; + + this.addChild(labelNode); + } + + /// 玩法介绍按钮 + initPressenButton(){ + /// 按钮节点 + const pressenButtonNode = new Node('PressenButton'); + pressenButtonNode.setPosition(1020,-10); + + /// 给节点添加 button 组件 + const buttonComponent = pressenButtonNode.addComponent( BaseButton ); + buttonComponent.ImgPath = NpkImage.main; + buttonComponent.NormalImgIndex = 9; + buttonComponent.HoverImgIndex = 10; + buttonComponent.PressImgIndex = 11; + buttonComponent.DisableImgIndex = 12; + + pressenButtonNode.on(Node.EventType.MOUSE_UP,this.pressenOnTouchEnd,this); + + this.addChild(pressenButtonNode); + } + + /// 玩法介绍 + initPressen(){ + /// 节点 + this.pressenNode = new Node('Pressen'); + this.pressenNode.setPosition(0,0); + this.pressenNode.addComponent( UITransform).setContentSize(1067,600); + this.pressenNode.getComponent(UITransform).anchorPoint = v2(0, 1); + + /// 拦截下层的点击事件 + this.pressenNode.addComponent( BlockInputEvents ); + + /// 给节点添加 img 节点 + const imgNode = new Node('PressenImage'); + imgNode.setPosition(134,-21.5); + const imgComponent = imgNode.addComponent( BaseSprite ); + imgComponent.updateSpriteFrame(NpkImage.main,25); + this.pressenNode.addChild(imgNode); + + /// 关闭按钮 + const closeButtonNode = new Node('closeButton'); + closeButtonNode.setPosition(767,-10); + imgNode.addChild(closeButtonNode); + + /// 给节点添加 button 组件 + const buttonComponent = closeButtonNode.addComponent( BaseButton ); + buttonComponent.ImgPath = NpkImage.ingame; + buttonComponent.NormalImgIndex = 39; + buttonComponent.HoverImgIndex = 40; + buttonComponent.PressImgIndex = 41; + buttonComponent.DisableImgIndex = 42; + + closeButtonNode.on(Node.EventType.MOUSE_UP,this.closeOnTouchEnd,this); + + this.addChild(this.pressenNode); + } + + /// 打开玩法介绍 + pressenOnTouchEnd(event:EventMouse){ + console.log('BUTTON'); + if ( event.getButton() === EventMouse.BUTTON_LEFT ){ + this.initPressen(); + console.log('BUTTON_LEFT'); + } + } + + /// 关闭玩法介绍 + closeOnTouchEnd(event:EventMouse){ + if ( event.getButton() === EventMouse.BUTTON_LEFT ){ + this.pressenNode.destroy() + this.pressenNode = null; + } + } + + /// 开始游戏 + startOnTouchEnd(event:Event){ + + console.log('开始游戏'); + } + +} + + diff --git a/assets/Script/StartGameRoot.ts.meta b/assets/Script/StartGameUINode.ts.meta similarity index 100% rename from assets/Script/StartGameRoot.ts.meta rename to assets/Script/StartGameUINode.ts.meta diff --git a/assets/Script/UIRoot.ts b/assets/Script/UIRoot.ts index 4dd76e4..a6fe1ed 100644 --- a/assets/Script/UIRoot.ts +++ b/assets/Script/UIRoot.ts @@ -1,16 +1,29 @@ -import { _decorator, assetManager, Component, instantiate, Node, Prefab } from 'cc'; +import { _decorator, assetManager, Component, instantiate, Node, Prefab, UITransform } from 'cc'; +import { StartGameUINode } from './StartGameUINode'; const { ccclass, property } = _decorator; @ccclass('UIRoot') export class UIRoot extends Component { - @property({ type: Prefab, displayName: 'Ani帧数', tooltip: "Ani总共有多少帧" }) - startGameRootPrefab:Prefab; + init(){ + const startGameUINode = new StartGameUINode(); + startGameUINode.addComponent( UITransform).setContentSize(1067,600); + + + this.node.addChild(startGameUINode); + + console.log(this.node.parent.children); + + console.log('StartUINode'); + + } start() { - - this.node.addChild(instantiate(this.startGameRootPrefab)); + this.node.addComponent( UITransform ).setContentSize(1067,600); + + this.init(); + } update(deltaTime: number) { diff --git a/assets/resources/Prefab.meta b/assets/Tool.meta similarity index 70% rename from assets/resources/Prefab.meta rename to assets/Tool.meta index 5604621..e911783 100644 --- a/assets/resources/Prefab.meta +++ b/assets/Tool.meta @@ -2,7 +2,7 @@ "ver": "1.2.0", "importer": "directory", "imported": true, - "uuid": "eaa1d08a-5e6f-4341-9f6a-8e27ed47b322", + "uuid": "fe05b587-0b4f-4bf1-8d26-ebe451aa4c3c", "files": [], "subMetas": {}, "userData": {} diff --git a/assets/Tool/NPKImage.ts b/assets/Tool/NPKImage.ts new file mode 100644 index 0000000..7fa0873 --- /dev/null +++ b/assets/Tool/NPKImage.ts @@ -0,0 +1,45 @@ +const path = 'interface2/event/chn_event_2020/200922_dnf_marble/' + +export enum NpkImage { + main = path + '00_main.img', + ingame = path + '01_ingame.img', + board = path + '02_board.img', + gauge = path + '03_gauge.img', + character_sd = path + '04_character_sd.img', + monsternotice = path + '05_monsternotice.img', + specialplace = path + '06_specialplace.img', + conditionsofvictory = path + '07_conditionsofvictory.img', + calendar = path + '08_calendar.img', + bankruptcy = path + 'bankruptcy.img', + character_loop = path + 'character_loop.img', + count_font = path + 'count_font.img', + dice_1x1_db = path + 'dice_1x1_db.img', + dice_1x2 = path + 'dice_1x2.img', + dice_1x3 = path + 'dice_1x3.img', + dice_2x2_db = path + 'dice_2x2_db.img', + dice_2x3 = path + 'dice_2x3.img', + dice_2x4 = path + 'dice_2x4.img', + dice_3x3_db = path + 'dice_3x3_db.img', + dice_3x4 = path + 'dice_3x4.img', + dice_3x5 = path + 'dice_3x5.img', + dice_4x4_db = path + 'dice_4x4_db.img', + dice_4x5 = path + 'dice_4x5.img', + dice_4x6 = path + 'dice_4x6.img', + dice_5x5 = path + 'dice_5x5.img', + dice_5x6 = path + 'dice_5x6.img', + dice_6x6_db = path + 'dice_6x6_db.img', + dice_font = path + 'dice_font.img', + dungeonbg = path + 'dungeonbg.img', + fire_loop = path + 'fire_loop.img', + light01 = path + 'light01.img', + light02 = path + 'light02.img', + loading_loop = path + 'loading_loop.img', + luckycoin = path + 'luckycoin.img', + luckycoin_bg = path + 'luckycoin_bg.img', + point_loop = path + 'point_loop.img', + table_back = path + 'table_back.img', + table_dodge = path + 'table_dodge.img', + table_front = path + 'table_front.img', + title_loop = path + 'title_loop.img', + win = path + 'win.img', +}; \ No newline at end of file diff --git a/assets/Tool/NPKImage.ts.meta b/assets/Tool/NPKImage.ts.meta new file mode 100644 index 0000000..a691bdf --- /dev/null +++ b/assets/Tool/NPKImage.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "542d1221-5bd2-417d-a053-dc43836e74da", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/Prefab/Gamer.prefab b/assets/resources/Prefab/Gamer.prefab deleted file mode 100644 index 71177f1..0000000 --- a/assets/resources/Prefab/Gamer.prefab +++ /dev/null @@ -1,259 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "Gamer", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "Gamer", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - } - ], - "_active": true, - "_components": [ - { - "__id__": 6 - }, - { - "__id__": 8 - }, - { - "__id__": 10 - } - ], - "_prefab": { - "__id__": 12 - }, - "_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 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Role", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 3 - } - ], - "_prefab": { - "__id__": 5 - }, - "_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 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": { - "__id__": 4 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6206qxk1NFE5QmAvH3zvq1" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "65epnVCaxNSIGMknmNdcpA", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 7 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c6XJpShO1IiISvt/47nt+K" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 9 - }, - "_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": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f1HLPxYllBtLhId3RcwwDZ" - }, - { - "__type__": "a80463xbJJM5qU8FUhHK84e", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 11 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/01_ingame.img", - "ImgIndex": 32, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5fuqRs6VlLV6IWVYCnfh42" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4dIR0b3MJAHIpU7ERJwTWq", - "instance": null, - "targetOverrides": null - } -] \ No newline at end of file diff --git a/assets/resources/Prefab/Gamer.prefab.meta b/assets/resources/Prefab/Gamer.prefab.meta deleted file mode 100644 index 07cea83..0000000 --- a/assets/resources/Prefab/Gamer.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "7fb32db3-b3d6-44f1-abaa-f6063c24e07f", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "Gamer" - } -} diff --git a/assets/resources/Prefab/Present.prefab b/assets/resources/Prefab/Present.prefab deleted file mode 100644 index 3a09e66..0000000 --- a/assets/resources/Prefab/Present.prefab +++ /dev/null @@ -1,540 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "Present", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "Present", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - }, - { - "__id__": 10 - } - ], - "_active": true, - "_components": [ - { - "__id__": 18 - }, - { - "__id__": 20 - }, - { - "__id__": 22 - }, - { - "__id__": 24 - }, - { - "__id__": 26 - } - ], - "_prefab": { - "__id__": 28 - }, - "_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 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Sprite", - "_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": 1073741824, - "_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": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5eWu0X+FVNgI5z0WVe7YQ6" - }, - { - "__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": 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": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fc0twlF1lOR4HK7BeyC25p" - }, - { - "__type__": "a80463xbJJM5qU8FUhHK84e", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": { - "__id__": 8 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "ImgIndex": 25, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8MHts9wpBCLjui8vsEugz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6f3bSlwHhGTrCoRP/4nXYb", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "CancelButton", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 11 - }, - { - "__id__": 13 - }, - { - "__id__": 15 - } - ], - "_prefab": { - "__id__": 17 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 368, - "y": 270, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 10 - }, - "_enabled": true, - "__prefab": { - "__id__": 12 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9ct7fqJXZPW72loHtkPyZI" - }, - { - "__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": 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": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "50krRdvUxGV5JwIT29GeY2" - }, - { - "__type__": "227e93p2mxEV5zjvG1ofJkL", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 10 - }, - "_enabled": true, - "__prefab": { - "__id__": 16 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/01_ingame.img", - "NormalImgIndex": 39, - "HoverImgIndex": 40, - "PressImgIndex": 41, - "DisableImgIndex": 42, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "616ESzd7tK6azbhkiSn+wZ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "19a5NWpspNOq0ziWf+VKn3", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 19 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1067, - "height": 600 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "84kljvQdpCXpvHHsZcsIfi" - }, - { - "__type__": "cc.Mask", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 21 - }, - "_type": 0, - "_inverted": false, - "_segments": 64, - "_alphaThreshold": 0.1, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d18TIUsPZJNor4depBAoLj" - }, - { - "__type__": "cc.Graphics", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 23 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_lineWidth": 1, - "_strokeColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_lineJoin": 2, - "_lineCap": 0, - "_fillColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 0 - }, - "_miterLimit": 10, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "abKlZKzBBOOIS0f81wPKoZ" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 25 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8eYsyz39JAFoU0NowSG2Us" - }, - { - "__type__": "fa300wCdRFJV5rVpFd/PxUk", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 27 - }, - "cancel": { - "__id__": 10 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cf7mnl4l9L/7pkHBxOV4kG" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "45U0bsLzxF75ClciJzcbfs", - "instance": null, - "targetOverrides": null - } -] \ No newline at end of file diff --git a/assets/resources/Prefab/Present.prefab.meta b/assets/resources/Prefab/Present.prefab.meta deleted file mode 100644 index a50d000..0000000 --- a/assets/resources/Prefab/Present.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "345ab5d0-8a20-42ec-a630-62a235d82b34", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "Present" - } -} diff --git a/assets/resources/Prefab/StartGameRoot.prefab b/assets/resources/Prefab/StartGameRoot.prefab deleted file mode 100644 index 39249d8..0000000 --- a/assets/resources/Prefab/StartGameRoot.prefab +++ /dev/null @@ -1,1089 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "StartGameRoot", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "StartGameRoot", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - }, - { - "__id__": 14 - }, - { - "__id__": 22 - }, - { - "__id__": 30 - }, - { - "__id__": 36 - } - ], - "_active": true, - "_components": [ - { - "__id__": 46 - }, - { - "__id__": 48 - } - ], - "_prefab": { - "__id__": 50 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 533, - "y": 300, - "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": "" - }, - { - "__type__": "cc.Node", - "_name": "Title", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 3 - } - ], - "_active": true, - "_components": [ - { - "__id__": 11 - } - ], - "_prefab": { - "__id__": 13 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 20, - "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 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Title", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 4 - }, - { - "__id__": 6 - }, - { - "__id__": 8 - } - ], - "_prefab": { - "__id__": 10 - }, - "_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 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": { - "__id__": 5 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4b7zXYUbVFCKiUvlqG6Xkj" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": { - "__id__": 7 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c9L+J6+IpJiaPEbnkwKhxh" - }, - { - "__type__": "da8cbJJkjxC+qVdpm9/+8LT", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": { - "__id__": 9 - }, - "AnimationPath": "ani/title_loop.ani", - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d8SsF4Z7pJ1Ku+9DCoVKY2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "58dRZmg1RIzIQ/JjXCMjLb", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": { - "__id__": 12 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "67+SF4Mm5LEY/k/kRhSTJo" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "92f25kJE5E6rb4QTrO32tQ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "ButtonBackground", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 15 - }, - { - "__id__": 17 - }, - { - "__id__": 19 - } - ], - "_prefab": { - "__id__": 21 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -533.5, - "y": 300, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 14 - }, - "_enabled": true, - "__prefab": { - "__id__": 16 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "27HRy0H3ZES6VAw8oloMpb" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 14 - }, - "_enabled": true, - "__prefab": { - "__id__": 18 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5aIkzw2JVGqa3Y27Rv+VGM" - }, - { - "__type__": "a80463xbJJM5qU8FUhHK84e", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 14 - }, - "_enabled": true, - "__prefab": { - "__id__": 20 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "ImgIndex": 24, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b0OjGY2kFG4KUpuJkpKPhR" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "17vx4kYtBMg4J2fpobMe8G", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "StartGameButton", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 23 - }, - { - "__id__": 25 - }, - { - "__id__": 27 - } - ], - "_prefab": { - "__id__": 29 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -92, - "y": -150, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 24 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "68BnemGTBJ6K9eG1zGhKKs" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 26 - }, - "_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": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "99Ln0ecDZLBrXFZ6dy00S4" - }, - { - "__type__": "227e93p2mxEV5zjvG1ofJkL", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 28 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "NormalImgIndex": 1, - "HoverImgIndex": 2, - "PressImgIndex": 3, - "DisableImgIndex": 4, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "2d0UjiHQ5LRoVvC3ggrknN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "dcrwm22l1Oyr2rsnec6l0/", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 31 - }, - { - "__id__": 33 - } - ], - "_prefab": { - "__id__": 35 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -120, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 30 - }, - "_enabled": true, - "__prefab": { - "__id__": 32 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 14.256042929256663, - "height": 50.400000000000006 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3fyeVVhNtFo6e6hgw6t2fo" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 30 - }, - "_enabled": true, - "__prefab": { - "__id__": 34 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 117, - "g": 177, - "b": 198, - "a": 255 - }, - "_string": "∞", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 22.94283036551078, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": false, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "61GyvjPMlKjJqnzQW0PtzF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "2f6hu4StlD4IM8x989mfFH", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "PresentButton", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 37 - }, - { - "__id__": 39 - }, - { - "__id__": 41 - }, - { - "__id__": 43 - } - ], - "_prefab": { - "__id__": 45 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 490, - "y": 290, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 36 - }, - "_enabled": true, - "__prefab": { - "__id__": 38 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "33WHrc4kpNKLGPw2U2MmiP" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 36 - }, - "_enabled": true, - "__prefab": { - "__id__": 40 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "02hfz+qaFM4ZkZSTKka3be" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 36 - }, - "_enabled": true, - "__prefab": { - "__id__": 42 - }, - "clickEvents": [], - "_interactable": true, - "_transition": 0, - "_normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_hoverColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_pressedColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1eWsE8vphE0ayHPVnOMHuW" - }, - { - "__type__": "227e93p2mxEV5zjvG1ofJkL", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 36 - }, - "_enabled": true, - "__prefab": { - "__id__": 44 - }, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "NormalImgIndex": 9, - "HoverImgIndex": 10, - "PressImgIndex": 11, - "DisableImgIndex": 12, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c48NK4bcZKV7QO24vcULGI" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "e1TTa84cNFfbFaiwa7Pa1s", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 47 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "13IgOXo1NA/J2rsnSco2kR" - }, - { - "__type__": "372279qAKRIQKB+Altr4vJ8", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 49 - }, - "PressenButton": { - "__id__": 36 - }, - "pressenPrefab": { - "__uuid__": "345ab5d0-8a20-42ec-a630-62a235d82b34", - "__expectedType__": "cc.Prefab" - }, - "StartButton": { - "__id__": 22 - }, - "UIPrefab": { - "__uuid__": "b5b15b0a-c30d-4b95-aee9-b2798a9ad12d", - "__expectedType__": "cc.Prefab" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "63lEGK1UtK9awDvbf3Ov7z" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f89kwtvehImpCyWHzLrUpY", - "instance": null, - "targetOverrides": null - } -] \ No newline at end of file diff --git a/assets/resources/Prefab/StartGameRoot.prefab.meta b/assets/resources/Prefab/StartGameRoot.prefab.meta deleted file mode 100644 index d0342ff..0000000 --- a/assets/resources/Prefab/StartGameRoot.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "500c80cc-b47e-4a2d-98c7-4f6ce6113811", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "StartGameRoot" - } -} diff --git a/assets/resources/Prefab/UI.prefab b/assets/resources/Prefab/UI.prefab deleted file mode 100644 index b3b44ea..0000000 --- a/assets/resources/Prefab/UI.prefab +++ /dev/null @@ -1,220 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "UI", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "UI", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - } - ], - "_active": true, - "_components": [ - { - "__id__": 10 - } - ], - "_prefab": { - "__id__": 12 - }, - "_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 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_prefab": { - "__id__": 3 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 2 - }, - "asset": { - "__uuid__": "7fb32db3-b3d6-44f1-abaa-f6063c24e07f", - "__expectedType__": "cc.Prefab" - }, - "fileId": "4dIR0b3MJAHIpU7ERJwTWq", - "instance": { - "__id__": 4 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "d7vgkaVD5OmapjIefZvdyK", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 5 - }, - { - "__id__": 7 - }, - { - "__id__": 8 - }, - { - "__id__": 9 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_name" - ], - "value": "Gamer" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "4dIR0b3MJAHIpU7ERJwTWq" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 266.766, - "y": 240.999, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 11 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ebXzZerpNCrpui6J6cpIgs" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "54XqsHof9Fxrxjq1dsKg2i", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": [ - { - "__id__": 2 - } - ] - } -] \ No newline at end of file diff --git a/assets/resources/Prefab/UI.prefab.meta b/assets/resources/Prefab/UI.prefab.meta deleted file mode 100644 index da52f01..0000000 --- a/assets/resources/Prefab/UI.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "b5b15b0a-c30d-4b95-aee9-b2798a9ad12d", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "UI" - } -} diff --git a/assets/scene/main.scene b/assets/scene/main.scene index c0f12d1..9f4b097 100644 --- a/assets/scene/main.scene +++ b/assets/scene/main.scene @@ -23,7 +23,7 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 43 + "__id__": 17 }, "_lpos": { "__type__": "cc.Vec3", @@ -54,7 +54,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 44 + "__id__": 18 }, "_id": "f713b5ea-a70f-486c-8260-0338f089a5b8" }, @@ -77,13 +77,13 @@ "_active": true, "_components": [ { - "__id__": 40 + "__id__": 14 }, { - "__id__": 41 + "__id__": 15 }, { - "__id__": 42 + "__id__": 16 } ], "_prefab": null, @@ -175,7 +175,7 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 300, + "_orthoHeight": 391.5478295819936, "_near": 0, "_far": 1000, "_color": { @@ -220,10 +220,10 @@ "__id__": 6 }, { - "__id__": 10 + "__id__": 9 }, { - "__id__": 38 + "__id__": 12 } ], "_active": true, @@ -274,9 +274,6 @@ }, { "__id__": 8 - }, - { - "__id__": 9 } ], "_prefab": null, @@ -321,8 +318,8 @@ "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 2, - "height": 2 + "width": 100, + "height": 100 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -331,45 +328,6 @@ }, "_id": "a2z+iX/j1MVKZ3LuPz8/iM" }, - { - "__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__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "0apjnJJkpLlKFaw0omFEuX" - }, { "__type__": "a80463xbJJM5qU8FUhHK84e", "_name": "", @@ -392,25 +350,21 @@ "_parent": { "__id__": 5 }, - "_children": [ - { - "__id__": 11 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 10 }, { - "__id__": 37 + "__id__": 11 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": 600, "z": 0 }, "_lrot": { @@ -436,248 +390,13 @@ }, "_id": "b70q1cqLNPiaJjOCmvNnRI" }, - { - "__type__": "cc.Node", - "_name": "StartGameRoot", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 10 - }, - "_children": [ - { - "__id__": 12 - }, - { - "__id__": 18 - }, - { - "__id__": 22 - }, - { - "__id__": 26 - }, - { - "__id__": 29 - } - ], - "_active": true, - "_components": [ - { - "__id__": 34 - }, - { - "__id__": 35 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 533, - "y": 300, - "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": "c2QmlEl/pDLbtoDQV2JLDG" - }, - { - "__type__": "cc.Node", - "_name": "Title", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 11 - }, - "_children": [ - { - "__id__": 13 - } - ], - "_active": true, - "_components": [ - { - "__id__": 17 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 20, - "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 - }, - "_id": "a2kq4LlG1GMasXCrkGPsuR" - }, - { - "__type__": "cc.Node", - "_name": "Title", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 12 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 14 - }, - { - "__id__": 15 - }, - { - "__id__": 16 - } - ], - "_prefab": null, - "_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 - }, - "_id": "70SDxdQ+lB1Zx7sjH94AVu" - }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "193WcrNpdLR5UOaz1qnCHP" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "21g7onIK1GrrjztCYYO3vG" - }, - { - "__type__": "da8cbJJkjxC+qVdpm9/+8LT", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "AnimationPath": "ani/title_loop.ani", - "_id": "5bxKmg0IdIgKcz32kR+5M4" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 12 + "__id__": 9 }, "_enabled": true, "__prefab": null, @@ -686,641 +405,11 @@ "width": 100, "height": 100 }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "2cTxr1AmtL0bsPPFi1SD/h" - }, - { - "__type__": "cc.Node", - "_name": "ButtonBackground", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 19 - }, - { - "__id__": 20 - }, - { - "__id__": 21 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": -533.5, - "y": 300, - "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": "8d8oO+A+RO5InTwOw5zWxK" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 18 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0, "y": 1 }, - "_id": "17ZM7BejZJz7p4JYoJhkR/" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 18 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "4eckDM25FAPZ2tVwW4DMDZ" - }, - { - "__type__": "a80463xbJJM5qU8FUhHK84e", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 18 - }, - "_enabled": true, - "__prefab": null, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "ImgIndex": 24, - "_id": "28npxmOxdCG7TfcwPKfXCR" - }, - { - "__type__": "cc.Node", - "_name": "StartGameButton", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 23 - }, - { - "__id__": 24 - }, - { - "__id__": 25 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": -92, - "y": -150, - "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": "74HU7olxlJ0LL80RwCcgcU" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 36 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "2eTxKriMtLoLf4eb7pEQd6" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_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": "dfKM4nzchEkrsSwPVXu/3S" - }, - { - "__type__": "227e93p2mxEV5zjvG1ofJkL", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": null, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "NormalImgIndex": 1, - "HoverImgIndex": 2, - "PressImgIndex": 3, - "DisableImgIndex": 4, - "_id": "18CLt2yeBPFoQzKQEuZIYV" - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 27 - }, - { - "__id__": 28 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -120, - "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": "312ZKk6wRHMbRzBM5f6o1N" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 26 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 14.2578125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "bdjRbRNKxORIy4MHylFFL9" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 26 - }, - "_enabled": true, - "__prefab": null, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 117, - "g": 177, - "b": 198, - "a": 255 - }, - "_string": "∞", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": false, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "4cEeiFFqBDcpZS49A6Gl44" - }, - { - "__type__": "cc.Node", - "_name": "PresentButton", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 11 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 30 - }, - { - "__id__": 31 - }, - { - "__id__": 32 - }, - { - "__id__": 33 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 490, - "y": 290, - "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": "59YG16mL5Fu4jr9zqB8DN4" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 29 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 1 - }, - "_id": "94qMbeIDVBmIgZT4mx1jN2" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 29 - }, - "_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": 2, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": false, - "_useGrayscale": false, - "_atlas": null, - "_id": "9ckNK6wFxFO5bOnBP/xrT4" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 29 - }, - "_enabled": true, - "__prefab": null, - "clickEvents": [], - "_interactable": true, - "_transition": 0, - "_normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_hoverColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 - }, - "_pressedColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": null, - "_id": "a2USf8GX9IS6CF7yx2jWHa" - }, - { - "__type__": "227e93p2mxEV5zjvG1ofJkL", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 29 - }, - "_enabled": true, - "__prefab": null, - "ImgPath": "interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", - "NormalImgIndex": 9, - "HoverImgIndex": 10, - "PressImgIndex": 11, - "DisableImgIndex": 12, - "_id": "a4Y8jyNjtAV6dAP6y3a3Ib" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 11 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "4etKOHP0tKvrrPTjY6eVCG" - }, - { - "__type__": "372279qAKRIQKB+Altr4vJ8", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 11 - }, - "_enabled": true, - "__prefab": null, - "PressenButton": { - "__id__": 29 - }, - "pressenPrefab": { - "__uuid__": "345ab5d0-8a20-42ec-a630-62a235d82b34", - "__expectedType__": "cc.Prefab" - }, - "StartButton": { - "__id__": 22 - }, - "UIPrefab": { - "__uuid__": "b5b15b0a-c30d-4b95-aee9-b2798a9ad12d", - "__expectedType__": "cc.Prefab" - }, - "_id": "1ebLu/eNhLNLKmb3EY6Yxs" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 10 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, "_id": "6cbBeNcXdJr6bJDAOt5tLP" }, { @@ -1329,14 +418,10 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 9 }, - "_enabled": false, + "_enabled": true, "__prefab": null, - "startGameRootPrefab": { - "__uuid__": "500c80cc-b47e-4a2d-98c7-4f6ce6113811", - "__expectedType__": "cc.Prefab" - }, "_id": "6clS3n6E1O3Ir6YO9pV5rA" }, { @@ -1351,14 +436,14 @@ "_active": true, "_components": [ { - "__id__": 39 + "__id__": 13 } ], "_prefab": null, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 0, + "y": 600, "z": 0 }, "_lrot": { @@ -1390,19 +475,19 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 12 }, "_enabled": true, "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 1067, + "height": 600 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0, + "y": 1 }, "_id": "28/iYuYk1JyqaQ0l2uDYPY" }, @@ -1485,28 +570,28 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 45 + "__id__": 19 }, "shadows": { - "__id__": 46 + "__id__": 20 }, "_skybox": { - "__id__": 47 + "__id__": 21 }, "fog": { - "__id__": 48 + "__id__": 22 }, "octree": { - "__id__": 49 + "__id__": 23 }, "skin": { - "__id__": 50 + "__id__": 24 }, "lightProbeInfo": { - "__id__": 51 + "__id__": 25 }, "postSettings": { - "__id__": 52 + "__id__": 26 }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false