diff --git a/assets/action_bundle/Avatar/avatar.png.meta b/assets/action_bundle/Avatar/avatar.png.meta index f37b72a..637ba8a 100644 --- a/assets/action_bundle/Avatar/avatar.png.meta +++ b/assets/action_bundle/Avatar/avatar.png.meta @@ -8,8 +8,8 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 2048, - "height": 2048, + "width": 702, + "height": 1002, "platformSettings": {}, "subMetas": {} } \ No newline at end of file diff --git a/assets/gacha_bundle.meta b/assets/gacha_bundle.meta index d39014c..481e2b1 100644 --- a/assets/gacha_bundle.meta +++ b/assets/gacha_bundle.meta @@ -5,9 +5,17 @@ "isBundle": true, "bundleName": "", "priority": 2, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, + "compressionType": { + "wechatgame": "subpackage" + }, + "optimizeHotUpdate": { + "wechatgame": false + }, + "inlineSpriteFrames": { + "wechatgame": false + }, + "isRemoteBundle": { + "wechatgame": false + }, "subMetas": {} } \ No newline at end of file diff --git a/assets/gacha_bundle/img/GachaUI.plist b/assets/gacha_bundle/img/GachaUI.plist index d096f87..ed66a15 100644 --- a/assets/gacha_bundle/img/GachaUI.plist +++ b/assets/gacha_bundle/img/GachaUI.plist @@ -33,7 +33,7 @@ dikuang.png frame - {{177,2},{492,88}} + {{329,2},{492,88}} offset {0,0} rotated @@ -46,11 +46,11 @@ own .png frame - {{298,482},{80,67}} + {{273,496},{80,67}} offset {0,0} rotated - + sourceColorRect {{0,0},{80,67}} sourceSize @@ -59,7 +59,7 @@ qidai.png frame - {{267,2},{382,150}} + {{177,2},{382,150}} offset {0,-6} rotated @@ -72,7 +72,7 @@ quit.png frame - {{177,496},{102,119}} + {{177,386},{102,119}} offset {0,0} rotated @@ -82,135 +82,44 @@ sourceSize {102,119} - red_0.png + r.png frame - {{380,497},{35,37}} + {{342,952},{111,54}} offset {0,0} rotated sourceColorRect - {{0,1},{35,37}} + {{0,0},{111,54}} sourceSize - {35,39} + {111,54} - red_1.png + sr.png frame - {{419,197},{25,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{4,0},{25,37}} - sourceSize - {35,39} - - red_2.png - - frame - {{419,2},{33,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{0,0},{33,37}} - sourceSize - {35,39} - - red_3.png - - frame - {{419,119},{31,37}} - offset - {-1,0} - rotated - - sourceColorRect - {{1,1},{31,37}} - sourceSize - {35,39} - - red_4.png - - frame - {{412,421},{35,37}} - offset - {0,0} - rotated - - sourceColorRect - {{0,1},{35,37}} - sourceSize - {35,39} - - red_5.png - - frame - {{419,310},{31,35}} + {{229,952},{111,55}} offset {0,0} rotated sourceColorRect - {{2,2},{31,35}} + {{0,0},{111,55}} sourceSize - {35,39} + {111,55} - red_6.png + ssr.png frame - {{419,532},{33,37}} + {{2,952},{225,55}} offset - {-1,0} - rotated - - sourceColorRect - {{0,1},{33,37}} - sourceSize - {35,39} - - red_7.png - - frame - {{380,458},{35,37}} - offset - {0,1} + {0,0} rotated sourceColorRect - {{0,0},{35,37}} + {{0,0},{225,55}} sourceSize - {35,39} - - red_8.png - - frame - {{298,586},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} - - red_9.png - - frame - {{339,551},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} + {225,55} tip1.png @@ -238,136 +147,6 @@ sourceSize {703,41} - white_0.png - - frame - {{378,586},{35,37}} - offset - {0,0} - rotated - - sourceColorRect - {{0,1},{35,37}} - sourceSize - {35,39} - - white_1.png - - frame - {{419,158},{25,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{4,0},{25,37}} - sourceSize - {35,39} - - white_2.png - - frame - {{417,497},{33,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{0,0},{33,37}} - sourceSize - {35,39} - - white_3.png - - frame - {{419,80},{31,37}} - offset - {-1,0} - rotated - - sourceColorRect - {{1,1},{31,37}} - sourceSize - {35,39} - - white_4.png - - frame - {{339,586},{35,37}} - offset - {0,0} - rotated - - sourceColorRect - {{0,1},{35,37}} - sourceSize - {35,39} - - white_5.png - - frame - {{419,273},{31,35}} - offset - {0,0} - rotated - - sourceColorRect - {{2,2},{31,35}} - sourceSize - {35,39} - - white_6.png - - frame - {{417,458},{33,37}} - offset - {-1,0} - rotated - - sourceColorRect - {{0,1},{33,37}} - sourceSize - {35,39} - - white_7.png - - frame - {{255,600},{35,37}} - offset - {0,1} - rotated - - sourceColorRect - {{0,0},{35,37}} - sourceSize - {35,39} - - white_8.png - - frame - {{298,551},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} - - white_9.png - - frame - {{410,386},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} - white_e.png frame @@ -384,146 +163,16 @@ xc.png frame - {{267,386},{94,102}} + {{177,490},{94,102}} offset {0,0} rotated - + sourceColorRect {{0,0},{94,102}} sourceSize {94,102} - yellow_0.png - - frame - {{216,600},{35,37}} - offset - {0,0} - rotated - - sourceColorRect - {{0,1},{35,37}} - sourceSize - {35,39} - - yellow_1.png - - frame - {{417,610},{25,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{4,0},{25,37}} - sourceSize - {35,39} - - yellow_2.png - - frame - {{417,571},{33,37}} - offset - {-1,1} - rotated - - sourceColorRect - {{0,0},{33,37}} - sourceSize - {35,39} - - yellow_3.png - - frame - {{419,41},{31,37}} - offset - {-1,0} - rotated - - sourceColorRect - {{1,1},{31,37}} - sourceSize - {35,39} - - yellow_4.png - - frame - {{177,600},{35,37}} - offset - {0,0} - rotated - - sourceColorRect - {{0,1},{35,37}} - sourceSize - {35,39} - - yellow_5.png - - frame - {{419,236},{31,35}} - offset - {0,0} - rotated - - sourceColorRect - {{2,2},{31,35}} - sourceSize - {35,39} - - yellow_6.png - - frame - {{380,536},{33,37}} - offset - {-1,0} - rotated - - sourceColorRect - {{0,1},{33,37}} - sourceSize - {35,39} - - yellow_7.png - - frame - {{371,386},{35,37}} - offset - {0,1} - rotated - - sourceColorRect - {{0,0},{35,37}} - sourceSize - {35,39} - - yellow_8.png - - frame - {{371,423},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} - - yellow_9.png - - frame - {{468,752},{33,39}} - offset - {0,0} - rotated - - sourceColorRect - {{1,0},{33,39}} - sourceSize - {35,39} - metadata @@ -532,9 +181,9 @@ realTextureFileName GachaUI.png size - {512,1024} + {511,1009} smartupdate - $TexturePacker:SmartUpdate:e098255bdd8c20acae4cf3d5ebf5c810$ + $TexturePacker:SmartUpdate:f16fa135481a45050d65b1041b57df23$ textureFileName GachaUI.png diff --git a/assets/gacha_bundle/img/GachaUI.plist.meta b/assets/gacha_bundle/img/GachaUI.plist.meta index 0814a44..bc6ac76 100644 --- a/assets/gacha_bundle/img/GachaUI.plist.meta +++ b/assets/gacha_bundle/img/GachaUI.plist.meta @@ -4,8 +4,8 @@ "importer": "asset", "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "size": { - "width": 512, - "height": 1024 + "width": 511, + "height": 1009 }, "type": "Texture Packer", "subMetas": { @@ -65,7 +65,7 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 177, + "trimX": 329, "trimY": 2, "width": 492, "height": 88, @@ -85,11 +85,11 @@ "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 298, - "trimY": 482, + "trimX": 273, + "trimY": 496, "width": 80, "height": 67, "rawWidth": 80, @@ -111,7 +111,7 @@ "rotated": true, "offsetX": 0, "offsetY": -6, - "trimX": 267, + "trimX": 177, "trimY": 2, "width": 382, "height": 150, @@ -135,7 +135,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 177, - "trimY": 496, + "trimY": 386, "width": 102, "height": 119, "rawWidth": 102, @@ -147,9 +147,9 @@ "spriteType": "normal", "subMetas": {} }, - "red_0.png": { + "r.png": { "ver": "1.0.6", - "uuid": "01d0d37d-a9d3-47f6-8ac6-6881ced69f59", + "uuid": "1a4ba2df-c756-4379-bc95-3d92c6a3cb25", "importer": "sprite-frame", "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "trimType": "auto", @@ -157,12 +157,12 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 380, - "trimY": 497, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, + "trimX": 342, + "trimY": 952, + "width": 111, + "height": 54, + "rawWidth": 111, + "rawHeight": 54, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -170,101 +170,9 @@ "spriteType": "normal", "subMetas": {} }, - "red_1.png": { + "sr.png": { "ver": "1.0.6", - "uuid": "ecfeb0f0-7c7e-4acb-a77a-d43cd29bfbfc", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 1, - "trimX": 419, - "trimY": 197, - "width": 25, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_2.png": { - "ver": "1.0.6", - "uuid": "543c8c54-c64c-40d6-9893-2df8981b3d36", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 1, - "trimX": 419, - "trimY": 2, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_3.png": { - "ver": "1.0.6", - "uuid": "8949f9c2-a1aa-482b-bacd-710cf4bed65e", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 0, - "trimX": 419, - "trimY": 119, - "width": 31, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_4.png": { - "ver": "1.0.6", - "uuid": "5bd6ef1e-bb31-41b4-bec6-b742facc1578", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 412, - "trimY": 421, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_5.png": { - "ver": "1.0.6", - "uuid": "49070e18-df4e-4dfc-9b1a-7df7b8cc2056", + "uuid": "24f5af45-f01c-42a4-a7c9-b18eaa1b489b", "importer": "sprite-frame", "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "trimType": "auto", @@ -272,12 +180,12 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 419, - "trimY": 310, - "width": 31, - "height": 35, - "rawWidth": 35, - "rawHeight": 39, + "trimX": 229, + "trimY": 952, + "width": 111, + "height": 55, + "rawWidth": 111, + "rawHeight": 55, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -285,91 +193,22 @@ "spriteType": "normal", "subMetas": {} }, - "red_6.png": { + "ssr.png": { "ver": "1.0.6", - "uuid": "9e38fb8f-794b-4d46-873a-6d8606206a73", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": -1, - "offsetY": 0, - "trimX": 419, - "trimY": 532, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_7.png": { - "ver": "1.0.6", - "uuid": "782f3bc8-478e-4933-a5d4-144f0253da0a", + "uuid": "c274e745-1b83-4dc7-8761-7d2d4e103dcf", "importer": "sprite-frame", "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "trimType": "auto", "trimThreshold": 1, "rotated": false, "offsetX": 0, - "offsetY": 1, - "trimX": 380, - "trimY": 458, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_8.png": { - "ver": "1.0.6", - "uuid": "f98429df-156d-4a0a-bb00-a2eabbff38e2", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, "offsetY": 0, - "trimX": 298, - "trimY": 586, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "red_9.png": { - "ver": "1.0.6", - "uuid": "83f1c4bd-65fb-4b51-87ae-ed39474146b7", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 339, - "trimY": 551, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, + "trimX": 2, + "trimY": 952, + "width": 225, + "height": 55, + "rawWidth": 225, + "rawHeight": 55, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -423,236 +262,6 @@ "spriteType": "normal", "subMetas": {} }, - "white_0.png": { - "ver": "1.0.6", - "uuid": "944fe481-de8a-4d1b-955c-6eefa4afe8fd", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 378, - "trimY": 586, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_1.png": { - "ver": "1.0.6", - "uuid": "90c39c53-720a-4f35-aec4-41873d8be702", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 1, - "trimX": 419, - "trimY": 158, - "width": 25, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_2.png": { - "ver": "1.0.6", - "uuid": "871c3e3e-fd4b-4d9f-b6dc-d0c0a8350933", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": -1, - "offsetY": 1, - "trimX": 417, - "trimY": 497, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_3.png": { - "ver": "1.0.6", - "uuid": "752ef0ec-2a31-4872-8864-3519f850aa09", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 0, - "trimX": 419, - "trimY": 80, - "width": 31, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_4.png": { - "ver": "1.0.6", - "uuid": "e036c469-8e7a-4068-88c9-9a2d2fa2491b", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 339, - "trimY": 586, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_5.png": { - "ver": "1.0.6", - "uuid": "6e95ea50-e6f3-4a54-8003-98bcfcbebb17", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 419, - "trimY": 273, - "width": 31, - "height": 35, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_6.png": { - "ver": "1.0.6", - "uuid": "cdbb1f8f-15b1-41d6-82f2-68c5f3263090", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 0, - "trimX": 417, - "trimY": 458, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_7.png": { - "ver": "1.0.6", - "uuid": "e0f22f56-247e-4c0f-9db1-54bb5c7ae08f", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 1, - "trimX": 255, - "trimY": 600, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_8.png": { - "ver": "1.0.6", - "uuid": "3864c395-c4fb-4741-a591-0e482478808f", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 298, - "trimY": 551, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "white_9.png": { - "ver": "1.0.6", - "uuid": "4a718ba4-5ef9-43e5-8865-c97e82091349", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 410, - "trimY": 386, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, "white_e.png": { "ver": "1.0.6", "uuid": "5d87d78d-7a95-4283-b723-203196f44ed6", @@ -683,11 +292,11 @@ "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 267, - "trimY": 386, + "trimX": 177, + "trimY": 490, "width": 94, "height": 102, "rawWidth": 94, @@ -698,236 +307,6 @@ "borderRight": 0, "spriteType": "normal", "subMetas": {} - }, - "yellow_0.png": { - "ver": "1.0.6", - "uuid": "5a82b095-f6f9-46ce-bb43-76809ef483bd", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 216, - "trimY": 600, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_1.png": { - "ver": "1.0.6", - "uuid": "e7e9011e-1e05-43c3-b823-55334a9c603c", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": -1, - "offsetY": 1, - "trimX": 417, - "trimY": 610, - "width": 25, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_2.png": { - "ver": "1.0.6", - "uuid": "c7edb631-dded-47da-8db0-fde0dbee69df", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 1, - "trimX": 417, - "trimY": 571, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_3.png": { - "ver": "1.0.6", - "uuid": "33950a06-8c32-4559-a096-aa68fc5c9b27", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": -1, - "offsetY": 0, - "trimX": 419, - "trimY": 41, - "width": 31, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_4.png": { - "ver": "1.0.6", - "uuid": "7ceab8ed-37aa-496e-8f80-3d64861ec2b6", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 177, - "trimY": 600, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_5.png": { - "ver": "1.0.6", - "uuid": "99b64260-df6f-48ba-abbe-71437c5974ac", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 419, - "trimY": 236, - "width": 31, - "height": 35, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_6.png": { - "ver": "1.0.6", - "uuid": "a562b02a-2199-4875-863c-1dc73ab5d21f", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": -1, - "offsetY": 0, - "trimX": 380, - "trimY": 536, - "width": 33, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_7.png": { - "ver": "1.0.6", - "uuid": "23b27c4e-4ac1-4c9e-ab20-8de5d180f16e", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 1, - "trimX": 371, - "trimY": 386, - "width": 35, - "height": 37, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_8.png": { - "ver": "1.0.6", - "uuid": "d07b01b3-326e-4212-8232-aa241401bc36", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 371, - "trimY": 423, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} - }, - "yellow_9.png": { - "ver": "1.0.6", - "uuid": "63c9f89f-1ee6-4cd1-9d00-2882a9a85b88", - "importer": "sprite-frame", - "rawTextureUuid": "5682b3c3-e544-4df9-b9db-e3caffbed653", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 468, - "trimY": 752, - "width": 33, - "height": 39, - "rawWidth": 35, - "rawHeight": 39, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "spriteType": "normal", - "subMetas": {} } } } \ No newline at end of file diff --git a/assets/gacha_bundle/img/GachaUI.png b/assets/gacha_bundle/img/GachaUI.png index 30d9afc..3817f34 100644 Binary files a/assets/gacha_bundle/img/GachaUI.png and b/assets/gacha_bundle/img/GachaUI.png differ diff --git a/assets/gacha_bundle/img/GachaUI.png.meta b/assets/gacha_bundle/img/GachaUI.png.meta index 9c68cb1..e08a073 100644 --- a/assets/gacha_bundle/img/GachaUI.png.meta +++ b/assets/gacha_bundle/img/GachaUI.png.meta @@ -8,8 +8,8 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 512, - "height": 1024, + "width": 511, + "height": 1009, "platformSettings": {}, "subMetas": {} } \ No newline at end of file diff --git a/assets/gacha_bundle/img/btn.png b/assets/gacha_bundle/img/btn.png new file mode 100644 index 0000000..0a1abe1 Binary files /dev/null and b/assets/gacha_bundle/img/btn.png differ diff --git a/assets/gacha_bundle/img/btn.png.meta b/assets/gacha_bundle/img/btn.png.meta new file mode 100644 index 0000000..7872e2d --- /dev/null +++ b/assets/gacha_bundle/img/btn.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "33355699-450c-4787-9262-e1b8b262ed84", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 556, + "height": 164, + "platformSettings": {}, + "subMetas": { + "btn": { + "ver": "1.0.6", + "uuid": "3d2ec25b-a60b-4494-bfe4-d51407b9780e", + "importer": "sprite-frame", + "rawTextureUuid": "33355699-450c-4787-9262-e1b8b262ed84", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 556, + "height": 164, + "rawWidth": 556, + "rawHeight": 164, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/rBg.png b/assets/gacha_bundle/img/rBg.png new file mode 100644 index 0000000..c5f6ac8 Binary files /dev/null and b/assets/gacha_bundle/img/rBg.png differ diff --git a/assets/gacha_bundle/img/rBg.png.meta b/assets/gacha_bundle/img/rBg.png.meta new file mode 100644 index 0000000..e63769b --- /dev/null +++ b/assets/gacha_bundle/img/rBg.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "33d7f557-0d10-4d2d-9b43-ed784e6873b6", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 670, + "height": 754, + "platformSettings": {}, + "subMetas": { + "rBg": { + "ver": "1.0.6", + "uuid": "ae853912-0c29-4176-a55a-92463eda8c9d", + "importer": "sprite-frame", + "rawTextureUuid": "33d7f557-0d10-4d2d-9b43-ed784e6873b6", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 670, + "height": 754, + "rawWidth": 670, + "rawHeight": 754, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/srBg.png b/assets/gacha_bundle/img/srBg.png new file mode 100644 index 0000000..b71cbbc Binary files /dev/null and b/assets/gacha_bundle/img/srBg.png differ diff --git a/assets/gacha_bundle/img/srBg.png.meta b/assets/gacha_bundle/img/srBg.png.meta new file mode 100644 index 0000000..a60811e --- /dev/null +++ b/assets/gacha_bundle/img/srBg.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "50c32f21-e0e8-4d9b-832b-28bb8eeccf00", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 670, + "height": 754, + "platformSettings": {}, + "subMetas": { + "srBg": { + "ver": "1.0.6", + "uuid": "f3b3de1d-770a-426a-b587-09597c34b99e", + "importer": "sprite-frame", + "rawTextureUuid": "50c32f21-e0e8-4d9b-832b-28bb8eeccf00", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 670, + "height": 754, + "rawWidth": 670, + "rawHeight": 754, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/img/ssrBg.png b/assets/gacha_bundle/img/ssrBg.png new file mode 100644 index 0000000..8292ecf Binary files /dev/null and b/assets/gacha_bundle/img/ssrBg.png differ diff --git a/assets/gacha_bundle/img/ssrBg.png.meta b/assets/gacha_bundle/img/ssrBg.png.meta new file mode 100644 index 0000000..263abc5 --- /dev/null +++ b/assets/gacha_bundle/img/ssrBg.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "933eae0d-54a8-469b-b4d7-139bf766607a", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 670, + "height": 754, + "platformSettings": {}, + "subMetas": { + "ssrBg": { + "ver": "1.0.6", + "uuid": "88312ebb-0399-4638-8dd7-8577feaea008", + "importer": "sprite-frame", + "rawTextureUuid": "933eae0d-54a8-469b-b4d7-139bf766607a", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 670, + "height": 754, + "rawWidth": 670, + "rawHeight": 754, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/gacha_bundle/prefab/Gacha.prefab b/assets/gacha_bundle/prefab/Gacha.prefab index 1779aff..7096187 100644 --- a/assets/gacha_bundle/prefab/Gacha.prefab +++ b/assets/gacha_bundle/prefab/Gacha.prefab @@ -39,20 +39,26 @@ "__id__": 70 }, { - "__id__": 99 + "__id__": 102 + }, + { + "__id__": 105 + }, + { + "__id__": 144 } ], "_active": true, "_components": [ { - "__id__": 102 + "__id__": 157 }, { - "__id__": 103 + "__id__": 158 } ], "_prefab": { - "__id__": 104 + "__id__": 159 }, "_opacity": 255, "_color": { @@ -2722,16 +2728,19 @@ }, { "__id__": 94 + }, + { + "__id__": 97 } ], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 100 } ], "_prefab": { - "__id__": 98 + "__id__": 101 }, "_opacity": 255, "_color": { @@ -3068,10 +3077,12 @@ }, { "__type__": "cc.ClickEvent", - "target": null, + "target": { + "__id__": 1 + }, "component": "", - "_componentId": "", - "handler": "", + "_componentId": "9598ea57ndBLJVKGzfOnDe+", + "handler": "playGacha", "customEventData": "" }, { @@ -3452,7 +3463,7 @@ "ctor": "Float64Array", "array": [ 35.445, - 384.451, + 385.5, 0, 0, 0, @@ -3562,7 +3573,7 @@ "ctor": "Float64Array", "array": [ 32.142, - 384.451, + 385.5, 0, 0, 0, @@ -3742,6 +3753,115 @@ "fileId": "bflCjLs9FIm7ixN9Sf62YC", "sync": false }, + { + "__type__": "cc.Node", + "_name": "finishi", + "_objFlags": 0, + "_parent": { + "__id__": 70 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 98 + } + ], + "_prefab": { + "__id__": 99 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 67 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 117.659, + 392.196, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 97 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "76a1d011-ed65-45ba-b74a-564b7ad3fc37" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "73AFjcbQFC+LVdukTvaHhh", + "sync": false + }, { "__type__": "cc.Widget", "_name": "", @@ -3791,11 +3911,11 @@ "_active": true, "_components": [ { - "__id__": 100 + "__id__": 103 } ], "_prefab": { - "__id__": 101 + "__id__": 104 }, "_opacity": 255, "_color": { @@ -3849,7 +3969,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 99 + "__id__": 102 }, "_enabled": true, "_materials": [ @@ -3889,6 +4009,1899 @@ "fileId": "75KGEJyXVOyJVaEdNOXo8y", "sync": false }, + { + "__type__": "cc.Node", + "_name": "geReward", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 106 + }, + { + "__id__": 110 + }, + { + "__id__": 115 + }, + { + "__id__": 124 + }, + { + "__id__": 133 + } + ], + "_active": false, + "_components": [ + { + "__id__": 142 + } + ], + "_prefab": { + "__id__": 143 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 105 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 107 + }, + { + "__id__": 108 + } + ], + "_prefab": { + "__id__": 109 + }, + "_opacity": 220, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 3000, + "height": 3000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 106 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 106 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "09ImUbe15PaIaoL+4vlXnr", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 105 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 111 + }, + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 114 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 556, + "height": 164 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -516.391, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3d2ec25b-a60b-4494-bfe4-d51407b9780e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 110 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 113 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": { + "__id__": 110 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "9598ea57ndBLJVKGzfOnDe+", + "handler": "closeReward", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9ak8Qwr59Nn4IttKbh6tcs", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "r", + "_objFlags": 0, + "_parent": { + "__id__": 105 + }, + "_children": [ + { + "__id__": 116 + }, + { + "__id__": 119 + } + ], + "_active": false, + "_components": [ + { + "__id__": 122 + } + ], + "_prefab": { + "__id__": 123 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 100.492, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 115 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 117 + } + ], + "_prefab": { + "__id__": 118 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.241, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 116 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "06vHRuz8RFAaED6WMubW9S", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 115 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 120 + } + ], + "_prefab": { + "__id__": 121 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 111, + "height": 54 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -437.423, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 119 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1a4ba2df-c756-4379-bc95-3d92c6a3cb25" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "117Je3nZBNBZ5PWdKzpL/L", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 115 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ae853912-0c29-4176-a55a-92463eda8c9d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "13048wUx5CeY8qIbVL8w/c", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "sr", + "_objFlags": 0, + "_parent": { + "__id__": 105 + }, + "_children": [ + { + "__id__": 125 + }, + { + "__id__": 128 + } + ], + "_active": false, + "_components": [ + { + "__id__": 131 + } + ], + "_prefab": { + "__id__": 132 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 100.492, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 124 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 126 + } + ], + "_prefab": { + "__id__": 127 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.241, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "15jVWNDRpAz50cYkZyPbCv", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 124 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 129 + } + ], + "_prefab": { + "__id__": 130 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 111, + "height": 55 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -437.423, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 128 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "24f5af45-f01c-42a4-a7c9-b18eaa1b489b" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e8fkbDrnpLQK742LDd0v95", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 124 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f3b3de1d-770a-426a-b587-09597c34b99e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "30B1eV0mRNyqPABO+jxmFh", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "ssr", + "_objFlags": 0, + "_parent": { + "__id__": 105 + }, + "_children": [ + { + "__id__": 134 + }, + { + "__id__": 137 + } + ], + "_active": false, + "_components": [ + { + "__id__": 140 + } + ], + "_prefab": { + "__id__": 141 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 670, + "height": 754 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 100.492, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "sp", + "_objFlags": 0, + "_parent": { + "__id__": 133 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 135 + } + ], + "_prefab": { + "__id__": 136 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 36 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 30.241, + 0, + 0, + 0, + 0, + 1, + 2.5, + 2.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 134 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3" + } + ], + "paused": false, + "defaultSkin": "", + "defaultAnimation": "", + "_preCacheMode": -1, + "_cacheMode": 0, + "loop": true, + "premultipliedAlpha": false, + "timeScale": 1, + "_accTime": 0, + "_playCount": 0, + "_frameCache": null, + "_curFrame": null, + "_skeletonCache": null, + "_animationName": "", + "_animationQueue": [], + "_headAniInfo": null, + "_playTimes": 0, + "_isAniComplete": true, + "_N$skeletonData": null, + "_N$_defaultCacheMode": 0, + "_N$debugSlots": false, + "_N$debugBones": false, + "_N$debugMesh": false, + "_N$useTint": false, + "_N$enableBatch": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "35EiFV8W9Ae47llVK/bpmj", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Sprite", + "_objFlags": 0, + "_parent": { + "__id__": 133 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 138 + } + ], + "_prefab": { + "__id__": 139 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 225, + "height": 55 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + -437.423, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 137 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c274e745-1b83-4dc7-8761-7d2d4e103dcf" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "86f6b28e-a186-4237-8ef4-056c5111cf57" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5bMtI0GMtPJrlfQuSIKrdT", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 133 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "88312ebb-0399-4638-8dd7-8577feaea008" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a5sawCMcpIl6ZqM0xXn+om", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 105 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8akP9iTARKurJ18yW6HHK9", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "Loading", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 145 + }, + { + "__id__": 149 + }, + { + "__id__": 152 + } + ], + "_active": false, + "_components": [ + { + "__id__": 155 + } + ], + "_prefab": { + "__id__": 156 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1080, + "height": 1920 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 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": "" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 144 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 146 + }, + { + "__id__": 147 + } + ], + "_prefab": { + "__id__": 148 + }, + "_opacity": 120, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 3000, + "height": 3000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 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": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 145 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 145 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bcUL9J84dGKrspSoae+cI8", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "load", + "_objFlags": 0, + "_parent": { + "__id__": 144 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 150 + } + ], + "_prefab": { + "__id__": 151 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 689, + "height": 656 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0.5, + 0.5, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 149 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "794efc8c-624c-469f-84c0-24ce84022c54" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "70c61kEbBE5J9r3os1e3Vw", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 144 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 153 + } + ], + "_prefab": { + "__id__": 154 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 135, + "height": 56.7 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 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": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 152 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "请稍后", + "_N$string": "请稍后", + "_fontSize": 45, + "_lineHeight": 45, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e4XK/UqV1FJLLzKswNZLC/", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 144 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "94z1fmp21OWrHyKcm77wny", + "sync": false + }, { "__type__": "cc.Widget", "_name": "", diff --git a/assets/gacha_bundle/script/GachaManager.ts b/assets/gacha_bundle/script/GachaManager.ts index 90eae83..7d8ddd5 100644 --- a/assets/gacha_bundle/script/GachaManager.ts +++ b/assets/gacha_bundle/script/GachaManager.ts @@ -1,4 +1,7 @@ import JiaZai from "../../Script/JiaZai"; +import Utils from "../../Script/module/Pay/Utils"; +import { MiniGameManager } from "../../Script/Sdk/MiniGameManager"; +import { MiniGameSdk } from "../../Script/Sdk/MiniGameSdk"; const { ccclass, property } = cc._decorator; //排行榜 @ccclass @@ -17,7 +20,8 @@ export default class GachaManager extends cc.Component { //初始化数据 init(data) { this.avatarData = []; - console.log("初始化数据", data); + this.own = 0; + console.log("222222初始化数据", data); if (data) { this.avatarData = data; this.own = this.avatarData.length; @@ -27,29 +31,39 @@ export default class GachaManager extends cc.Component { this.avatar.children[iphone].getChildByName("own").active = true; } - let cost = this.getCostFilm(); + + let botoom = this.node.getChildByName("bottom"); - botoom.getChildByName("total").getComponent(cc.Label).string = cost.toString(); - console.log("抽卡所需film", cost); botoom.getChildByName("no").active = false; botoom.getChildByName("yes").active = false; - - if (cc.fx.GameConfig.GM_INFO.film >= cost) { - botoom.getChildByName("yes").active = true; - console.log("有足够film"); - botoom.getChildByName("yes").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + if (this.own >= 8) { + botoom.getChildByName("total").active = false; + botoom.getChildByName("finishi").active = true; } else { - console.log("没有足够film"); - botoom.getChildByName("no").active = true; - botoom.getChildByName("no").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + let cost = this.getCostFilm(); + botoom.getChildByName("total").getComponent(cc.Label).string = cost.toString(); + console.log("抽卡所需film", cost); + if (cc.fx.GameConfig.GM_INFO.film >= cost) { + botoom.getChildByName("yes").active = true; + console.log("有足够film"); + botoom.getChildByName("yes").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + } + else { + console.log("没有足够film"); + botoom.getChildByName("no").active = true; + botoom.getChildByName("no").getComponent(cc.Label).string = cc.fx.GameConfig.GM_INFO.film.toString(); + } + console.log("拥有film", cc.fx.GameConfig.GM_INFO.film); } - console.log("拥有film", cc.fx.GameConfig.GM_INFO.film); } getCostFilm() { let film = [5, 10, 25, 35, 55, 70, 100, 120]; - return film[this.own - 1]; + if (this.own > film.length) + this.own = film.length - 1; + let count = film[this.own]; + return count; } closeGacha() { @@ -63,6 +77,79 @@ export default class GachaManager extends cc.Component { } } + playGacha() { + if (this.own >= 8) { + MiniGameSdk.API.showToast("已拥有当期所有头像"); + return; + } + else { + let cost = this.getCostFilm(); + if (cc.fx.GameConfig.GM_INFO.film < cost) { + MiniGameSdk.API.showToast("代币不足,闯关获取更多代币!"); + return; + } + } + + this.openLoad(); + Utils.getGacha‌(res => { + console.log("抽卡结果", res); + if (res.code == 1) { + console.log("抽卡成功"); + cc.fx.GameConfig.GM_INFO.film = res.data.film; + console.log("所剩余代币", cc.fx.GameConfig.GM_INFO.film); + let headArr = cc.fx.GameTool.getAvatarData(res.data.headArr); + this.init(headArr); + this.openReward(res.data.reward); + } + else if (res.code == 0) { + MiniGameSdk.API.showToast(res.msg); + + } + else { + MiniGameSdk.API.showToast("网络异常,请稍后再试"); + } + this.closeLoad(); + }); + // let cost = this.getCostFilm(); + // if (cc.fx.GameConfig.GM_INFO.film >= cost) { + + // } + } + + openReward(data) { + this.node.getChildByName("geReward").active = true; + this.node.getChildByName("geReward").getChildByName("r").active = false; + this.node.getChildByName("geReward").getChildByName("sr").active = false; + this.node.getChildByName("geReward").getChildByName("ssr").active = false; + let actionName = cc.fx.GameTool.getActionName(data.toString()); + if (data < 24) { + this.node.getChildByName("geReward").getChildByName("r").active = true; + cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("r").getChildByName("sp"), actionName); + } + else if (data == 24 || data == 25) { + this.node.getChildByName("geReward").getChildByName("sr").active = true; + cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("sr").getChildByName("sp"), actionName); + } + else if (data == 26) { + this.node.getChildByName("geReward").getChildByName("ssr").active = true; + cc.fx.GameTool.loadSpineSimple(this.node.getChildByName("geReward").getChildByName("ssr").getChildByName("sp"), actionName); + } + } + + closeReward() { + this.node.getChildByName("geReward").active = false; + } + + openLoad() { + this.node.getChildByName("Loading").active = true; + this.node.getChildByName("Loading").getChildByName("load").stopAllActions(); + this.node.getChildByName("Loading").getChildByName("load").runAction(cc.rotateTo(2, 1080).repeatForever()); + } + + closeLoad() { + this.node.getChildByName("Loading").active = false; + } + start() { } diff --git a/assets/resources/spine/action23/skeleton.png.meta b/assets/resources/spine/action23/skeleton.png.meta index 338591e..496367e 100644 --- a/assets/resources/spine/action23/skeleton.png.meta +++ b/assets/resources/spine/action23/skeleton.png.meta @@ -8,8 +8,8 @@ "premultiplyAlpha": false, "genMipmaps": false, "packable": true, - "width": 1046, - "height": 586, + "width": 1397, + "height": 184, "platformSettings": {}, "subMetas": { "skeleton": {