Commit 6a67339f authored by 李维's avatar 李维

修改轮次标识

parent 03a45a60
......@@ -116,14 +116,14 @@
],
"_active": true,
"_components": [
{
"__id__": 103
},
{
"__id__": 104
},
{
"__id__": 105
},
{
"__id__": 106
}
],
"_prefab": null,
......@@ -4542,14 +4542,14 @@
],
"_active": true,
"_components": [
{
"__id__": 100
},
{
"__id__": 101
},
{
"__id__": 102
},
{
"__id__": 103
}
],
"_prefab": null,
......@@ -4739,6 +4739,9 @@
},
{
"__id__": 99
},
{
"__id__": 100
}
],
"_prefab": null,
......@@ -4752,7 +4755,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 34.75,
"width": 94.52,
"height": 31.5
},
"_anchorPoint": {
......@@ -4804,8 +4807,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "1/2",
"_N$string": "1/2",
"_string": "Round 1",
"_N$string": "Round 1",
"_fontSize": 25,
"_lineHeight": 25,
"_enableWrapText": true,
......@@ -4834,7 +4837,7 @@
"_target": null,
"_alignFlags": 32,
"_left": 0,
"_right": -47.655000000000015,
"_right": -107.42500000000001,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
......@@ -4849,6 +4852,24 @@
"_originalHeight": 0,
"_id": "61nK2Ti3FBUIwnoeXuR13Q"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": false,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_width": 1,
"_id": "d3osy8ojFABaGzAkG855zf"
},
{
"__type__": "cc.Sprite",
"_name": "",
......
......@@ -152,12 +152,12 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
if (Game.getIns().roundCount == 2) {
img.active = false;
icon.active = true;
pro_label.getComponent(cc.Label).string = `2/2`;
pro_label.getComponent(cc.Label).string = `Round 2`;
} else {
img.active = true;
icon.active = false;
pg.view.setNetImg(img, data.image, { w: 110, h: 110 });
pro_label.getComponent(cc.Label).string = `1/2`;
pro_label.getComponent(cc.Label).string = `Round 1`;
}
}
......
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