Commit 25c8262c authored by 陈子煜's avatar 陈子煜

1

parent 9c1d6f64
This diff is collapsed.
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b167aceb-e595-46a8-8a9a-a5b37ea194da",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "prize"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"6b38b2c4-03a3-4481-9685-b384ab56668d","files":[],"subMetas":{},"userData":{"isBundle":true}}
This diff is collapsed.
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "6136078d-f5d0-446a-8ab8-c029c0e577de",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "SharePop"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"7ced95d5-a1e6-4ff9-b91a-8319d745641c","files":[],"subMetas":{},"userData":{}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "116b87a3-9cb6-4d4b-987e-608b58ed368a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "116b87a3-9cb6-4d4b-987e-608b58ed368a@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "116b87a3-9cb6-4d4b-987e-608b58ed368a",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "116b87a3-9cb6-4d4b-987e-608b58ed368a@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1624,
"height": 750,
"rawWidth": 1624,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-812,
-375,
0,
812,
-375,
0,
-812,
375,
0,
812,
375,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
750,
1624,
750,
0,
0,
1624,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-812,
-375,
0
],
"maxPos": [
812,
375,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "116b87a3-9cb6-4d4b-987e-608b58ed368a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "116b87a3-9cb6-4d4b-987e-608b58ed368a@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b@6c48a",
"displayName": "code",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b@f9941",
"displayName": "code",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 70,
"height": 70,
"rawWidth": 70,
"rawHeight": 70,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-35,
-35,
0,
35,
-35,
0,
-35,
35,
0,
35,
35,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
70,
70,
70,
0,
0,
70,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-35,
-35,
0
],
"maxPos": [
35,
35,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "6dfe1d08-6bbf-4da4-a47e-0963fae1210b@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335@6c48a",
"displayName": "prizeImg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335@f9941",
"displayName": "prizeImg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 120,
"height": 120,
"rawWidth": 120,
"rawHeight": 120,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-60,
-60,
0,
60,
-60,
0,
-60,
60,
0,
60,
60,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
120,
120,
120,
0,
0,
120,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-60,
-60,
0
],
"maxPos": [
60,
60,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "330f4c38-95d5-4c9e-acdc-e5f6c6bb6335@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "882c10b4-9973-44f5-a579-c0c8092ddf7e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "882c10b4-9973-44f5-a579-c0c8092ddf7e@6c48a",
"displayName": "save",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "882c10b4-9973-44f5-a579-c0c8092ddf7e",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "882c10b4-9973-44f5-a579-c0c8092ddf7e@f9941",
"displayName": "save",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 236,
"height": 38,
"rawWidth": 236,
"rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-118,
-19,
0,
118,
-19,
0,
-118,
19,
0,
118,
19,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
38,
236,
38,
0,
0,
236,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-118,
-19,
0
],
"maxPos": [
118,
19,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "882c10b4-9973-44f5-a579-c0c8092ddf7e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "882c10b4-9973-44f5-a579-c0c8092ddf7e@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "01080b53-c16e-40d5-877f-b010a33fa2fa",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "01080b53-c16e-40d5-877f-b010a33fa2fa@6c48a",
"displayName": "shareBg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "01080b53-c16e-40d5-877f-b010a33fa2fa",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "01080b53-c16e-40d5-877f-b010a33fa2fa@f9941",
"displayName": "shareBg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 690,
"height": 460,
"rawWidth": 690,
"rawHeight": 460,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-345,
-230,
0,
345,
-230,
0,
-345,
230,
0,
345,
230,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
460,
690,
460,
0,
0,
690,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-345,
-230,
0
],
"maxPos": [
345,
230,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "01080b53-c16e-40d5-877f-b010a33fa2fa@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "01080b53-c16e-40d5-877f-b010a33fa2fa@6c48a"
}
}
{
"__type__": "cc.RenderTexture",
"content": {
"base": "2,2,0,0,0,0",
"w": 690,
"h": 460,
"n": "renderTexture"
}
}
\ No newline at end of file
{
"ver": "1.2.1",
"importer": "render-texture",
"imported": true,
"uuid": "f5134618-c8e5-467a-9c1a-7b8667a26df3",
"files": [
".json"
],
"subMetas": {
"f9941": {
"importer": "rt-sprite-frame",
"uuid": "f5134618-c8e5-467a-9c1a-7b8667a26df3@f9941",
"displayName": "renderTexture",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"imageUuidOrDatabaseUri": "f5134618-c8e5-467a-9c1a-7b8667a26df3",
"width": 690,
"height": 460
},
"ver": "1.0.0",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"width": 690,
"height": 460,
"anisotropy": 0,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"wrapModeS": "repeat",
"wrapModeT": "repeat"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "689a4038-33dd-44c8-ac55-78630494f404",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "689a4038-33dd-44c8-ac55-78630494f404@6c48a",
"displayName": "open",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "689a4038-33dd-44c8-ac55-78630494f404",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "689a4038-33dd-44c8-ac55-78630494f404@f9941",
"displayName": "open",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "689a4038-33dd-44c8-ac55-78630494f404@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "689a4038-33dd-44c8-ac55-78630494f404@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "644007e5-5636-4758-86ec-958f29109526",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "644007e5-5636-4758-86ec-958f29109526@6c48a",
"displayName": "think",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "644007e5-5636-4758-86ec-958f29109526",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "644007e5-5636-4758-86ec-958f29109526@f9941",
"displayName": "think",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "644007e5-5636-4758-86ec-958f29109526@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "644007e5-5636-4758-86ec-958f29109526@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "923974fb-d3cf-43a7-b013-a81db93ab695",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "923974fb-d3cf-43a7-b013-a81db93ab695@6c48a",
"displayName": "x5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "923974fb-d3cf-43a7-b013-a81db93ab695",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "923974fb-d3cf-43a7-b013-a81db93ab695@f9941",
"displayName": "x5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 84,
"rawWidth": 84,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-42,
-42,
0,
42,
-42,
0,
-42,
42,
0,
42,
42,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
84,
84,
84,
0,
0,
84,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-42,
-42,
0
],
"maxPos": [
42,
42,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "923974fb-d3cf-43a7-b013-a81db93ab695@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "923974fb-d3cf-43a7-b013-a81db93ab695@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad@6c48a",
"displayName": "open",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad@f9941",
"displayName": "open",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "041fa531-bd7b-46bf-a8bf-ce75e590f3ad@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "911a303a-1f00-475e-a6c7-43cba1d49858",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "911a303a-1f00-475e-a6c7-43cba1d49858@6c48a",
"displayName": "think",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "911a303a-1f00-475e-a6c7-43cba1d49858",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "911a303a-1f00-475e-a6c7-43cba1d49858@f9941",
"displayName": "think",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "911a303a-1f00-475e-a6c7-43cba1d49858@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "911a303a-1f00-475e-a6c7-43cba1d49858@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "284dcf87-1d22-4467-bb57-47742ec0b444",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "284dcf87-1d22-4467-bb57-47742ec0b444@6c48a",
"displayName": "x5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "284dcf87-1d22-4467-bb57-47742ec0b444",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "284dcf87-1d22-4467-bb57-47742ec0b444@f9941",
"displayName": "x5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 84,
"rawWidth": 84,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-42,
-42,
0,
42,
-42,
0,
-42,
42,
0,
42,
42,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
84,
84,
84,
0,
0,
84,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-42,
-42,
0
],
"maxPos": [
42,
42,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "284dcf87-1d22-4467-bb57-47742ec0b444@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "284dcf87-1d22-4467-bb57-47742ec0b444@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "66916949-8f14-4795-8cad-7e8d97e66ff3",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "66916949-8f14-4795-8cad-7e8d97e66ff3@6c48a",
"displayName": "open",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "66916949-8f14-4795-8cad-7e8d97e66ff3",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "66916949-8f14-4795-8cad-7e8d97e66ff3@f9941",
"displayName": "open",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "66916949-8f14-4795-8cad-7e8d97e66ff3@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "66916949-8f14-4795-8cad-7e8d97e66ff3@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "283ff767-4785-4991-b000-5387a4c2a547",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "283ff767-4785-4991-b000-5387a4c2a547@6c48a",
"displayName": "think",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "283ff767-4785-4991-b000-5387a4c2a547",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "283ff767-4785-4991-b000-5387a4c2a547@f9941",
"displayName": "think",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 240,
"height": 88,
"rawWidth": 240,
"rawHeight": 88,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-120,
-44,
0,
120,
-44,
0,
-120,
44,
0,
120,
44,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
88,
240,
88,
0,
0,
240,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-120,
-44,
0
],
"maxPos": [
120,
44,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "283ff767-4785-4991-b000-5387a4c2a547@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "283ff767-4785-4991-b000-5387a4c2a547@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad@6c48a",
"displayName": "x5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad@f9941",
"displayName": "x5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 84,
"height": 84,
"rawWidth": 84,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-42,
-42,
0,
42,
-42,
0,
-42,
42,
0,
42,
42,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
84,
84,
84,
0,
0,
84,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-42,
-42,
0
],
"maxPos": [
42,
42,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f81fc7bd-49cc-4154-a9e4-dec8e92c1dad@6c48a"
}
}
import Panel from "../../Module/Panel";
import {_decorator, Button, Node, Sprite, Label, js, log, game, RenderTexture} from "cc";
import {observer} from "../store/decorators";
const {ccclass, property} = _decorator;
@observer
@ccclass('SharePop')
export default class SharePop extends Panel {
static bundle = "SharePop";
static skin = "SharePop";
@property(RenderTexture) rt: RenderTexture = null;
@property(Node) shareBg: Node = null;
@property(Label) prizeName: Label = null;
@property(Sprite) prizeImg: Sprite = null;
@property(Sprite) code: Sprite = null;
@property(Node) save: Node = null;
onLoad() {
this.shareBg.on(Button.EventType.CLICK, this.clickClose)
this.scheduleOnce(this.copyRenderTex, 0.5);
}
start() {
const {prizeName, prizeImg} = this.data
this.prizeName.string = prizeName
this.prizeImg.spriteFrame = prizeImg
}
clickClose = () => {
this.hidePanel();
this.dom && this.dom.remove();
delete window["__tempClick"];
}
dom: HTMLDivElement = null;
_tempCanvas: HTMLCanvasElement = null;
_canvas: HTMLCanvasElement = null;
copyRenderTex = () => {
const width = this.rt.width;
const height = this.rt.height;
const buffer = this.rt.readPixels();
if (!this._canvas) {
this._canvas = document.createElement("canvas");
this._canvas.width = width;
this._canvas.height = height;
this._tempCanvas = document.createElement("canvas");
this._tempCanvas.width = width;
this._tempCanvas.height = height;
}
const tempCtx = this._tempCanvas.getContext("2d");
tempCtx.clearRect(0, 0, width, height);
const imageData = tempCtx.createImageData(width, height);
imageData.data.set(buffer);
tempCtx.putImageData(imageData, 0, 0);
const ctx = this._canvas.getContext("2d");
ctx.scale(1, -1);
ctx.drawImage(
this._tempCanvas,
0, 0, width, height,
0, -height, width, height,
);
const posterImg = this._canvas.toDataURL();
// console.log('this.posterBase64Data', this.posterBase64Data);
// 本地预览海报结果时 可放开
const wRem = width / 100;
const hRem = height / 100;
window["__tempClick"] = this.clickClose;
const domHtml = `
<div
onclick="window.__tempClick()"
class="poster"
style="
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
">
<img
src="${posterImg}"
style="width: ${wRem}rem; height: ${hRem}rem; pointer-events: auto;"
>
</div>
`;
this.dom = document.createElement("div");
this.dom.innerHTML = domHtml;
game.container.appendChild(this.dom);
};
}
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"21b77508-77aa-4e2e-bc22-a305ae1a39c8","files":[],"subMetas":{},"userData":{}}
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