Commit b18adaa4 authored by 李维's avatar 李维

添加消息处理

parent f372b74b
{
"ver": "1.1.2",
"uuid": "696dcc51-c784-42ea-b2e2-bf0bf47d2ad6",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
// 调试模式
isDebug: false,
// 是否可以点击
canClick: true,
// 是否可以转动
isRolling: false,
// 是否正在闪烁
isBlinking: false
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start() {
this.initEventLinister();
},
// 初始化转盘
initTurntable(debugMode = false) {
this.isDebug = debugMode;
},
initEventLinister() {
// console.log("初始化事件监听");
cc.find("dice", this.node).on(cc.Node.EventType.TOUCH_START, () => {
if(this.canClick && !this.isRolling) {
this.node.emit("Rolling_Start")
} else {
cc.log(`已屏蔽转盘点击 canClick:${this.canClick} isRolling:${this.isRolling}`)
}
})
},
// 转动到制定数字
rollNum(num) {
const dice = cc.find("/dice", this.node);
if (this.isRolling) {
return;
}
return new Promise((resolve, reject) => {
const targetAngle = Math.ceil(dice.angle / 360 + 1) * 360;
const time = (targetAngle - 360 - dice.angle) / 360;
this.isRolling = true;
if (!this.isDebug) {
cc.tween(dice)
.by(1.5, { angle: 360 }, { easing: "cubicIn" })
.to(time, { angle: targetAngle })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by(0.5, { angle: 360 })
.by((0.5 / 6) * num, { angle: 60 * num })
.by(1.5, { angle: 360 }, { easing: "cubicOut" })
.call(() => {
this.isRolling = false;
this.node.emit("Rolling_End")
resolve(null);
})
.start();
} else {
//TODO:调试加速
cc.tween(dice)
.by(0.3, { angle: 360 }, { easing: "cubicIn" })
.to(time, { angle: targetAngle })
.by(0.1, { angle: 360 })
.by(0.1, { angle: 360 })
.by(0.1, { angle: 360 })
.by(0.1, { angle: 360 })
.by((1 / 6) * num, { angle: 60 * num })
.by(0.3, { angle: 360 }, { easing: "cubicOut" })
.call(() => {
this.isRolling = false;
this.node.emit("Rolling_End")
resolve(null);
})
.start();
}
});
},
// 放大提示
blink() {
this.isBlinking = true;
const dice = cc.find("hatBlink", this.node);
cc.tween(dice)
.set({ opacity: 0 })
.to(0.2, { opacity: 255 })
.to(0.2, { opacity: 0 })
.union()
.repeatForever()
.start();
this.node.children.forEach((node) => {
cc.tween(node)
.set({ scale: 1 })
.to(0.2, { scale: 1.1 })
.to(0.2, { scale: 1.0 })
.union()
.repeatForever()
.start();
});
const dice2 = cc.find("dice", this.node);
},
// 停止放大提示
stopBlink() {
this.isBlinking = false;
const dice = cc.find("hatBlink", this.node);
dice.stopAllActions();
this.node.children.forEach((node) => {
node.stopAllActions();
node.scale = 1;
node.opacity = 255;
});
const dice2 = cc.find("diceBg/dice", this.node);
},
// 禁用
disable() {
this.canClick = false;
this.node.children.forEach((node) => {
node.color = cc.color(150, 150, 150);
});
},
// 启用
enable() {
this.canClick = true;
this.node.children.forEach((node) => {
node.color = cc.color(255, 255, 255);
});
}
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "81dea30c-b3f4-47bc-9828-73d6b836f325",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "Turntable",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 6
},
{
"__id__": 9
},
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
24.759,
-16.051000000000002,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "dice",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 451
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2f1fdd73-69db-4c21-afca-d5eaca4e4642"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "84mKLW4KdLXYKp46o+XP4D",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "point",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "aaea9af8-fa93-4cc0-964a-be8c6a8c07cb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "80NFfZhxxDUK+pFzQcdEeC",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "hat",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 129
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48186edc-fcde-423a-bae5-7674b0ecf20c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "cbDRKCdQNGdZA6pqtWC2UX",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "hatBlink",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 13
}
],
"_prefab": {
"__id__": 14
},
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 129
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48186edc-fcde-423a-bae5-7674b0ecf20c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "979nWci7RIbrRNEPSRQPQE",
"sync": false
},
{
"__type__": "81deaMMs/RHvJgoc9a4NvMl",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "f2f17746-ad49-4524-8664-b90f6e1fef55",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7d25d89b-4bad-4cd9-838e-62eec49b208c",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2ec350b5-18de-4b5f-845d-35507d5b1e85",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 450,
"height": 452,
"platformSettings": {},
"subMetas": {
"dice": {
"ver": "1.0.4",
"uuid": "2f1fdd73-69db-4c21-afca-d5eaca4e4642",
"rawTextureUuid": "2ec350b5-18de-4b5f-845d-35507d5b1e85",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"trimX": 0,
"trimY": 0,
"width": 450,
"height": 451,
"rawWidth": 450,
"rawHeight": 452,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f3ed426b-1886-473d-ab9b-c37e130168ef",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 319,
"height": 319,
"platformSettings": {},
"subMetas": {
"dice_bg": {
"ver": "1.0.4",
"uuid": "f4390000-b700-40a9-a031-d5500e47c613",
"rawTextureUuid": "f3ed426b-1886-473d-ab9b-c37e130168ef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 319,
"height": 319,
"rawWidth": 319,
"rawHeight": 319,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "61574349-54ad-492b-8324-d0a36d932e92",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 129,
"height": 129,
"platformSettings": {},
"subMetas": {
"hat": {
"ver": "1.0.4",
"uuid": "48186edc-fcde-423a-bae5-7674b0ecf20c",
"rawTextureUuid": "61574349-54ad-492b-8324-d0a36d932e92",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 129,
"height": 129,
"rawWidth": 129,
"rawHeight": 129,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "104980b7-c24e-4b57-8e27-cb1cbf90ed10",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 68,
"height": 109,
"platformSettings": {},
"subMetas": {
"point": {
"ver": "1.0.4",
"uuid": "aaea9af8-fa93-4cc0-964a-be8c6a8c07cb",
"rawTextureUuid": "104980b7-c24e-4b57-8e27-cb1cbf90ed10",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1,
"trimX": 1,
"trimY": 2,
"width": 66,
"height": 107,
"rawWidth": 68,
"rawHeight": 109,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -81,31 +81,31 @@ ...@@ -81,31 +81,31 @@
"__id__": 23 "__id__": 23
}, },
{ {
"__id__": 26 "__id__": 39
}, },
{ {
"__id__": 145 "__id__": 158
}, },
{ {
"__id__": 147 "__id__": 160
}, },
{ {
"__id__": 148 "__id__": 161
}, },
{ {
"__id__": 149 "__id__": 162
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 157 "__id__": 170
}, },
{ {
"__id__": 158 "__id__": 171
}, },
{ {
"__id__": 159 "__id__": 172
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1147,7 +1147,7 @@ ...@@ -1147,7 +1147,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "turntable", "_name": "Turntable",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 2
...@@ -1155,11 +1155,26 @@ ...@@ -1155,11 +1155,26 @@
"_children": [ "_children": [
{ {
"__id__": 24 "__id__": 24
},
{
"__id__": 28
},
{
"__id__": 31
},
{
"__id__": 34
} }
], ],
"_active": true, "_active": true,
"_components": [], "_components": [
"_prefab": null, {
"__id__": 37
}
],
"_prefab": {
"__id__": 38
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -1178,6 +1193,73 @@ ...@@ -1178,6 +1193,73 @@
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
643.447,
571.178,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "90g7YM6eVL1If+G6+PdNMb"
},
{
"__type__": "cc.Node",
"_name": "dice",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 26
}
],
"_prefab": {
"__id__": 27
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 451
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": { "_trs": {
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
...@@ -1205,11 +1287,122 @@ ...@@ -1205,11 +1287,122 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "bbsALlvJNC7ozsqFQvQjRP" "_id": "25MN+CLlFAj522s5UUQAuw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2f1fdd73-69db-4c21-afca-d5eaca4e4642"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "43TEoQkT5KXqN55+V9ZwXw"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "01mWDnuodNLagyGKtRKqtt"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "84mKLW4KdLXYKp46o+XP4D",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "image_turntable", "_name": "point",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 23 "__id__": 23
...@@ -1218,10 +1411,119 @@ ...@@ -1218,10 +1411,119 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 25 "__id__": 29
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 30
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 66,
"height": 107
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a0mPk+vvJOfrcB5csM3hEB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "aaea9af8-fa93-4cc0-964a-be8c6a8c07cb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "48TpmuJYxCsZ0hqjmLgG+/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "80NFfZhxxDUK+pFzQcdEeC",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "hat",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": {
"__id__": 33
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -1232,8 +1534,115 @@ ...@@ -1232,8 +1534,115 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 420, "width": 129,
"height": 418 "height": 129
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "fdxf7xKm1NNJ1J7BacIEzW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48186edc-fcde-423a-bae5-7674b0ecf20c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "43c6nhV79P545bb19L7ji0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "cbDRKCdQNGdZA6pqtWC2UX",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "hatBlink",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
}
],
"_prefab": {
"__id__": 36
},
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129,
"height": 129
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1244,8 +1653,8 @@ ...@@ -1244,8 +1653,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
671.147, 0,
589.678, 0,
0, 0,
0, 0,
0, 0,
...@@ -1267,14 +1676,14 @@ ...@@ -1267,14 +1676,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "51VA2Lbz9Mw6CHw8FkXjoj" "_id": "a7ersF6GxC67RMwrQSLeoE"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 24 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1285,7 +1694,7 @@ ...@@ -1285,7 +1694,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "bb2dcd43-6dbd-40ba-9767-be8e291000d3" "__uuid__": "48186edc-fcde-423a-bae5-7674b0ecf20c"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1299,7 +1708,43 @@ ...@@ -1299,7 +1708,43 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "1dF2sjRvlEV6FSeHVgkMaF" "_id": "19SVwKE4pHZYHMJOQTuutB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "979nWci7RIbrRNEPSRQPQE",
"sync": false
},
{
"__type__": "81deaMMs/RHvJgoc9a4NvMl",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"isDebug": false,
"canClick": true,
"isRolling": false,
"isBlinking": false,
"_id": "edlI1qixtHLqleyh4DSt0b"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 23
},
"asset": {
"__uuid__": "f2f17746-ad49-4524-8664-b90f6e1fef55"
},
"fileId": "",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -1310,13 +1755,13 @@ ...@@ -1310,13 +1755,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 27 "__id__": 40
}, },
{ {
"__id__": 29 "__id__": 42
}, },
{ {
"__id__": 140 "__id__": 153
} }
], ],
"_active": true, "_active": true,
...@@ -1374,13 +1819,13 @@ ...@@ -1374,13 +1819,13 @@
"_name": "map_bg", "_name": "map_bg",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 26 "__id__": 39
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 28 "__id__": 41
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1436,7 +1881,7 @@ ...@@ -1436,7 +1881,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 27 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1468,74 +1913,74 @@ ...@@ -1468,74 +1913,74 @@
"_name": "gemstone", "_name": "gemstone",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 26 "__id__": 39
}, },
"_children": [ "_children": [
{ {
"__id__": 30 "__id__": 43
}, },
{ {
"__id__": 35 "__id__": 48
}, },
{ {
"__id__": 40 "__id__": 53
}, },
{ {
"__id__": 45 "__id__": 58
}, },
{ {
"__id__": 50 "__id__": 63
}, },
{ {
"__id__": 55 "__id__": 68
}, },
{ {
"__id__": 60 "__id__": 73
}, },
{ {
"__id__": 65 "__id__": 78
}, },
{ {
"__id__": 70 "__id__": 83
}, },
{ {
"__id__": 75 "__id__": 88
}, },
{ {
"__id__": 80 "__id__": 93
}, },
{ {
"__id__": 85 "__id__": 98
}, },
{ {
"__id__": 90 "__id__": 103
}, },
{ {
"__id__": 95 "__id__": 108
}, },
{ {
"__id__": 100 "__id__": 113
}, },
{ {
"__id__": 105 "__id__": 118
}, },
{ {
"__id__": 110 "__id__": 123
}, },
{ {
"__id__": 115 "__id__": 128
}, },
{ {
"__id__": 120 "__id__": 133
}, },
{ {
"__id__": 125 "__id__": 138
}, },
{ {
"__id__": 130 "__id__": 143
}, },
{ {
"__id__": 135 "__id__": 148
} }
], ],
"_active": true, "_active": true,
...@@ -1590,17 +2035,17 @@ ...@@ -1590,17 +2035,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "beautiful", "_name": "beautiful_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 31 "__id__": 44
}, },
{ {
"__id__": 33 "__id__": 46
} }
], ],
"_active": true, "_active": true,
...@@ -1658,13 +2103,13 @@ ...@@ -1658,13 +2103,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 30 "__id__": 43
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 32 "__id__": 45
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1720,7 +2165,7 @@ ...@@ -1720,7 +2165,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 31 "__id__": 44
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1752,13 +2197,13 @@ ...@@ -1752,13 +2197,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 30 "__id__": 43
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 34 "__id__": 47
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1814,7 +2259,7 @@ ...@@ -1814,7 +2259,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 33 "__id__": 46
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -1843,17 +2288,17 @@ ...@@ -1843,17 +2288,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "castle", "_name": "castle_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 36 "__id__": 49
}, },
{ {
"__id__": 38 "__id__": 51
} }
], ],
"_active": true, "_active": true,
...@@ -1911,13 +2356,13 @@ ...@@ -1911,13 +2356,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 35 "__id__": 48
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 50
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1973,7 +2418,7 @@ ...@@ -1973,7 +2418,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 36 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2005,13 +2450,13 @@ ...@@ -2005,13 +2450,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 35 "__id__": 48
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 39 "__id__": 52
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2067,7 +2512,7 @@ ...@@ -2067,7 +2512,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 38 "__id__": 51
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2096,17 +2541,17 @@ ...@@ -2096,17 +2541,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "comb", "_name": "comb_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 41 "__id__": 54
}, },
{ {
"__id__": 43 "__id__": 56
} }
], ],
"_active": true, "_active": true,
...@@ -2164,13 +2609,13 @@ ...@@ -2164,13 +2609,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 40 "__id__": 53
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 42 "__id__": 55
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2226,7 +2671,7 @@ ...@@ -2226,7 +2671,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 41 "__id__": 54
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2258,13 +2703,13 @@ ...@@ -2258,13 +2703,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 40 "__id__": 53
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 57
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2320,7 +2765,7 @@ ...@@ -2320,7 +2765,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 43 "__id__": 56
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2349,17 +2794,17 @@ ...@@ -2349,17 +2794,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dangerous", "_name": "dangerous_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 46 "__id__": 59
}, },
{ {
"__id__": 48 "__id__": 61
} }
], ],
"_active": true, "_active": true,
...@@ -2417,13 +2862,13 @@ ...@@ -2417,13 +2862,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 45 "__id__": 58
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 47 "__id__": 60
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2479,7 +2924,7 @@ ...@@ -2479,7 +2924,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 46 "__id__": 59
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2511,13 +2956,13 @@ ...@@ -2511,13 +2956,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 45 "__id__": 58
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 62
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2573,7 +3018,7 @@ ...@@ -2573,7 +3018,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 48 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2602,17 +3047,17 @@ ...@@ -2602,17 +3047,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "excursion", "_name": "excursion_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 51 "__id__": 64
}, },
{ {
"__id__": 53 "__id__": 66
} }
], ],
"_active": true, "_active": true,
...@@ -2670,13 +3115,13 @@ ...@@ -2670,13 +3115,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 63
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 52 "__id__": 65
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2732,7 +3177,7 @@ ...@@ -2732,7 +3177,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 51 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2764,13 +3209,13 @@ ...@@ -2764,13 +3209,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 50 "__id__": 63
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 54 "__id__": 67
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2826,7 +3271,7 @@ ...@@ -2826,7 +3271,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 53 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2855,17 +3300,17 @@ ...@@ -2855,17 +3300,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "famous", "_name": "famous_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 56 "__id__": 69
}, },
{ {
"__id__": 58 "__id__": 71
} }
], ],
"_active": true, "_active": true,
...@@ -2923,13 +3368,13 @@ ...@@ -2923,13 +3368,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 68
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 57 "__id__": 70
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2985,7 +3430,7 @@ ...@@ -2985,7 +3430,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 56 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3017,13 +3462,13 @@ ...@@ -3017,13 +3462,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 55 "__id__": 68
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 59 "__id__": 72
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3079,7 +3524,7 @@ ...@@ -3079,7 +3524,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 58 "__id__": 71
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3108,17 +3553,17 @@ ...@@ -3108,17 +3553,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "glove", "_name": "glove_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 61 "__id__": 74
}, },
{ {
"__id__": 63 "__id__": 76
} }
], ],
"_active": true, "_active": true,
...@@ -3176,13 +3621,13 @@ ...@@ -3176,13 +3621,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 60 "__id__": 73
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 62 "__id__": 75
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3238,7 +3683,7 @@ ...@@ -3238,7 +3683,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 61 "__id__": 74
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3270,13 +3715,13 @@ ...@@ -3270,13 +3715,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 60 "__id__": 73
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 64 "__id__": 77
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3332,7 +3777,7 @@ ...@@ -3332,7 +3777,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 63 "__id__": 76
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3361,17 +3806,17 @@ ...@@ -3361,17 +3806,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "helpful", "_name": "helpful_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 66 "__id__": 79
}, },
{ {
"__id__": 68 "__id__": 81
} }
], ],
"_active": true, "_active": true,
...@@ -3429,13 +3874,13 @@ ...@@ -3429,13 +3874,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 78
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 80
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3491,7 +3936,7 @@ ...@@ -3491,7 +3936,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 66 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3523,13 +3968,13 @@ ...@@ -3523,13 +3968,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 65 "__id__": 78
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 82
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3585,7 +4030,7 @@ ...@@ -3585,7 +4030,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 68 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3614,17 +4059,17 @@ ...@@ -3614,17 +4059,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "knee", "_name": "knee_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 71 "__id__": 84
}, },
{ {
"__id__": 73 "__id__": 86
} }
], ],
"_active": true, "_active": true,
...@@ -3682,13 +4127,13 @@ ...@@ -3682,13 +4127,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 83
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 85
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3744,7 +4189,7 @@ ...@@ -3744,7 +4189,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 71 "__id__": 84
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3776,13 +4221,13 @@ ...@@ -3776,13 +4221,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 70 "__id__": 83
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 74 "__id__": 87
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3838,7 +4283,7 @@ ...@@ -3838,7 +4283,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 73 "__id__": 86
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -3867,17 +4312,17 @@ ...@@ -3867,17 +4312,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "knife", "_name": "knife_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 76 "__id__": 89
}, },
{ {
"__id__": 78 "__id__": 91
} }
], ],
"_active": true, "_active": true,
...@@ -3935,13 +4380,13 @@ ...@@ -3935,13 +4380,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 75 "__id__": 88
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 77 "__id__": 90
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -3997,7 +4442,7 @@ ...@@ -3997,7 +4442,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 76 "__id__": 89
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4029,13 +4474,13 @@ ...@@ -4029,13 +4474,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 75 "__id__": 88
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 79 "__id__": 92
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4091,7 +4536,7 @@ ...@@ -4091,7 +4536,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 78 "__id__": 91
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4120,17 +4565,17 @@ ...@@ -4120,17 +4565,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "lamb", "_name": "lamb_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 81 "__id__": 94
}, },
{ {
"__id__": 83 "__id__": 96
} }
], ],
"_active": true, "_active": true,
...@@ -4188,13 +4633,13 @@ ...@@ -4188,13 +4633,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 80 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 82 "__id__": 95
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4250,7 +4695,7 @@ ...@@ -4250,7 +4695,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 81 "__id__": 94
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4282,13 +4727,13 @@ ...@@ -4282,13 +4727,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 80 "__id__": 93
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 84 "__id__": 97
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4344,7 +4789,7 @@ ...@@ -4344,7 +4789,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 83 "__id__": 96
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4373,17 +4818,17 @@ ...@@ -4373,17 +4818,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "live", "_name": "live_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 86 "__id__": 99
}, },
{ {
"__id__": 88 "__id__": 101
} }
], ],
"_active": true, "_active": true,
...@@ -4441,13 +4886,13 @@ ...@@ -4441,13 +4886,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 85 "__id__": 98
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 87 "__id__": 100
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4503,7 +4948,7 @@ ...@@ -4503,7 +4948,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 86 "__id__": 99
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4535,13 +4980,13 @@ ...@@ -4535,13 +4980,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 85 "__id__": 98
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 89 "__id__": 102
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4597,7 +5042,7 @@ ...@@ -4597,7 +5042,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 88 "__id__": 101
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4626,17 +5071,17 @@ ...@@ -4626,17 +5071,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "measure", "_name": "measure_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 91 "__id__": 104
}, },
{ {
"__id__": 93 "__id__": 106
} }
], ],
"_active": true, "_active": true,
...@@ -4694,13 +5139,13 @@ ...@@ -4694,13 +5139,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 103
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 92 "__id__": 105
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4756,7 +5201,7 @@ ...@@ -4756,7 +5201,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 91 "__id__": 104
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4788,13 +5233,13 @@ ...@@ -4788,13 +5233,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 90 "__id__": 103
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 94 "__id__": 107
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -4850,7 +5295,7 @@ ...@@ -4850,7 +5295,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 93 "__id__": 106
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -4879,17 +5324,17 @@ ...@@ -4879,17 +5324,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "nature", "_name": "nature_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 96 "__id__": 109
}, },
{ {
"__id__": 98 "__id__": 111
} }
], ],
"_active": true, "_active": true,
...@@ -4947,13 +5392,13 @@ ...@@ -4947,13 +5392,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 95 "__id__": 108
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 97 "__id__": 110
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5009,7 +5454,7 @@ ...@@ -5009,7 +5454,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 96 "__id__": 109
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5041,13 +5486,13 @@ ...@@ -5041,13 +5486,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 95 "__id__": 108
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 99 "__id__": 112
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5103,7 +5548,7 @@ ...@@ -5103,7 +5548,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 98 "__id__": 111
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5132,17 +5577,17 @@ ...@@ -5132,17 +5577,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "picture", "_name": "picture_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 101 "__id__": 114
}, },
{ {
"__id__": 103 "__id__": 116
} }
], ],
"_active": true, "_active": true,
...@@ -5200,13 +5645,13 @@ ...@@ -5200,13 +5645,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 100 "__id__": 113
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 102 "__id__": 115
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5262,7 +5707,7 @@ ...@@ -5262,7 +5707,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 101 "__id__": 114
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5294,13 +5739,13 @@ ...@@ -5294,13 +5739,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 100 "__id__": 113
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 104 "__id__": 117
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5356,7 +5801,7 @@ ...@@ -5356,7 +5801,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 103 "__id__": 116
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5385,17 +5830,17 @@ ...@@ -5385,17 +5830,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "rhino", "_name": "rhino_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 106 "__id__": 119
}, },
{ {
"__id__": 108 "__id__": 121
} }
], ],
"_active": true, "_active": true,
...@@ -5453,13 +5898,13 @@ ...@@ -5453,13 +5898,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 105 "__id__": 118
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 107 "__id__": 120
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5515,7 +5960,7 @@ ...@@ -5515,7 +5960,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 106 "__id__": 119
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5547,13 +5992,13 @@ ...@@ -5547,13 +5992,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 105 "__id__": 118
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 109 "__id__": 122
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5609,7 +6054,7 @@ ...@@ -5609,7 +6054,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 108 "__id__": 121
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5638,17 +6083,17 @@ ...@@ -5638,17 +6083,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "rhubarb", "_name": "rhubarb_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 111 "__id__": 124
}, },
{ {
"__id__": 113 "__id__": 126
} }
], ],
"_active": true, "_active": true,
...@@ -5706,13 +6151,13 @@ ...@@ -5706,13 +6151,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 123
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 112 "__id__": 125
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5768,7 +6213,7 @@ ...@@ -5768,7 +6213,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 111 "__id__": 124
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5800,13 +6245,13 @@ ...@@ -5800,13 +6245,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 110 "__id__": 123
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 114 "__id__": 127
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -5862,7 +6307,7 @@ ...@@ -5862,7 +6307,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 113 "__id__": 126
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -5891,17 +6336,17 @@ ...@@ -5891,17 +6336,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "satation", "_name": "satation_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 116 "__id__": 129
}, },
{ {
"__id__": 118 "__id__": 131
} }
], ],
"_active": true, "_active": true,
...@@ -5959,13 +6404,13 @@ ...@@ -5959,13 +6404,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 128
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 117 "__id__": 130
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6021,7 +6466,7 @@ ...@@ -6021,7 +6466,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 116 "__id__": 129
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6053,13 +6498,13 @@ ...@@ -6053,13 +6498,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 115 "__id__": 128
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 119 "__id__": 132
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6115,7 +6560,7 @@ ...@@ -6115,7 +6560,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 118 "__id__": 131
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6144,17 +6589,17 @@ ...@@ -6144,17 +6589,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "television", "_name": "television_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 121 "__id__": 134
}, },
{ {
"__id__": 123 "__id__": 136
} }
], ],
"_active": true, "_active": true,
...@@ -6212,13 +6657,13 @@ ...@@ -6212,13 +6657,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 133
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 122 "__id__": 135
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6274,7 +6719,7 @@ ...@@ -6274,7 +6719,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 121 "__id__": 134
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6306,13 +6751,13 @@ ...@@ -6306,13 +6751,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 120 "__id__": 133
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 124 "__id__": 137
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6368,7 +6813,7 @@ ...@@ -6368,7 +6813,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 123 "__id__": 136
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6397,17 +6842,17 @@ ...@@ -6397,17 +6842,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "wnistle", "_name": "wnistle_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 126 "__id__": 139
}, },
{ {
"__id__": 128 "__id__": 141
} }
], ],
"_active": true, "_active": true,
...@@ -6465,13 +6910,13 @@ ...@@ -6465,13 +6910,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 125 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 127 "__id__": 140
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6527,7 +6972,7 @@ ...@@ -6527,7 +6972,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 126 "__id__": 139
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6559,13 +7004,13 @@ ...@@ -6559,13 +7004,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 125 "__id__": 138
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 129 "__id__": 142
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6621,7 +7066,7 @@ ...@@ -6621,7 +7066,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 128 "__id__": 141
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6650,17 +7095,17 @@ ...@@ -6650,17 +7095,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "write", "_name": "write_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 131 "__id__": 144
}, },
{ {
"__id__": 133 "__id__": 146
} }
], ],
"_active": true, "_active": true,
...@@ -6718,13 +7163,13 @@ ...@@ -6718,13 +7163,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 130 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 132 "__id__": 145
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6780,7 +7225,7 @@ ...@@ -6780,7 +7225,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 131 "__id__": 144
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6812,13 +7257,13 @@ ...@@ -6812,13 +7257,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 130 "__id__": 143
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 134 "__id__": 147
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -6874,7 +7319,7 @@ ...@@ -6874,7 +7319,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 133 "__id__": 146
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -6903,17 +7348,17 @@ ...@@ -6903,17 +7348,17 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "wrong", "_name": "wrong_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 29 "__id__": 42
}, },
"_children": [ "_children": [
{ {
"__id__": 136 "__id__": 149
}, },
{ {
"__id__": 138 "__id__": 151
} }
], ],
"_active": true, "_active": true,
...@@ -6971,13 +7416,13 @@ ...@@ -6971,13 +7416,13 @@
"_name": "before", "_name": "before",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 135 "__id__": 148
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 137 "__id__": 150
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7033,7 +7478,7 @@ ...@@ -7033,7 +7478,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 136 "__id__": 149
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7065,13 +7510,13 @@ ...@@ -7065,13 +7510,13 @@
"_name": "after", "_name": "after",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 135 "__id__": 148
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 139 "__id__": 152
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7127,7 +7572,7 @@ ...@@ -7127,7 +7572,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 138 "__id__": 151
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7159,14 +7604,14 @@ ...@@ -7159,14 +7604,14 @@
"_name": "boxGroup", "_name": "boxGroup",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 26 "__id__": 39
}, },
"_children": [ "_children": [
{ {
"__id__": 141 "__id__": 154
}, },
{ {
"__id__": 143 "__id__": 156
} }
], ],
"_active": true, "_active": true,
...@@ -7224,13 +7669,13 @@ ...@@ -7224,13 +7669,13 @@
"_name": "box", "_name": "box",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 153
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 142 "__id__": 155
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7286,7 +7731,7 @@ ...@@ -7286,7 +7731,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 141 "__id__": 154
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7318,13 +7763,13 @@ ...@@ -7318,13 +7763,13 @@
"_name": "map", "_name": "map",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 140 "__id__": 153
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 144 "__id__": 157
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7380,7 +7825,7 @@ ...@@ -7380,7 +7825,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 143 "__id__": 156
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7418,7 +7863,7 @@ ...@@ -7418,7 +7863,7 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 146 "__id__": 159
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7474,7 +7919,7 @@ ...@@ -7474,7 +7919,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 145 "__id__": 158
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -7626,13 +8071,13 @@ ...@@ -7626,13 +8071,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 150 "__id__": 163
}, },
{ {
"__id__": 153 "__id__": 166
}, },
{ {
"__id__": 154 "__id__": 167
} }
], ],
"_active": false, "_active": false,
...@@ -7690,11 +8135,11 @@ ...@@ -7690,11 +8135,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 149 "__id__": 162
}, },
"_children": [ "_children": [
{ {
"__id__": 151 "__id__": 164
} }
], ],
"_active": true, "_active": true,
...@@ -7752,13 +8197,13 @@ ...@@ -7752,13 +8197,13 @@
"_name": "BRLNSDB", "_name": "BRLNSDB",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 150 "__id__": 163
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 152 "__id__": 165
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -7814,7 +8259,7 @@ ...@@ -7814,7 +8259,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 151 "__id__": 164
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -7845,7 +8290,7 @@ ...@@ -7845,7 +8290,7 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 149 "__id__": 162
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -7903,11 +8348,11 @@ ...@@ -7903,11 +8348,11 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 149 "__id__": 162
}, },
"_children": [ "_children": [
{ {
"__id__": 155 "__id__": 168
} }
], ],
"_active": true, "_active": true,
...@@ -7965,13 +8410,13 @@ ...@@ -7965,13 +8410,13 @@
"_name": "btn", "_name": "btn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 154 "__id__": 167
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 156 "__id__": 169
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -8027,7 +8472,7 @@ ...@@ -8027,7 +8472,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 155 "__id__": 168
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
......
...@@ -10,6 +10,14 @@ import { NetworkHelper } from "../script/NetworkHelper"; ...@@ -10,6 +10,14 @@ import { NetworkHelper } from "../script/NetworkHelper";
import { GameServer } from "../script/Server"; import { GameServer } from "../script/Server";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
const RED = "red";
const BLUE = "blue";
// 所有消息列表
const MSG_TEST = "msg_test";
const MSG_SWITCHSIDE = "msg_switch_side";
const MSG_ROLLING = "msg_rolling";
const MSG_PROFIX_END = "__END__"
@ccclass @ccclass
export default class SceneComponent extends MyCocosSceneComponent { export default class SceneComponent extends MyCocosSceneComponent {
...@@ -27,6 +35,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -27,6 +35,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
playerId; // 当前玩家ID playerId; // 当前玩家ID
isRoomOwner; // 是否为房主 isRoomOwner; // 是否为房主
recordWaitCount; // 录音等待倒计时 recordWaitCount; // 录音等待倒计时
asyncToken: ""; // 同步令牌 消息发送发会把令牌一同传给其他客户端,当客户端执行异步动作完毕以后 会把同步令牌
addPreloadImage() { addPreloadImage() {
// TODO 根据自己的配置预加载图片资源 // TODO 根据自己的配置预加载图片资源
...@@ -46,6 +55,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -46,6 +55,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initData(); this.initData();
this.initView(); this.initView();
this.initListener(); this.initListener();
this.initEvents();
} }
// 初始化数据 // 初始化数据
...@@ -131,6 +141,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -131,6 +141,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 初始化界面 // 初始化界面
this.initLoadingLayer(); this.initLoadingLayer();
this.initOfflineLayer(); this.initOfflineLayer();
this.initTurntable();
this.initGemstone();
} }
// update (dt) {}, // update (dt) {},
...@@ -161,7 +173,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -161,7 +173,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.loadingLayer = loadingLayerNode.getComponent("LoadingLayer"); this.loadingLayer = loadingLayerNode.getComponent("LoadingLayer");
this.loadingLayer.setMaxPlayerNumber(2); this.loadingLayer.setMaxPlayerNumber(2);
this.loadingLayer.onLoadFinished(() => {}); this.loadingLayer.onLoadFinished(() => {
this.initSide();
});
} }
// 初始化掉线提示组件 // 初始化掉线提示组件
...@@ -194,7 +208,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -194,7 +208,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.offlineLayer.show(); this.offlineLayer.show();
this.networkHelper.leaveRoom(); this.networkHelper.leaveRoom();
}); });
this.networkHelper.on("gameStart", (event) => {}); this.networkHelper.on("gameStart", (event) => {
console.log("游戏开始")
});
this.networkHelper.on("frameEvent", (event) => { this.networkHelper.on("frameEvent", (event) => {
cc.log("Frame event"); cc.log("Frame event");
event.data.frame.items.forEach(async (item) => { event.data.frame.items.forEach(async (item) => {
...@@ -232,16 +248,183 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -232,16 +248,183 @@ export default class SceneComponent extends MyCocosSceneComponent {
player.uuid player.uuid
); );
}); });
} else if (item.data.type == "SERVER_updateStatus") { } else {
cc.log("SERVER_updateStatus", item.data); // 遍历自定义消息
} else if (item.data.type == "SERVER_playerRoll") { for(let key in this.eventsMap) {
cc.log("SERVER_playerRoll", item.data); // 找到对应的消息类型 并且发消息的人不是自己
} else if (item.data.type == "SERVER_playerRight") { if(item.data.type == key && item.data.sender != this.playerId) {
cc.log("SERVER_playerRight"); this.runServerEvent(key, item.data.param)
} else if (item.data.type == "SERVER_playerWrong") { }
cc.log("SERVER_playerWrong"); }
} }
}); });
}); });
} }
// 用户自定义事件
eventsMap = {};
registerEvent(name, callback, endCallback?) {
if(this.eventsMap[name] != undefined) {
cc.log("该事件已经注册过,将会覆盖原有注册")
}
this.eventsMap[name] = {
fn: callback,
pending: false,
isRequireEnd: endCallback?true:false,
}
if(endCallback) {
this.eventsMap[name + MSG_PROFIX_END] = {
fn: endCallback,
pending: false,
isRequireEnd: false,
}
}
}
// 注册全局游戏事件,需要玩家之间同步执行的方法
// 无论是自己方 还是对方,只需要调用即可,方法内处理消息发送和执行
runEvent(eventName, param) {
if(this.eventsMap[eventName] == undefined) {
cc.log("该事件没有注册过");
return;
}
this.eventsMap[eventName].fn(param, ()=>{
this.eventsMap[eventName].pending = false;
});
this.eventsMap[eventName].pending = true;
this.networkHelper.sendFrame({
type: eventName,
sender: this.playerId,
param: param,
});
}
// 执行服务器发来的消息广播 和runEvent不同的地方只是 这个方法不会再次转发消息
runServerEvent(eventName, param) {
if(this.eventsMap[eventName] == undefined) {
cc.log("该事件没有注册过");
return;
}
this.eventsMap[eventName].fn(param, ()=>{
this.eventsMap[eventName].pending = false;
if(this.eventsMap[eventName].isRequireEnd) {
this.networkHelper.sendFrame({
type: eventName + MSG_PROFIX_END,
sender: this.playerId
});
}
});
this.eventsMap[eventName].pending = true;
}
// 初始化转盘
turntable: null;
initTurntable() {
this.turntable = cc.find("Canvas/Turntable").getComponent("Turntable");
cc.find("Canvas/Turntable").on("Rolling_Start", ()=>{
this.turntable.stopBlink();
this.runEvent(MSG_ROLLING, {num:1});
})
// this.turntable.initTurntable(true);
// this.turntable.blink()
// setTimeout(() => {
// this.turntable.stopBlink()
// }, 5000);
// this.turntable.disable()
// setTimeout(() => {
// this.turntable.enable();
// }, 6000);
// setTimeout(() => {
// cc.log("ABCDE")
// this.turntable.rollNum(0);
// }, 7000);
}
// 初始化宝石
gemstones = [[], [], []]
initGemstone() {
const gemstoneGroup = cc.find("Canvas/center_map/gemstone");
gemstoneGroup.children.forEach(gem=>{
let itemData = gem.addComponent('OPW_BoardGame_L5R4_word_dataitem');
itemData.word = gem.name.split("_")[0];
itemData.score = Number(gem.name.split("_")[1]);
itemData.word = gem.name.split("_")[0];
itemData.beforeNode = cc.find("before", gem);
itemData.afterNode = cc.find("after", gem);
if(itemData.score == 1) {
this.gemstones[0].push(gem);
} else if(itemData.score == 2) {
this.gemstones[1].push(gem);
} else if(itemData.score == 3) {
this.gemstones[2].push(gem);
}
itemData.afterNode.active = false;
})
}
// 选边初始化
side = RED; // 标记自己阵营颜色
currentGameSide = RED; // 当前游戏轮次的颜色
initSide() {
if(this.isRoomOwner) {
this.side = RED;
// 初始化红色阵营 先手 开始闪烁
this.turntable.blink();
} else {
this.side = BLUE;
// 蓝色阵营 后手 禁止点击
this.turntable.disable()
}
}
// 注册自定义消息事件
initEvents() {
this.registerEvent(MSG_TEST, (param, next)=>{
console.log("测试消息")
next();
})
this.registerEvent(MSG_SWITCHSIDE, (param, next)=>{
this.currentGameSide = param.side;
this.handleSwitchSide();
next();
})
this.registerEvent(MSG_ROLLING, (param, next)=>{
this.turntable.stopBlink();
this.turntable.rollNum(param.num).then(()=>{
// 异步操作执行完成后调用
next();
});
}, ()=>{
console.log(`执行${MSG_ROLLING}结束`)
if(this.side == this.currentGameSide) {
if(this.currentGameSide == RED) {
this.currentGameSide = BLUE;
} else {
this.currentGameSide = RED;
}
let side = this.currentGameSide;
this.runEvent(MSG_SWITCHSIDE, {side});
}
})
}
// 处理换边
handleSwitchSide() {
if(this.side == this.currentGameSide) {
this.turntable.enable();
this.turntable.blink();
} else {
this.turntable.disable();
this.turntable.stopBlink();
}
}
} }
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
word: "",
score: -1,
beforeNode: null,
afterNode: null
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start () {
},
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "c89bcffe-3feb-45fc-bc5c-1c4158b87e8a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment