Deploy website - based on b241545287

This commit is contained in:
SmallMain
2022-06-23 18:09:23 +08:00
parent 47c8be2ffb
commit 8eda0a5ca4
501 changed files with 228352 additions and 215 deletions

View File

@@ -0,0 +1,274 @@
{
"paths": {
"3e30KyALhNkZttyuW0A6EU": [
"effects/custom-2d-sprite",
"cc.EffectAsset"
],
"e8ql4cBzBOvoGh5/oNub59": [
"fonts/SFNSMonoItalic",
"cc.TTFFont"
],
"45vlnzVlVDaZ6fRVyB0t3Z": [
"fonts/normalFont",
"cc.Texture2D"
],
"80AR/OlBFOoajT99htLYeJ": [
"fonts/normalFont",
"cc.BitmapFont"
],
"92aqwImq1Ik7GrBSFnKTF2": [
"fonts/normalFont",
"cc.SpriteFrame",
1
],
"a7ZscqX+JCIZRS157bMyhq": [
"images/1655112479313",
"cc.SpriteFrame",
1
],
"c1Hf3Sl8ZAnJwP/fpoHxap": [
"images/1655112479313",
"cc.Texture2D"
],
"62MQQadaVK8qQN8n6UmJAa": [
"images/1655112514006",
"cc.Texture2D"
],
"85yTK+9shIo7RQfQ1TDEUi": [
"images/1655112514006",
"cc.SpriteFrame",
1
],
"09o3P/9gBP/Yc7AnxUBZ+Q": [
"images/1655112526123",
"cc.SpriteFrame",
1
],
"39jYWzSTREwI2OOBK5nwFe": [
"images/1655112526123",
"cc.Texture2D"
],
"70VXjGE0JMUqGli0jmCmTF": [
"images/1655112538161",
"cc.SpriteFrame",
1
],
"d0bST/wYpJQIL5T+PCq46W": [
"images/1655112538161",
"cc.Texture2D"
],
"68Q/ALDvRLfKrAQu5CY15V": [
"images/1655112548981",
"cc.Texture2D"
],
"87/8ZHBEVIkKeNxmalrn9r": [
"images/1655112548981",
"cc.SpriteFrame",
1
],
"70JFWsm5JN17FDywI0Lb5I": [
"images/1655112563832",
"cc.Texture2D"
],
"d0Bu8c2MBCKJc+mKBWzjsJ": [
"images/1655112563832",
"cc.SpriteFrame",
1
],
"1cijzBpFJCdoSNK98w5oUq": [
"images/1655112624336",
"cc.Texture2D"
],
"8029xEf4FHy49dWo6NK8c7": [
"images/1655112624336",
"cc.SpriteFrame",
1
],
"34Wm35ZlJBApgKytyVFWhX": [
"images/1655799093442",
"cc.SpriteFrame",
1
],
"a97PGbCjtNjr/hYUBJUJ3p": [
"images/1655799093442",
"cc.Texture2D"
],
"2cDGL4OAVN0ZbEl3w2urT8": [
"materials/custom-2d-sprite",
"cc.Material"
],
"69Fj/0+E5NeI6nlG9iAH/N": [
"spines/huatuo",
"cc.Asset"
],
"80ThG1v09KeKxKhEPnFmvh": [
"spines/huatuo",
"cc.Texture2D"
],
"93dM6KrkZCf5dgNpQwf7T6": [
"spines/huatuo",
"sp.SkeletonData"
],
"b5ObM0rx1GDKGN3k5VlH0s": [
"spines/huatuo",
"cc.SpriteFrame",
1
],
"b6OkwTsm1LK5cvRTwFehiy": [
"spines/spineboy",
"cc.TextAsset"
],
"bc2ZOJo5NCbrI0FXxitEvE": [
"spines/spineboy",
"sp.SkeletonData"
],
"d9xFMK7wVFwbAS60aG9McP": [
"spines/spineboy",
"cc.Texture2D"
],
"f2P0YcCjtHDqebnuMp4CMZ": [
"spines/spineboy",
"cc.SpriteFrame",
1
]
},
"uuids": [
"09o3P/9gBP/Yc7AnxUBZ+Q",
"1cijzBpFJCdoSNK98w5oUq",
"2cDGL4OAVN0ZbEl3w2urT8",
"34Wm35ZlJBApgKytyVFWhX",
"39jYWzSTREwI2OOBK5nwFe",
"3e30KyALhNkZttyuW0A6EU",
"45vlnzVlVDaZ6fRVyB0t3Z",
"62MQQadaVK8qQN8n6UmJAa",
"68Q/ALDvRLfKrAQu5CY15V",
"69Fj/0+E5NeI6nlG9iAH/N",
"6eBWFz0oVHPLIGQKf/9Thu",
"70JFWsm5JN17FDywI0Lb5I",
"70VXjGE0JMUqGli0jmCmTF",
"80AR/OlBFOoajT99htLYeJ",
"80ThG1v09KeKxKhEPnFmvh",
"8029xEf4FHy49dWo6NK8c7",
"85yTK+9shIo7RQfQ1TDEUi",
"87/8ZHBEVIkKeNxmalrn9r",
"92aqwImq1Ik7GrBSFnKTF2",
"93dM6KrkZCf5dgNpQwf7T6",
"a7ZscqX+JCIZRS157bMyhq",
"a97PGbCjtNjr/hYUBJUJ3p",
"b5ObM0rx1GDKGN3k5VlH0s",
"b6OkwTsm1LK5cvRTwFehiy",
"bc2ZOJo5NCbrI0FXxitEvE",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"d0Bu8c2MBCKJc+mKBWzjsJ",
"d0bST/wYpJQIL5T+PCq46W",
"d9xFMK7wVFwbAS60aG9McP",
"e8ql4cBzBOvoGh5/oNub59",
"f2P0YcCjtHDqebnuMp4CMZ"
],
"scenes": {},
"redirect": [],
"deps": [],
"packs": {},
"name": "common",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"09o3P/9gBP/Yc7AnxUBZ+Q",
"eebfd",
"1cijzBpFJCdoSNK98w5oUq",
"7be92",
"2cDGL4OAVN0ZbEl3w2urT8",
"526c1",
"34Wm35ZlJBApgKytyVFWhX",
"560c7",
"39jYWzSTREwI2OOBK5nwFe",
"7be92",
"3e30KyALhNkZttyuW0A6EU",
"7f89c",
"45vlnzVlVDaZ6fRVyB0t3Z",
"7be92",
"62MQQadaVK8qQN8n6UmJAa",
"7be92",
"68Q/ALDvRLfKrAQu5CY15V",
"7be92",
"69Fj/0+E5NeI6nlG9iAH/N",
"a781b",
"6eBWFz0oVHPLIGQKf/9Thu",
"7be92",
"70JFWsm5JN17FDywI0Lb5I",
"7be92",
"70VXjGE0JMUqGli0jmCmTF",
"fac8a",
"80AR/OlBFOoajT99htLYeJ",
"becf9",
"80ThG1v09KeKxKhEPnFmvh",
"7be92",
"8029xEf4FHy49dWo6NK8c7",
"56dfc",
"85yTK+9shIo7RQfQ1TDEUi",
"2a41b",
"87/8ZHBEVIkKeNxmalrn9r",
"8fc04",
"92aqwImq1Ik7GrBSFnKTF2",
"99e2d",
"93dM6KrkZCf5dgNpQwf7T6",
"19765",
"a7ZscqX+JCIZRS157bMyhq",
"ee3e8",
"a97PGbCjtNjr/hYUBJUJ3p",
"7be92",
"b5ObM0rx1GDKGN3k5VlH0s",
"8c55c",
"b6OkwTsm1LK5cvRTwFehiy",
"75d8c",
"bc2ZOJo5NCbrI0FXxitEvE",
"6332d",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"7be92",
"d0Bu8c2MBCKJc+mKBWzjsJ",
"1f6cd",
"d0bST/wYpJQIL5T+PCq46W",
"7be92",
"d9xFMK7wVFwbAS60aG9McP",
"7be92",
"e8ql4cBzBOvoGh5/oNub59",
"71945",
"f2P0YcCjtHDqebnuMp4CMZ",
"183bd"
],
"native": [
"1cijzBpFJCdoSNK98w5oUq",
"91637",
"39jYWzSTREwI2OOBK5nwFe",
"2eb47",
"45vlnzVlVDaZ6fRVyB0t3Z",
"ca872",
"62MQQadaVK8qQN8n6UmJAa",
"40d17",
"68Q/ALDvRLfKrAQu5CY15V",
"9a531",
"69Fj/0+E5NeI6nlG9iAH/N",
"b8970",
"6eBWFz0oVHPLIGQKf/9Thu",
"6d3cf",
"70JFWsm5JN17FDywI0Lb5I",
"7b3fa",
"80ThG1v09KeKxKhEPnFmvh",
"fd38c",
"a97PGbCjtNjr/hYUBJUJ3p",
"0f278",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"d86d7",
"d0bST/wYpJQIL5T+PCq46W",
"9c555",
"d9xFMK7wVFwbAS60aG9McP",
"abf6b",
"e8ql4cBzBOvoGh5/oNub59",
"a6625"
]
}
}

View File

@@ -0,0 +1,51 @@
[
1,
[
"39jYWzSTREwI2OOBK5nwFe"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112526123",
"rect": [
0,
0,
656,
992
],
"offset": [
0,
0
],
"originalSize": [
656,
992
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,83 @@
[
1,
[
"62MQQadaVK8qQN8n6UmJAa",
"6eBWFz0oVHPLIGQKf/9Thu",
"3e30KyALhNkZttyuW0A6EU"
],
[
"texture",
"texture2",
"_effectAsset"
],
[
[
"cc.Material",
[
"_name",
"_techniqueData"
],
2,
11
]
],
[
[
0,
0,
1,
2
]
],
[
[
0,
"custom-2d-sprite",
[
{},
"0",
11,
[
{
"defines": {
"USE_TEXTURE": true,
"USE_MULTI_TEXTURE": true
}
},
"props",
11,
[
{
"blur": 0.01,
"wh_ratio": 1,
"radius": 0.45
},
"texture",
6,
0,
"texture2",
6,
1
]
]
]
]
],
0,
0,
[
0,
0,
0
],
[
0,
1,
2
],
[
0,
1,
2
]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"a97PGbCjtNjr/hYUBJUJ3p"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655799093442",
"rect": [
0,
0,
306,
262
],
"offset": [
0,
0
],
"originalSize": [
306,
262
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,385 @@
[
1,
0,
0,
[
[
"cc.EffectAsset",
[
"_name",
"shaders",
"techniques"
],
0
]
],
[
[
0,
0,
1,
2,
4
]
],
[
[
0,
"custom-2d-sprite",
[
{
"hash": 2734998855,
"record": null,
"name": "custom-2d-sprite|vs|fs",
"glsl3": {
"vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nin vec3 a_position;\nin vec4 a_color;\nout vec4 v_color;\n#if USE_TEXTURE\nin vec2 a_uv0;\nout vec2 v_uv0;\n#if USE_MULTI_TEXTURE\nin float a_texId;\nout float v_texId;\n#endif\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #if USE_MULTI_TEXTURE\n v_texId = a_texId;\n #endif\n #endif\n v_color = a_color;\n gl_Position = pos;\n}",
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform ALPHA_TEST {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nin vec4 v_color;\n#if USE_TEXTURE\nin vec2 v_uv0;\nuniform sampler2D texture;\n#if USE_MULTI_TEXTURE\nin float v_texId;\nuniform sampler2D texture2;\nuniform sampler2D texture3;\nuniform sampler2D texture4;\nuniform sampler2D texture5;\nuniform sampler2D texture6;\nuniform sampler2D texture7;\nuniform sampler2D texture8;\n#endif\n#endif\nuniform ARGS{\n float radius;\n float blur;\n vec2 center;\n float wh_ratio;\n};\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n #if USE_MULTI_TEXTURE\n if(v_texId < 1.0){\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n } else if(v_texId < 2.0){\n vec4 texture2_tmp = texture(texture2, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture2\n texture2_tmp.a *= texture(texture2, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture2_tmp.rgb * texture2_tmp.rgb);\n o.a *= texture2_tmp.a;\n #else\n o *= texture2_tmp;\n #endif\n } else if(v_texId < 3.0){\n vec4 texture3_tmp = texture(texture3, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture3\n texture3_tmp.a *= texture(texture3, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture3_tmp.rgb * texture3_tmp.rgb);\n o.a *= texture3_tmp.a;\n #else\n o *= texture3_tmp;\n #endif\n } else if(v_texId < 4.0){\n vec4 texture4_tmp = texture(texture4, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture4\n texture4_tmp.a *= texture(texture4, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture4_tmp.rgb * texture4_tmp.rgb);\n o.a *= texture4_tmp.a;\n #else\n o *= texture4_tmp;\n #endif\n } else if(v_texId < 5.0){\n vec4 texture5_tmp = texture(texture5, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture5\n texture5_tmp.a *= texture(texture5, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture5_tmp.rgb * texture5_tmp.rgb);\n o.a *= texture5_tmp.a;\n #else\n o *= texture5_tmp;\n #endif\n } else if(v_texId < 6.0){\n vec4 texture6_tmp = texture(texture6, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture6\n texture6_tmp.a *= texture(texture6, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture6_tmp.rgb * texture6_tmp.rgb);\n o.a *= texture6_tmp.a;\n #else\n o *= texture6_tmp;\n #endif\n } else if(v_texId < 7.0){\n vec4 texture7_tmp = texture(texture7, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture7\n texture7_tmp.a *= texture(texture7, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture7_tmp.rgb * texture7_tmp.rgb);\n o.a *= texture7_tmp.a;\n #else\n o *= texture7_tmp;\n #endif\n } else {\n vec4 texture8_tmp = texture(texture8, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture8\n texture8_tmp.a *= texture(texture8, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture8_tmp.rgb * texture8_tmp.rgb);\n o.a *= texture8_tmp.a;\n #else\n o *= texture8_tmp;\n #endif\n }\n #else\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n float circle = radius * radius;\n float rx = center.x * wh_ratio;\n float ry = center.y;\n float dis = (v_uv0.x * wh_ratio - rx) * (v_uv0.x * wh_ratio - rx) + (v_uv0.y - ry) * (v_uv0.y - ry);\n o.a = smoothstep(circle, circle - blur, dis);\n gl_FragColor = o;\n}"
},
"glsl1": {
"vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nattribute vec4 a_color;\nvarying vec4 v_color;\n#if USE_TEXTURE\nattribute vec2 a_uv0;\nvarying vec2 v_uv0;\n#if USE_MULTI_TEXTURE\nattribute float a_texId;\nvarying float v_texId;\n#endif\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #if USE_MULTI_TEXTURE\n v_texId = a_texId;\n #endif\n #endif\n v_color = a_color;\n gl_Position = pos;\n}",
"frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvarying vec4 v_color;\n#if USE_TEXTURE\nvarying vec2 v_uv0;\nuniform sampler2D texture;\n#if USE_MULTI_TEXTURE\nvarying float v_texId;\nuniform sampler2D texture2;\nuniform sampler2D texture3;\nuniform sampler2D texture4;\nuniform sampler2D texture5;\nuniform sampler2D texture6;\nuniform sampler2D texture7;\nuniform sampler2D texture8;\n#endif\n#endif\nuniform float radius;\nuniform float blur;\nuniform vec2 center;\nuniform float wh_ratio;\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n #if USE_MULTI_TEXTURE\n if(v_texId < 1.0){\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n } else if(v_texId < 2.0){\n vec4 texture2_tmp = texture2D(texture2, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture2\n texture2_tmp.a *= texture2D(texture2, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture2_tmp.rgb * texture2_tmp.rgb);\n o.a *= texture2_tmp.a;\n #else\n o *= texture2_tmp;\n #endif\n } else if(v_texId < 3.0){\n vec4 texture3_tmp = texture2D(texture3, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture3\n texture3_tmp.a *= texture2D(texture3, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture3_tmp.rgb * texture3_tmp.rgb);\n o.a *= texture3_tmp.a;\n #else\n o *= texture3_tmp;\n #endif\n } else if(v_texId < 4.0){\n vec4 texture4_tmp = texture2D(texture4, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture4\n texture4_tmp.a *= texture2D(texture4, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture4_tmp.rgb * texture4_tmp.rgb);\n o.a *= texture4_tmp.a;\n #else\n o *= texture4_tmp;\n #endif\n } else if(v_texId < 5.0){\n vec4 texture5_tmp = texture2D(texture5, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture5\n texture5_tmp.a *= texture2D(texture5, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture5_tmp.rgb * texture5_tmp.rgb);\n o.a *= texture5_tmp.a;\n #else\n o *= texture5_tmp;\n #endif\n } else if(v_texId < 6.0){\n vec4 texture6_tmp = texture2D(texture6, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture6\n texture6_tmp.a *= texture2D(texture6, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture6_tmp.rgb * texture6_tmp.rgb);\n o.a *= texture6_tmp.a;\n #else\n o *= texture6_tmp;\n #endif\n } else if(v_texId < 7.0){\n vec4 texture7_tmp = texture2D(texture7, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture7\n texture7_tmp.a *= texture2D(texture7, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture7_tmp.rgb * texture7_tmp.rgb);\n o.a *= texture7_tmp.a;\n #else\n o *= texture7_tmp;\n #endif\n } else {\n vec4 texture8_tmp = texture2D(texture8, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture8\n texture8_tmp.a *= texture2D(texture8, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture8_tmp.rgb * texture8_tmp.rgb);\n o.a *= texture8_tmp.a;\n #else\n o *= texture8_tmp;\n #endif\n }\n #else\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n float circle = radius * radius;\n float rx = center.x * wh_ratio;\n float ry = center.y;\n float dis = (v_uv0.x * wh_ratio - rx) * (v_uv0.x * wh_ratio - rx) + (v_uv0.y - ry) * (v_uv0.y - ry);\n o.a = smoothstep(circle, circle - blur, dis);\n gl_FragColor = o;\n}"
},
"builtins": {
"globals": {
"blocks": [
{
"name": "CCGlobal",
"defines": []
}
],
"samplers": []
},
"locals": {
"blocks": [
{
"name": "CCLocal",
"defines": []
}
],
"samplers": []
}
},
"defines": [
{
"name": "USE_TEXTURE",
"type": "boolean",
"defines": []
},
{
"name": "USE_MULTI_TEXTURE",
"type": "boolean",
"defines": [
"USE_TEXTURE"
]
},
{
"name": "CC_USE_MODEL",
"type": "boolean",
"defines": []
},
{
"name": "USE_ALPHA_TEST",
"type": "boolean",
"defines": []
},
{
"name": "CC_USE_ALPHA_ATLAS_texture",
"type": "boolean",
"defines": [
"USE_TEXTURE"
]
},
{
"name": "INPUT_IS_GAMMA",
"type": "boolean",
"defines": [
"USE_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture2",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture3",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture4",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture5",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture6",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture7",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "CC_USE_ALPHA_ATLAS_texture8",
"type": "boolean",
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
}
],
"blocks": [
{
"name": "ALPHA_TEST",
"binding": 0,
"members": [
{
"name": "alphaThreshold",
"type": 13,
"count": 1
}
],
"defines": [
"USE_ALPHA_TEST"
]
},
{
"name": "ARGS",
"binding": 1,
"members": [
{
"name": "radius",
"type": 13,
"count": 1
},
{
"name": "blur",
"type": 13,
"count": 1
},
{
"name": "center",
"type": 14,
"count": 1
},
{
"name": "wh_ratio",
"type": 13,
"count": 1
}
],
"defines": []
}
],
"samplers": [
{
"name": "texture",
"type": 29,
"count": 1,
"binding": 30,
"defines": [
"USE_TEXTURE"
]
},
{
"name": "texture2",
"type": 29,
"count": 1,
"binding": 31,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture3",
"type": 29,
"count": 1,
"binding": 32,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture4",
"type": 29,
"count": 1,
"binding": 33,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture5",
"type": 29,
"count": 1,
"binding": 34,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture6",
"type": 29,
"count": 1,
"binding": 35,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture7",
"type": 29,
"count": 1,
"binding": 36,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
},
{
"name": "texture8",
"type": 29,
"count": 1,
"binding": 37,
"defines": [
"USE_TEXTURE",
"USE_MULTI_TEXTURE"
]
}
]
}
],
[
{
"passes": [
{
"program": "custom-2d-sprite|vs|fs",
"blendState": {
"targets": [
{
"blend": true
}
]
},
"rasterizerState": {
"cullMode": 0
},
"properties": {
"texture": {
"value": "white",
"type": 29
},
"texture2": {
"value": "white",
"type": 29
},
"texture3": {
"value": "white",
"type": 29
},
"texture4": {
"value": "white",
"type": 29
},
"texture5": {
"value": "white",
"type": 29
},
"texture6": {
"value": "white",
"type": 29
},
"texture7": {
"value": "white",
"type": 29
},
"texture8": {
"value": "white",
"type": 29
},
"alphaThreshold": {
"type": 13,
"value": [
0.5
]
},
"wh_ratio": {
"type": 13,
"value": [
1
],
"editor": {
"tooltip": "宽高比"
}
},
"blur": {
"type": 13,
"value": [
0.35
],
"editor": {
"tooltip": "光圈模糊程度"
}
},
"radius": {
"type": 13,
"value": [
0.5
],
"editor": {
"tooltip": "光圈半径"
}
},
"center": {
"type": 14,
"value": [
0.5,
0.5
],
"editor": {
"tooltip": "光圈起点"
}
}
}
}
]
}
]
]
],
0,
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,36 @@
[
1,
0,
0,
[
[
"cc.Asset",
[
"_name",
"_native"
],
1
]
],
[
[
0,
0,
1,
3
]
],
[
[
0,
"huatuo",
".atlas"
],
-1
],
0,
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"d0bST/wYpJQIL5T+PCq46W"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112538161",
"rect": [
0,
0,
596,
672
],
"offset": [
0,
0
],
"originalSize": [
596,
672
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"1cijzBpFJCdoSNK98w5oUq"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112624336",
"rect": [
0,
0,
564,
882
],
"offset": [
0,
0
],
"originalSize": [
564,
882
],
"capInsets": [
192,
176,
198,
155
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"62MQQadaVK8qQN8n6UmJAa"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112514006",
"rect": [
0,
0,
556,
606
],
"offset": [
0,
0
],
"originalSize": [
556,
606
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"68Q/ALDvRLfKrAQu5CY15V"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112548981",
"rect": [
0,
0,
396,
570
],
"offset": [
0,
0
],
"originalSize": [
396,
570
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"45vlnzVlVDaZ6fRVyB0t3Z"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "normalFont",
"rect": [
2,
2,
737,
742
],
"offset": [
-0.5,
20
],
"originalSize": [
742,
786
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"c1Hf3Sl8ZAnJwP/fpoHxap"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112479313",
"rect": [
0,
0,
402,
370
],
"offset": [
0,
0
],
"originalSize": [
402,
370
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"80ThG1v09KeKxKhEPnFmvh"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "huatuo",
"rect": [
5,
0,
696,
208
],
"offset": [
2.5,
0
],
"originalSize": [
701,
208
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,35 @@
[
1,
0,
0,
[
[
"cc.TextAsset",
[
"_name",
"text"
],
1
]
],
[
[
0,
0,
1,
3
]
],
[
[
0,
"spineboy",
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n"
]
],
0,
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"70JFWsm5JN17FDywI0Lb5I"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "1655112563832",
"rect": [
0,
0,
660,
554
],
"offset": [
0,
0
],
"originalSize": [
660,
554
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,20 @@
[
1,
0,
0,
[
"cc.Texture2D"
],
0,
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
],
0,
[],
[],
[]
]

View File

@@ -0,0 +1,36 @@
[
1,
0,
0,
[
[
"cc.TTFFont",
[
"_name",
"_native"
],
1
]
],
[
[
0,
0,
1,
3
]
],
[
[
0,
"SFNSMonoItalic",
"SFNSMonoItalic.ttf"
],
-1
],
0,
0,
[],
[],
[]
]

View File

@@ -0,0 +1,51 @@
[
1,
[
"d9xFMK7wVFwbAS60aG9McP"
],
[
"_textureSetter"
],
[
"cc.SpriteFrame"
],
0,
[
{
"name": "spineboy",
"rect": [
2,
2,
998,
240
],
"offset": [
-11,
6
],
"originalSize": [
1024,
256
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
0
]
]

View File

@@ -0,0 +1,29 @@
(function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
})({}, {}, []);
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"index.js"}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@@ -0,0 +1,209 @@
huatuo.png
size: 701,208
format: RGBA8888
filter: Linear,Linear
repeat: none
Body
rotate: false
xy: 487, 72
size: 90, 91
orig: 90, 91
offset: 0, 0
index: -1
Eye
rotate: false
xy: 473, 44
size: 45, 24
orig: 45, 24
offset: 0, 0
index: -1
Eye-beiji
rotate: false
xy: 360, 60
size: 57, 23
orig: 57, 23
offset: 0, 0
index: -1
Eye-fennu
rotate: false
xy: 570, 39
size: 39, 21
orig: 39, 21
offset: 0, 0
index: -1
Eye-shengli
rotate: false
xy: 421, 64
size: 45, 19
orig: 45, 19
offset: 0, 0
index: -1
Eye-siwang
rotate: false
xy: 522, 48
size: 44, 20
orig: 44, 20
offset: 0, 0
index: -1
Head
rotate: false
xy: 581, 64
size: 89, 99
orig: 89, 99
offset: 0, 0
index: -1
L-Forearm
rotate: false
xy: 613, 29
size: 32, 31
orig: 32, 31
offset: 0, 0
index: -1
L-Hand
rotate: false
xy: 674, 150
size: 27, 26
orig: 27, 26
offset: 0, 0
index: -1
L-Lowerleg
rotate: false
xy: 674, 117
size: 26, 29
orig: 26, 29
offset: 0, 0
index: -1
L-Thigh
rotate: false
xy: 649, 25
size: 29, 35
orig: 29, 35
offset: 0, 0
index: -1
L-Upperarm
rotate: false
xy: 318, 7
size: 50, 49
orig: 50, 49
offset: 0, 0
index: -1
Mouth
rotate: false
xy: 682, 36
size: 18, 10
orig: 18, 10
offset: 0, 0
index: -1
Mouth-beiji
rotate: false
xy: 470, 72
size: 13, 11
orig: 13, 11
offset: 0, 0
index: -1
Mouth-fennu
rotate: false
xy: 674, 66
size: 22, 17
orig: 22, 17
offset: 0, 0
index: -1
Mouth-shengli
rotate: false
xy: 581, 17
size: 20, 18
orig: 20, 18
offset: 0, 0
index: -1
Mouth-siwang
rotate: false
xy: 682, 50
size: 18, 12
orig: 18, 12
offset: 0, 0
index: -1
Pelvis
rotate: false
xy: 641, 180
size: 43, 28
orig: 43, 28
offset: 0, 0
index: -1
R-Forearm
rotate: false
xy: 473, 9
size: 38, 31
orig: 38, 31
offset: 0, 0
index: -1
R-Hand
rotate: false
xy: 549, 12
size: 28, 23
orig: 28, 23
offset: 0, 0
index: -1
R-Lowerleg
rotate: false
xy: 674, 87
size: 26, 26
orig: 26, 26
offset: 0, 0
index: -1
R-Thigh
rotate: false
xy: 515, 4
size: 30, 36
orig: 30, 36
offset: 0, 0
index: -1
R-Upperarm
rotate: false
xy: 431, 12
size: 38, 48
orig: 38, 48
offset: 0, 0
index: -1
SE-daoguang
rotate: false
xy: 0, 0
size: 239, 208
orig: 239, 208
offset: 0, 0
index: -1
SE-guang
rotate: false
xy: 360, 87
size: 123, 121
orig: 123, 121
offset: 0, 0
index: -1
Weapon
rotate: false
xy: 243, 10
size: 71, 46
orig: 71, 46
offset: 0, 0
index: -1
beilou
rotate: false
xy: 243, 60
size: 113, 148
orig: 113, 148
offset: 0, 0
index: -1
hulu
rotate: false
xy: 372, 4
size: 55, 52
orig: 55, 52
offset: 0, 0
index: -1
shadow
rotate: false
xy: 487, 167
size: 150, 41
orig: 150, 41
offset: 0, 0
index: -1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB