diff --git a/assets/GlobalScript/Animation/BaseSprite.ts b/assets/GlobalScript/Animation/BaseSprite.ts deleted file mode 100644 index 7c70ccb..0000000 --- a/assets/GlobalScript/Animation/BaseSprite.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { _decorator, Component, Node, Animation, Sprite, resources, SpriteFrame, CCString, CCInteger, Vec2 } from 'cc'; -import { MyAnimation } from './MyAnimation'; - -const { ccclass, property, requireComponent, executeInEditMode } = _decorator; - -@ccclass('BaseSprite') -@executeInEditMode -@requireComponent(Sprite)//依赖组件 精灵 -export default class BaseSprite extends MyAnimation { - - AnimationFrameCount: number = 1; - - @property({ type: CCString, displayName: '默认img路径', tooltip: "img路径" }) - DefaultImgPath: string = ""; - - ImgPath: string[] = ["", ""]; - - @property({ type: CCInteger, displayName: 'img编号', tooltip: "img编号" }) - GImgIndex = 0; - ImgIndex: number[] = [0, 1]; - - FrameDelay: Array = [0, 9999999999]; - - @property({ type: [CCInteger], displayName: '是否显示', tooltip: "1为显示 0为不显示" }) - PlayState = 0; - - onGImgIndexChanged() { - this.ImgIndex[0] = this.GImgIndex; - } - - start() { - this.onGImgIndexChanged(); - super.start(); - } -} - - diff --git a/assets/GlobalScript/Common/BaseButton.ts b/assets/GlobalScript/Common/BaseButton.ts new file mode 100644 index 0000000..34f7f4c --- /dev/null +++ b/assets/GlobalScript/Common/BaseButton.ts @@ -0,0 +1,62 @@ +// import { _decorator, Button, Component, EventMouse, Node, NodeEventType } from 'cc'; + +// const { ccclass, property } = _decorator; + +// @ccclass('BaseButton') +// export class BaseButton extends Component { + + +// //加载基础img +// Init(){ + +// } + + +// start() { +// this.Init(); +// this.node.on(Node.EventType.MOUSE_ENTER,this.mouseEnter,this); +// this.node.on(Node.EventType.MOUSE_LEAVE,this.mouseLeave,this); +// this.node.on(Node.EventType.MOUSE_UP,this.mouseUp,this); +// } + + +// mouseEnter(){ + +// const baseSprite = this.node.getComponent(BaseSprite); +// // baseSprite.GImgIndex = 2; +// // baseSprite.onGImgIndexChanged(); +// baseSprite.ImgIndex = [2,1]; + +// console.log('mouseEnter'); +// console.log('GImgIndex =' + baseSprite.GImgIndex); +// console.log(baseSprite); +// } + +// mouseLeave(){ + +// const baseSprite = this.node.getComponent(BaseSprite); +// // baseSprite.GImgIndex = 1; +// // baseSprite.onGImgIndexChanged(); +// baseSprite.ImgIndex = [1,1]; +// console.log('mouseLeave'); +// console.log('GImgIndex =' + baseSprite.GImgIndex); +// console.log(baseSprite); +// } + +// mouseUp(evetn: EventMouse){ +// if (evetn.getButton() == EventMouse.BUTTON_LEFT){ +// console.log('mouseUpLeft'); +// } + +// } + +// update(deltaTime: number) { + +// } + + + + +// } + + diff --git a/assets/GlobalScript/Common/BaseSpriteByNpk.ts b/assets/GlobalScript/Common/BaseSpriteByNpk.ts new file mode 100644 index 0000000..2b34fc8 --- /dev/null +++ b/assets/GlobalScript/Common/BaseSpriteByNpk.ts @@ -0,0 +1,28 @@ +import { _decorator, Component, Node, Animation, Sprite, resources, SpriteFrame, CCString, CCInteger, Vec2 } from 'cc'; + + +const { ccclass, property, requireComponent, executeInEditMode } = _decorator; + +@ccclass('BaseSpriteByNpk') +@executeInEditMode +@requireComponent(Sprite)//依赖组件 精灵 +export default class BaseSpriteByNpk extends Component { + + + @property({ type: CCString, displayName: 'img路径', tooltip: "img路径" }) + Path: string = ""; + + @property({ type: CCInteger, displayName: 'img编号', tooltip: "img编号" }) + ImgIndex = 0; + + start() { + + + } + + update(dt: number): void { + + } +} + + diff --git a/assets/Prefab.meta b/assets/Prefab.meta new file mode 100644 index 0000000..5604621 --- /dev/null +++ b/assets/Prefab.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "eaa1d08a-5e6f-4341-9f6a-8e27ed47b322", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Prefab/Present.prefab b/assets/Prefab/Present.prefab new file mode 100644 index 0000000..39a861e --- /dev/null +++ b/assets/Prefab/Present.prefab @@ -0,0 +1,312 @@ +[ + { + "__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 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 14 + }, + "_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": "Present", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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": "aaL9wscpRMHJWY91pMRzIH" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "57520716-48c8-4a19-8acf-41c9f8777fb0@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a0XZDk+45J/K9kzpQ5IPPm" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4bjGWkBElEr4BC16fDhe3Q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55UWXxjklAW4PediZ2wPj/" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "be/874Wo5NBqs4VTuq2F30" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_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": "fbR4Tn7D1AD5Uiybsxn/Oq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "78Ap+aUshFV4IYTsoXI+uF", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/assets/Prefab/Present.prefab.meta b/assets/Prefab/Present.prefab.meta new file mode 100644 index 0000000..43fefaa --- /dev/null +++ b/assets/Prefab/Present.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "aa2989f4-5378-4297-a889-49a957c3b47b", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "Present" + } +} diff --git a/assets/Script.meta b/assets/Script.meta new file mode 100644 index 0000000..66e92df --- /dev/null +++ b/assets/Script.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "c48db437-e006-4733-98c9-041b5842c734", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Script/StartGameButton.ts b/assets/Script/StartGameButton.ts new file mode 100644 index 0000000..4e58831 --- /dev/null +++ b/assets/Script/StartGameButton.ts @@ -0,0 +1,54 @@ +// import { _decorator, Button, Component, EventMouse, Node, NodeEventType } from 'cc'; +// const { ccclass, property } = _decorator; + +// @ccclass('BaseButton') +// export class BaseButton extends Component { + + +// start() { +// this.node.on(Node.EventType.MOUSE_ENTER,this.mouseEnter,this); +// this.node.on(Node.EventType.MOUSE_LEAVE,this.mouseLeave,this); +// this.node.on(Node.EventType.MOUSE_UP,this.mouseUp,this); +// } + + +// mouseEnter(){ + +// const baseSprite = this.node.getComponent(BaseSprite); +// // baseSprite.GImgIndex = 2; +// // baseSprite.onGImgIndexChanged(); +// baseSprite.ImgIndex = [2,1]; + +// console.log('mouseEnter'); +// console.log('GImgIndex =' + baseSprite.GImgIndex); +// console.log(baseSprite); +// } + +// mouseLeave(){ + +// const baseSprite = this.node.getComponent(BaseSprite); +// // baseSprite.GImgIndex = 1; +// // baseSprite.onGImgIndexChanged(); +// baseSprite.ImgIndex = [1,1]; +// console.log('mouseLeave'); +// console.log('GImgIndex =' + baseSprite.GImgIndex); +// console.log(baseSprite); +// } + +// mouseUp(evetn: EventMouse){ +// if (evetn.getButton() == EventMouse.BUTTON_LEFT){ +// console.log('mouseUpLeft'); +// } + +// } + +// update(deltaTime: number) { + +// } + + + + +// } + + diff --git a/assets/Script/StartGameButton.ts.meta b/assets/Script/StartGameButton.ts.meta new file mode 100644 index 0000000..270a11c --- /dev/null +++ b/assets/Script/StartGameButton.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "45dea0b1-384d-43f7-a8ac-a58814cf17a3", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Script/StartGameRoot.ts b/assets/Script/StartGameRoot.ts new file mode 100644 index 0000000..7e9d6bd --- /dev/null +++ b/assets/Script/StartGameRoot.ts @@ -0,0 +1,17 @@ +import { _decorator, Component, Node } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('StartGameRoot') +export class StartGameRoot extends Component { + + + start() { + + } + + update(deltaTime: number) { + + } +} + + diff --git a/assets/Script/StartGameRoot.ts.meta b/assets/Script/StartGameRoot.ts.meta new file mode 100644 index 0000000..46dab9c --- /dev/null +++ b/assets/Script/StartGameRoot.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "37227f6a-00a4-4840-a07e-025b6be2f27c", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/scene/main.scene b/assets/scene/main.scene index 830bc94..68f12b7 100644 --- a/assets/scene/main.scene +++ b/assets/scene/main.scene @@ -23,7 +23,7 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 17 + "__id__": 44 }, "_lpos": { "__type__": "cc.Vec3", @@ -54,7 +54,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 18 + "__id__": 45 }, "_id": "f713b5ea-a70f-486c-8260-0338f089a5b8" }, @@ -77,13 +77,13 @@ "_active": true, "_components": [ { - "__id__": 14 + "__id__": 41 }, { - "__id__": 15 + "__id__": 42 }, { - "__id__": 16 + "__id__": 43 } ], "_prefab": null, @@ -175,7 +175,7 @@ "_priority": 0, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 346.1673212882954, + "_orthoHeight": 345.04285714285714, "_near": 0, "_far": 1000, "_color": { @@ -218,6 +218,9 @@ "_children": [ { "__id__": 6 + }, + { + "__id__": 14 } ], "_active": true, @@ -505,6 +508,924 @@ "PlayState": 1, "_id": "a27U1G+TROF7ArDt28B3wZ" }, + { + "__type__": "cc.Node", + "_name": "StartGameRoot", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 5 + }, + "_children": [ + { + "__id__": 15 + }, + { + "__id__": 21 + }, + { + "__id__": 25 + }, + { + "__id__": 31 + }, + { + "__id__": 34 + } + ], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 40 + } + ], + "_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": "f89kwtvehImpCyWHzLrUpY" + }, + { + "__type__": "cc.Node", + "_name": "Title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [ + { + "__id__": 16 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + } + ], + "_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": "18ueNYG+lITaLZWxT+R644" + }, + { + "__type__": "cc.Node", + "_name": "Title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 18 + }, + { + "__id__": 19 + } + ], + "_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": "28K4yFpddAmbUpUXjmh4HZ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "94vaWEPfpEyJ+qrtGz+C9l" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_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": "d9lFDxtxVLOKXOFI5Fn6if" + }, + { + "__type__": "da8cbJJkjxC+qVdpm9/+8LT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": null, + "AnimationPath": "ani/title_loop.ani", + "_id": "33Ib3vVfZP3rfCYcAgYksz" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 15 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "49zJMMiY1J0qiuLWIpaGxK" + }, + { + "__type__": "cc.Node", + "_name": "ButtonBackground", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + }, + { + "__id__": 24 + } + ], + "_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": "8b4cxvgzVH34lu9mSeCGB+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "62vWifkQlPLqE4mwINAXM/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_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": "e0/ZwnGkVL7bbmU6H8jnIX" + }, + { + "__type__": "9258d3QVRBC/L8BCziIBXzT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": null, + "DefaultImgPath": "sprite/interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", + "GImgIndex": 24, + "PlayState": 1, + "_id": "b5PH4Yj91JwaoGNitfqvGl" + }, + { + "__type__": "cc.Node", + "_name": "StartGameButton", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 26 + }, + { + "__id__": 27 + }, + { + "__id__": 28 + }, + { + "__id__": 29 + }, + { + "__id__": 30 + } + ], + "_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": "68JO9KgzZBzaglXLAy5Qu4" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "2cFRkfzuxDZ7IwRpHkN6SQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_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": 1, + "_fillType": 0, + "_sizeMode": 2, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": false, + "_useGrayscale": false, + "_atlas": null, + "_id": "c2pCm9pjRJJ7j/VPe74xxb" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "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": { + "__id__": 25 + }, + "_id": "82Ln0THAtKkY7+6CUtpLEd" + }, + { + "__type__": "9258d3QVRBC/L8BCziIBXzT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "DefaultImgPath": "sprite/interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", + "GImgIndex": 1, + "PlayState": 1, + "_id": "00SU+NlYFFmYyaZ+L3YaAE" + }, + { + "__type__": "45deaCxOE1D96ispYgUzxej", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "_id": "843jjChttPUY5MJ5eIrMuv" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 32 + }, + { + "__id__": 33 + } + ], + "_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": "4dmkWjfxJDrJ4uMbYUahiW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 14.254856981549944, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e7bo4jd1dOUZ3rMF46qaNe" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_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": 28.8659793814433, + "_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": "d1PqgzwiFGcJQNEBcO7YKd" + }, + { + "__type__": "cc.Node", + "_name": "PresentButton", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 35 + }, + { + "__id__": 36 + }, + { + "__id__": 37 + }, + { + "__id__": 38 + } + ], + "_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": "0d2fKL04ZMELzEUNGe6deW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "82TanjcC9Lx6RtC+hnXvh/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_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": "04PBUHNcJMwr+FmGsd0fhr" + }, + { + "__type__": "9258d3QVRBC/L8BCziIBXzT", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_enabled": true, + "__prefab": null, + "DefaultImgPath": "sprite/interface2/event/chn_event_2020/200922_dnf_marble/00_main.img", + "GImgIndex": 9, + "PlayState": 1, + "_id": "20sg3uXg1KhoLjZboOhqxz" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 34 + }, + "_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": "cce2csLLhBI7Vy15ey0Flw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8b9Ekz0rhKQKKtAvJQ9mnJ" + }, + { + "__type__": "372279qAKRIQKB+Altr4vJ8", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": null, + "_id": "1f5g72f3ZHyooqaoqTrMZZ" + }, { "__type__": "cc.UITransform", "_name": "", @@ -584,28 +1505,28 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 19 + "__id__": 46 }, "shadows": { - "__id__": 20 + "__id__": 47 }, "_skybox": { - "__id__": 21 + "__id__": 48 }, "fog": { - "__id__": 22 + "__id__": 49 }, "octree": { - "__id__": 23 + "__id__": 50 }, "skin": { - "__id__": 24 + "__id__": 51 }, "lightProbeInfo": { - "__id__": 25 + "__id__": 52 }, "postSettings": { - "__id__": 26 + "__id__": 53 }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false