bugfix for 2d-sprite-glow-inner

This commit is contained in:
caizhitao
2020-02-17 09:55:50 +08:00
parent 549bbdf5e2
commit 1f4110d26f
7 changed files with 94 additions and 351 deletions

View File

@@ -78,13 +78,13 @@
"_active": true,
"_components": [
{
"__id__": 130
"__id__": 124
},
{
"__id__": 131
"__id__": 125
},
{
"__id__": 132
"__id__": 126
}
],
"_prefab": null,
@@ -174,7 +174,7 @@
"array": [
0,
0,
492.17758360225525,
324.7595264191645,
0,
0,
0,
@@ -254,7 +254,7 @@
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 123
}
],
"_prefab": null,
@@ -673,6 +673,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1240,6 +1242,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1434,6 +1438,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2001,6 +2007,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2195,6 +2203,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2762,6 +2772,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2956,6 +2968,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3523,6 +3537,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3717,6 +3733,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -4284,6 +4302,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -4478,6 +4498,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 2,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5045,6 +5067,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5155,24 +5179,15 @@
},
{
"__id__": 119
},
{
"__id__": 121
},
{
"__id__": 123
},
{
"__id__": 125
}
],
"_active": true,
"_components": [
{
"__id__": 127
"__id__": 121
},
{
"__id__": 128
"__id__": 122
}
],
"_prefab": null,
@@ -5187,7 +5202,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 384,
"height": 435.33
"height": 442
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5223,100 +5238,6 @@
"groupIndex": 0,
"_id": "feymBChPxA1pr6+/rlPqey"
},
{
"__type__": "cc.Node",
"_name": "ball_0",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 116
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-30,
0,
0,
0,
0,
1,
2,
2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "49czqIEPBHr6kLJbb+kN8/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 115
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d0b78623-4e79-4de1-b1d2-ea211bf4652c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "94vIBMHVlAN4EGbkr2wRvX"
},
{
"__type__": "cc.Node",
"_name": "cocos_logo",
@@ -5328,7 +5249,7 @@
"_active": true,
"_components": [
{
"__id__": 118
"__id__": 116
}
],
"_prefab": null,
@@ -5384,12 +5305,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 117
"__id__": 115
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
"__uuid__": "647e873f-e0ed-4ce7-84cb-9e4d4f8a211f"
}
],
"_srcBlendFactor": 770,
@@ -5422,7 +5343,7 @@
"_active": true,
"_components": [
{
"__id__": 120
"__id__": 118
}
],
"_prefab": null,
@@ -5478,12 +5399,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
"__id__": 117
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
"__uuid__": "647e873f-e0ed-4ce7-84cb-9e4d4f8a211f"
}
],
"_srcBlendFactor": 770,
@@ -5505,192 +5426,6 @@
"_atlas": null,
"_id": "4bH5hzKe9LsLQeXjLynIHQ"
},
{
"__type__": "cc.Node",
"_name": "video_btn",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 122
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 50,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-559,
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": "c73V7fMuVE0aD5fGtmyzmF"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 121
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "54142b08-a163-426e-a75e-4c7b21046413"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f43fJCjNdOS5VHAEhp0yDU"
},
{
"__type__": "cc.Node",
"_name": "SystemFont",
"_objFlags": 0,
"_parent": {
"__id__": 114
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 124
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 97.87,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-657.2,
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": "5dfIaYLgJPQKk50HqrgyHI"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
}
],
"_useOriginalSize": false,
"_string": "System Font",
"_N$string": "System Font",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d1whc7H8RHdrROcYj+2Qh1"
},
{
"__type__": "cc.Node",
"_name": "BmFont",
@@ -5702,7 +5437,7 @@
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 120
}
],
"_prefab": null,
@@ -5717,7 +5452,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 167.5,
"height": 33.33
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5729,7 +5464,7 @@
"ctor": "Float64Array",
"array": [
0,
-418.665,
-422,
0,
0,
0,
@@ -5758,12 +5493,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 119
},
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
"__uuid__": "647e873f-e0ed-4ce7-84cb-9e4d4f8a211f"
}
],
"_useOriginalSize": false,
@@ -5778,6 +5513,8 @@
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -5823,7 +5560,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 384,
"height": 435.33
"height": 442
},
"_resize": 1,
"_N$layoutType": 2,
@@ -5906,6 +5643,7 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0
"_originalHeight": 0,
"_id": "314F24pJRBBZaYka0OCTsh"
}
]

View File

@@ -174,7 +174,7 @@
"array": [
0,
0,
491.0364039457767,
324.7595264191645,
0,
0,
0,
@@ -990,6 +990,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1069,7 +1071,7 @@
"_enabled": true,
"_materials": [
{
"__uuid__": "2c760728-404d-4553-a1d0-7ab18263845c"
"__uuid__": "647e873f-e0ed-4ce7-84cb-9e4d4f8a211f"
}
],
"_srcBlendFactor": 770,
@@ -1308,6 +1310,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1626,6 +1630,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -1944,6 +1950,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2262,6 +2270,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2580,6 +2590,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -2898,6 +2910,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3216,6 +3230,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3584,6 +3600,8 @@
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
@@ -3679,6 +3697,7 @@
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0
"_originalHeight": 0,
"_id": "02nUBbknlA3Jny2yiia5qS"
}
]