Commit a86e3170 authored by 范雪寒's avatar 范雪寒

feat: 屏幕外节点透明

parent 61fab68d
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
"array": [ "array": [
0, 0,
0, 0,
700.6145516616109, 692.319652090988,
0, 0,
0, 0,
0, 0,
...@@ -730,7 +730,7 @@ ...@@ -730,7 +730,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "03k4H5NDVHyr71C7aHraw6" "_id": "6aFG1cAVVFkrC7NvArD4OL"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -766,7 +766,7 @@ ...@@ -766,7 +766,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "04cVOLcltK3KBjXt29A8pI" "_id": "65+b4zuFhDwLyO2cMuuwah"
}, },
{ {
"__type__": "cc.LabelOutline", "__type__": "cc.LabelOutline",
...@@ -784,7 +784,7 @@ ...@@ -784,7 +784,7 @@
"a": 255 "a": 255
}, },
"_width": 3, "_width": 3,
"_id": "60zSIh3k5PxqgzhuoAuIbw" "_id": "edsi5A5ilMOLh2ju4Vq4sv"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
...@@ -4004,7 +4004,7 @@ ...@@ -4004,7 +4004,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -4382,7 +4382,7 @@ ...@@ -4382,7 +4382,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -4760,7 +4760,7 @@ ...@@ -4760,7 +4760,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -5138,7 +5138,7 @@ ...@@ -5138,7 +5138,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -5516,7 +5516,7 @@ ...@@ -5516,7 +5516,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -5894,7 +5894,7 @@ ...@@ -5894,7 +5894,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -6272,7 +6272,7 @@ ...@@ -6272,7 +6272,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -6650,7 +6650,7 @@ ...@@ -6650,7 +6650,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -7028,7 +7028,7 @@ ...@@ -7028,7 +7028,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -7406,7 +7406,7 @@ ...@@ -7406,7 +7406,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -7784,7 +7784,7 @@ ...@@ -7784,7 +7784,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -8162,7 +8162,7 @@ ...@@ -8162,7 +8162,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -8540,7 +8540,7 @@ ...@@ -8540,7 +8540,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -8918,7 +8918,7 @@ ...@@ -8918,7 +8918,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -9296,7 +9296,7 @@ ...@@ -9296,7 +9296,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -9674,7 +9674,7 @@ ...@@ -9674,7 +9674,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -10052,7 +10052,7 @@ ...@@ -10052,7 +10052,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -10430,7 +10430,7 @@ ...@@ -10430,7 +10430,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -10808,7 +10808,7 @@ ...@@ -10808,7 +10808,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -11186,7 +11186,7 @@ ...@@ -11186,7 +11186,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -11564,7 +11564,7 @@ ...@@ -11564,7 +11564,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -11942,7 +11942,7 @@ ...@@ -11942,7 +11942,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -12320,7 +12320,7 @@ ...@@ -12320,7 +12320,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -12698,7 +12698,7 @@ ...@@ -12698,7 +12698,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -13076,7 +13076,7 @@ ...@@ -13076,7 +13076,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -13454,7 +13454,7 @@ ...@@ -13454,7 +13454,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -13832,7 +13832,7 @@ ...@@ -13832,7 +13832,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -14210,7 +14210,7 @@ ...@@ -14210,7 +14210,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -14588,7 +14588,7 @@ ...@@ -14588,7 +14588,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -14966,7 +14966,7 @@ ...@@ -14966,7 +14966,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -15344,7 +15344,7 @@ ...@@ -15344,7 +15344,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -15722,7 +15722,7 @@ ...@@ -15722,7 +15722,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -16100,7 +16100,7 @@ ...@@ -16100,7 +16100,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -16478,7 +16478,7 @@ ...@@ -16478,7 +16478,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -16856,7 +16856,7 @@ ...@@ -16856,7 +16856,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -17234,7 +17234,7 @@ ...@@ -17234,7 +17234,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -17612,7 +17612,7 @@ ...@@ -17612,7 +17612,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -17990,7 +17990,7 @@ ...@@ -17990,7 +17990,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -18368,7 +18368,7 @@ ...@@ -18368,7 +18368,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -18746,7 +18746,7 @@ ...@@ -18746,7 +18746,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -19124,7 +19124,7 @@ ...@@ -19124,7 +19124,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -19502,7 +19502,7 @@ ...@@ -19502,7 +19502,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -19880,7 +19880,7 @@ ...@@ -19880,7 +19880,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -20258,7 +20258,7 @@ ...@@ -20258,7 +20258,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -20636,7 +20636,7 @@ ...@@ -20636,7 +20636,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -21014,7 +21014,7 @@ ...@@ -21014,7 +21014,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -21392,7 +21392,7 @@ ...@@ -21392,7 +21392,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -21770,7 +21770,7 @@ ...@@ -21770,7 +21770,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -22148,7 +22148,7 @@ ...@@ -22148,7 +22148,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -22526,7 +22526,7 @@ ...@@ -22526,7 +22526,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -22904,7 +22904,7 @@ ...@@ -22904,7 +22904,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -23282,7 +23282,7 @@ ...@@ -23282,7 +23282,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
......
...@@ -301,6 +301,7 @@ cc.Class({ ...@@ -301,6 +301,7 @@ cc.Class({
letterBg.x = 0; letterBg.x = 0;
letterBg.y = 0; letterBg.y = 0;
letterBg.parent = letterBaseNode; letterBg.parent = letterBaseNode;
letterBg.opacity = 255;
const bg = cc.find('LetterMask/bg', letterBg); const bg = cc.find('LetterMask/bg', letterBg);
bg.active = true; bg.active = true;
bg.opacity = 255; bg.opacity = 255;
......
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