Commit 7735f9a1 authored by 李维's avatar 李维

添加头像击用户名

parent 38eb50bc
......@@ -87,31 +87,31 @@
"__id__": 166
},
{
"__id__": 199
"__id__": 211
},
{
"__id__": 204
"__id__": 216
},
{
"__id__": 205
"__id__": 217
},
{
"__id__": 206
"__id__": 218
},
{
"__id__": 207
"__id__": 219
}
],
"_active": true,
"_components": [
{
"__id__": 215
"__id__": 227
},
{
"__id__": 216
"__id__": 228
},
{
"__id__": 217
"__id__": 229
}
],
"_prefab": null,
......@@ -8293,16 +8293,16 @@
"__id__": 167
},
{
"__id__": 182
"__id__": 188
}
],
"_active": true,
"_components": [
{
"__id__": 197
"__id__": 209
},
{
"__id__": 198
"__id__": 210
}
],
"_prefab": null,
......@@ -8371,7 +8371,7 @@
"__id__": 175
},
{
"__id__": 178
"__id__": 184
}
],
"_active": true,
......@@ -8791,6 +8791,12 @@
"_children": [
{
"__id__": 176
},
{
"__id__": 178
},
{
"__id__": 180
}
],
"_active": true,
......@@ -8818,8 +8824,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
-67.988,
29.138,
0,
0,
0,
......@@ -8880,8 +8886,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-80.956,
28.694,
0,
0,
0,
0,
0,
......@@ -8939,20 +8945,16 @@
},
{
"__type__": "cc.Node",
"_name": "name",
"_name": "image",
"_objFlags": 0,
"_parent": {
"__id__": 167
"__id__": 175
},
"_children": [
{
"__id__": 179
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 181
"__id__": 179
}
],
"_prefab": null,
......@@ -8966,8 +8968,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 325,
"height": 93
"width": 40,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -8978,72 +8980,10 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-21.426,
-42.273,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baeDHp+qtPoqnGKv0u5qOq"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 178
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 80,
"g": 50,
"b": 12,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 216,
"height": 45.36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
36.755,
-18.377,
0,
0,
0,
0,
1,
......@@ -9063,40 +9003,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d9oqDgPSdMNontuaindsOQ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "名字是几个字",
"_N$string": "名字是几个字",
"_fontSize": 36,
"_lineHeight": 36,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "36+QEvXfFMMqJLWFk6nNE2"
"_id": "38a+JQe39L67MOjkPU/n9I"
},
{
"__type__": "cc.Sprite",
......@@ -9113,9 +9020,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "97f72b80-0ea8-48de-8ad1-cd6e772f0b09"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
......@@ -9128,31 +9033,26 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8do2hh+SxCaLbO9zXHg05A"
"_id": "09K/6ffalPA4Q9Sv5ihnBb"
},
{
"__type__": "cc.Node",
"_name": "blue",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 166
"__id__": 175
},
"_children": [
{
"__id__": 183
},
{
"__id__": 186
},
{
"__id__": 190
},
"__id__": 181
}
],
"_active": false,
"_components": [
{
"__id__": 193
"__id__": 183
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -9164,8 +9064,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 151,
"height": 151
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9176,8 +9076,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-401.041,
-58.714,
0,
0,
0,
0,
0,
......@@ -9199,35 +9099,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d06GXCpnBBuroBhjvxndzA"
"_id": "fcb41pEjxHI582bc4pvAug"
},
{
"__type__": "cc.Node",
"_name": "people",
"_name": "color",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 180
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 184
"__id__": 182
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_opacity": 153,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
"width": 140,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9238,8 +9138,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
205,
23,
0,
0,
0,
0,
0,
......@@ -9261,20 +9161,76 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "admrDYyctEJ50xGL7Co2Kk"
"_id": "camAFAmlBNAKV8JoT0wCe+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7eza3OWBFEJ7UucM7Z6lGH"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "82gm//Mi9M0YAlWV7litFK"
},
{
"__type__": "cc.Node",
"_name": "db",
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 183
"__id__": 167
},
"_children": [],
"_children": [
{
"__id__": 185
}
],
"_active": true,
"_components": [
{
"__id__": 185
"__id__": 187
}
],
"_prefab": null,
......@@ -9288,8 +9244,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
"width": 325,
"height": 93
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9300,15 +9256,638 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-21.426,
-42.273,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "baeDHp+qtPoqnGKv0u5qOq"
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 186
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 80,
"g": 50,
"b": 12,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 216,
"height": 45.36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
36.755,
-18.377,
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": "d9oqDgPSdMNontuaindsOQ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 185
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "名字是几个字",
"_N$string": "名字是几个字",
"_fontSize": 36,
"_lineHeight": 36,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "36+QEvXfFMMqJLWFk6nNE2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "97f72b80-0ea8-48de-8ad1-cd6e772f0b09"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "8do2hh+SxCaLbO9zXHg05A"
},
{
"__type__": "cc.Node",
"_name": "blue",
"_objFlags": 0,
"_parent": {
"__id__": 166
},
"_children": [
{
"__id__": 189
},
{
"__id__": 192
},
{
"__id__": 196
},
{
"__id__": 205
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_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": [
-401.041,
-58.714,
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": "d06GXCpnBBuroBhjvxndzA"
},
{
"__type__": "cc.Node",
"_name": "people",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 190
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
205,
23,
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": "admrDYyctEJ50xGL7Co2Kk"
},
{
"__type__": "cc.Node",
"_name": "db",
"_objFlags": 0,
"_parent": {
"__id__": 189
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 191
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 296,
"height": 443
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
4.8009,
0,
0,
0,
0,
1,
0.5,
0.5,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ca0tUPepNGt5cbW3OEIesJ"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 190
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "c1ae0cf9-e8ee-41c8-be08-351647e64596#a7507b40-d4c0-43f5-9422-d8de803c4a31",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c1ae0cf9-e8ee-41c8-be08-351647e64596"
},
"_N$dragonAtlasAsset": {
"__uuid__": "a7507b40-d4c0-43f5-9422-d8de803c4a31"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 2,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b8Ncom7MBCUIObRalERDn0"
},
{
"__type__": "cc.Node",
"_name": "bag",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 193
}
],
"_active": true,
"_components": [
{
"__id__": 195
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
78.442,
-2.486,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9dJzFN/dJL7KeLM1Qj8IEF"
},
{
"__type__": "cc.Node",
"_name": "score",
"_objFlags": 0,
"_parent": {
"__id__": 192
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 194
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17.8,
"height": 40.32
},
"_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": "539VU3LR5DtafpYqJTYAOr"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "89VnE9NKFEPJ8xav8cmm0F"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 192
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "11fee61f-57c4-438c-bfbb-9902453c4cfd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2bro5oJ7VGZasyDicZn7Pd"
},
{
"__type__": "cc.Node",
"_name": "header",
"_objFlags": 0,
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 197
},
{
"__id__": 199
},
{
"__id__": 201
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_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": [
-41.279,
35.959,
0,
0,
0,
0,
1,
0.85,
0.85,
1
]
},
......@@ -9323,64 +9902,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ca0tUPepNGt5cbW3OEIesJ"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 184
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "c1ae0cf9-e8ee-41c8-be08-351647e64596#a7507b40-d4c0-43f5-9422-d8de803c4a31",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "c1ae0cf9-e8ee-41c8-be08-351647e64596"
},
"_N$dragonAtlasAsset": {
"__uuid__": "a7507b40-d4c0-43f5-9422-d8de803c4a31"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 2,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b8Ncom7MBCUIObRalERDn0"
"_id": "485XF43q9N/KFPPqQmUyrj"
},
{
"__type__": "cc.Node",
"_name": "bag",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 196
},
"_children": [
{
"__id__": 187
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 189
"__id__": 198
}
],
"_prefab": null,
......@@ -9394,8 +9929,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 114,
"height": 72
"width": 151,
"height": 151
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9406,15 +9941,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
78.442,
-2.486,
0,
0,
0,
0,
0,
0,
1,
0.85,
0.85,
1,
1,
1
]
},
......@@ -9429,20 +9964,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9dJzFN/dJL7KeLM1Qj8IEF"
"_id": "9e5h6VVItAF4diw4uIR6E8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2af66018-f7ea-4696-a225-b9b81e5e37fd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5cP2DB5vhKxYzFKLuvrfSr"
},
{
"__type__": "cc.Node",
"_name": "score",
"_name": "image",
"_objFlags": 0,
"_parent": {
"__id__": 186
"__id__": 196
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 188
"__id__": 200
}
],
"_prefab": null,
......@@ -9456,8 +10023,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17.8,
"height": 40.32
"width": 40,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9491,47 +10058,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "539VU3LR5DtafpYqJTYAOr"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 187
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "0",
"_N$string": "0",
"_fontSize": 32,
"_lineHeight": 32,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "89VnE9NKFEPJ8xav8cmm0F"
"_id": "cdEznGF5JDX6ObguZSwaeU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 186
"__id__": 199
},
"_enabled": true,
"_materials": [
......@@ -9542,7 +10076,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "11fee61f-57c4-438c-bfbb-9902453c4cfd"
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 1,
......@@ -9556,22 +10090,26 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "2bro5oJ7VGZasyDicZn7Pd"
"_id": "654lWWvjBEF46dOvq58cYh"
},
{
"__type__": "cc.Node",
"_name": "header",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 196
},
"_children": [
{
"__id__": 191
"__id__": 202
}
],
"_active": false,
"_components": [
{
"__id__": 204
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -9583,8 +10121,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width": 151,
"height": 151
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9596,14 +10134,14 @@
"ctor": "Float64Array",
"array": [
0,
-32.029,
0,
0,
0,
0,
0,
1,
0.85,
0.85,
1,
1,
1
]
},
......@@ -9618,35 +10156,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "485XF43q9N/KFPPqQmUyrj"
"_id": "5585Q3o8ZD7K37FllkrVXl"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_name": "color",
"_objFlags": 0,
"_parent": {
"__id__": 190
"__id__": 201
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 192
"__id__": 203
}
],
"_prefab": null,
"_opacity": 255,
"_opacity": 153,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 151,
"height": 151
"width": 140,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -9657,8 +10195,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-49.393,
79.788,
0,
0,
0,
0,
0,
......@@ -9680,14 +10218,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9e5h6VVItAF4diw4uIR6E8"
"_id": "89dJdji1RMcLEiW7qHQzm4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 191
"__id__": 202
},
"_enabled": true,
"_materials": [
......@@ -9698,10 +10236,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2af66018-f7ea-4696-a225-b9b81e5e37fd"
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -9712,24 +10250,44 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "5cP2DB5vhKxYzFKLuvrfSr"
"_id": "e6E+HDftFCKI1AxNebHOcM"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "738dlS0B5FAIb7Z8tmkmmF"
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 188
},
"_children": [
{
"__id__": 194
"__id__": 206
}
],
"_active": true,
"_components": [
{
"__id__": 196
"__id__": 208
}
],
"_prefab": null,
......@@ -9785,13 +10343,13 @@
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 193
"__id__": 205
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 195
"__id__": 207
}
],
"_prefab": null,
......@@ -9847,7 +10405,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 194
"__id__": 206
},
"_enabled": true,
"_materials": [
......@@ -9880,7 +10438,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 205
},
"_enabled": true,
"_materials": [
......@@ -9975,16 +10533,16 @@
},
"_children": [
{
"__id__": 200
"__id__": 212
}
],
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 214
},
{
"__id__": 203
"__id__": 215
}
],
"_prefab": null,
......@@ -10040,13 +10598,13 @@
"_name": "coolcat",
"_objFlags": 0,
"_parent": {
"__id__": 199
"__id__": 211
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 201
"__id__": 213
}
],
"_prefab": null,
......@@ -10102,7 +10660,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 200
"__id__": 212
},
"_enabled": true,
"_materials": [
......@@ -10142,7 +10700,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
"__id__": 211
},
"_enabled": true,
"_materials": [
......@@ -10174,7 +10732,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
"__id__": 211
},
"_enabled": true,
"alignMode": 1,
......@@ -10379,13 +10937,13 @@
},
"_children": [
{
"__id__": 208
"__id__": 220
},
{
"__id__": 211
"__id__": 223
},
{
"__id__": 212
"__id__": 224
}
],
"_active": false,
......@@ -10443,11 +11001,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 207
"__id__": 219
},
"_children": [
{
"__id__": 209
"__id__": 221
}
],
"_active": true,
......@@ -10505,13 +11063,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 208
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 210
"__id__": 222
}
],
"_prefab": null,
......@@ -10567,7 +11125,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 209
"__id__": 221
},
"_enabled": true,
"_materials": [],
......@@ -10598,7 +11156,7 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 207
"__id__": 219
},
"_children": [],
"_active": true,
......@@ -10656,11 +11214,11 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 207
"__id__": 219
},
"_children": [
{
"__id__": 213
"__id__": 225
}
],
"_active": true,
......@@ -10718,13 +11276,13 @@
"_name": "btn",
"_objFlags": 512,
"_parent": {
"__id__": 212
"__id__": 224
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 214
"__id__": 226
}
],
"_prefab": null,
......@@ -10780,7 +11338,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 213
"__id__": 225
},
"_enabled": true,
"_clip": {
......
......@@ -20,7 +20,6 @@ const MSG_TEST = "msg_test";
const MSG_SWITCHSIDE = "msg_switch_side";
const MSG_ROLLING = "msg_rolling";
const MSG_GO = "msg_go";
const MSG_BACK = "msg_back";
const MSG_TIMEOUT = "msg_timeout";
const MSG_FINISH = "msg_finish";
const MSG_PLAYER_TO_TREE = "msg_player_to_tree";
......@@ -73,7 +72,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
do {
this.playerId = await this.networkHelper.init("l2_boardgame2_tree", 2);
if (this.playerId === null) {
console.log("onDestroy");
this.networkHelper.onDestroy();
}
console.log("this.playerId = " + this.playerId);
......@@ -187,6 +185,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.loadingLayer.onLoadFinished(() => {
this.initSide();
this.initTimer();
this.initPlayerInfo();
});
}
......@@ -654,7 +653,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 转盘
this.registerEvent(MSG_ROLLING, (param, next)=>{
console.log("转盘结果:", param.nextGem)
// console.log("转盘结果:", param.nextGem)
this.turntable.stopBlink();
this.turntable.rollNum(param.nextGem.score).then(()=>{
// 异步操作执行完成后调用
......@@ -667,11 +666,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 走棋
this.registerEvent(MSG_GO, (param, next)=>{
console.log("走棋开始");
// setTimeout(() => {
// console.log("走棋结束");
// next()
// }, 2000);
if(this.currentGameSide == RED) {
this.playerToGem(this.redPlayerNode, this.gemstonesAll[param.index]).then(()=>{
next(param);
......@@ -700,26 +694,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
})
// 后退
this.registerEvent(MSG_BACK, (param, next)=>{
console.log("走棋开始");
setTimeout(() => {
console.log("走棋结束");
next()
}, 2000);
}, ()=>{
// 游戏流程3: 测评 - 对手不会出现测评界面
this.runFunctionMySide(()=>{
console.log("语音评测开始");
setTimeout(() => {
console.log("语音评测结束")
}, 2000);
})
})
// 时间到
this.registerEvent(MSG_TIMEOUT, (param, next) => {
console.log("时间到")
// console.log("时间到")
this.turntable.disable();
this.turntable.stopBlink();
setTimeout(() => {
......@@ -793,7 +770,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
const arrIndex1 = gem.__arrIndex1;
const arrIndex2 = gem.__arrIndex2;
gem.__isDone = true;
console.log(this.gemstones[arrIndex1][arrIndex2]);
}
// 走棋
......@@ -801,6 +777,29 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
// 初始化用户信息 头像 名字
initPlayerInfo() {
const red = cc.find("Canvas/playerLand/red/header/image");
const blue = cc.find("Canvas/playerLand/blue/header/image");
const redName = cc.find("Canvas/playerLand/red/name/label").getComponent(cc.Label);
const blueName = cc.find("Canvas/playerLand/blue/name/label").getComponent(cc.Label);
this.allPlayerList.forEach((player) => {
this.getSpriteFrimeByUrl(player.headUrl, (sf) => {
if (player.color == "Red") {
red.getComponent(cc.Sprite).spriteFrame = sf;
red.width = 140;
red.height = 140;
redName.string = player.name;
} else {
blue.getComponent(cc.Sprite).spriteFrame = sf;
blue.width = 140;
blue.height = 140;
blueName.string = player.name;
}
});
});
}
// 处理换边
handleSwitchSide() {
if(this.side == this.currentGameSide) {
......
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