This commit is contained in:
COMPUTER\EDY 2026-04-08 16:12:38 +08:00
parent 7f21301cbd
commit ed44ca5df1
17 changed files with 2355 additions and 1067 deletions

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"width": 702,
"height": 1002,
"platformSettings": {},
"subMetas": {}
}

View File

@ -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": {}
}

View File

@ -33,7 +33,7 @@
<key>dikuang.png</key>
<dict>
<key>frame</key>
<string>{{177,2},{492,88}}</string>
<string>{{329,2},{492,88}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -46,11 +46,11 @@
<key>own .png</key>
<dict>
<key>frame</key>
<string>{{298,482},{80,67}}</string>
<string>{{273,496},{80,67}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{80,67}}</string>
<key>sourceSize</key>
@ -59,7 +59,7 @@
<key>qidai.png</key>
<dict>
<key>frame</key>
<string>{{267,2},{382,150}}</string>
<string>{{177,2},{382,150}}</string>
<key>offset</key>
<string>{0,-6}</string>
<key>rotated</key>
@ -72,7 +72,7 @@
<key>quit.png</key>
<dict>
<key>frame</key>
<string>{{177,496},{102,119}}</string>
<string>{{177,386},{102,119}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -82,135 +82,44 @@
<key>sourceSize</key>
<string>{102,119}</string>
</dict>
<key>red_0.png</key>
<key>r.png</key>
<dict>
<key>frame</key>
<string>{{380,497},{35,37}}</string>
<string>{{342,952},{111,54}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<string>{{0,0},{111,54}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
<string>{111,54}</string>
</dict>
<key>red_1.png</key>
<key>sr.png</key>
<dict>
<key>frame</key>
<string>{{419,197},{25,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{4,0},{25,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_2.png</key>
<dict>
<key>frame</key>
<string>{{419,2},{33,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_3.png</key>
<dict>
<key>frame</key>
<string>{{419,119},{31,37}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{1,1},{31,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_4.png</key>
<dict>
<key>frame</key>
<string>{{412,421},{35,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_5.png</key>
<dict>
<key>frame</key>
<string>{{419,310},{31,35}}</string>
<string>{{229,952},{111,55}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{2,2},{31,35}}</string>
<string>{{0,0},{111,55}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
<string>{111,55}</string>
</dict>
<key>red_6.png</key>
<key>ssr.png</key>
<dict>
<key>frame</key>
<string>{{419,532},{33,37}}</string>
<string>{{2,952},{225,55}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_7.png</key>
<dict>
<key>frame</key>
<string>{{380,458},{35,37}}</string>
<key>offset</key>
<string>{0,1}</string>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{35,37}}</string>
<string>{{0,0},{225,55}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_8.png</key>
<dict>
<key>frame</key>
<string>{{298,586},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>red_9.png</key>
<dict>
<key>frame</key>
<string>{{339,551},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
<string>{225,55}</string>
</dict>
<key>tip1.png</key>
<dict>
@ -238,136 +147,6 @@
<key>sourceSize</key>
<string>{703,41}</string>
</dict>
<key>white_0.png</key>
<dict>
<key>frame</key>
<string>{{378,586},{35,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_1.png</key>
<dict>
<key>frame</key>
<string>{{419,158},{25,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{4,0},{25,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_2.png</key>
<dict>
<key>frame</key>
<string>{{417,497},{33,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_3.png</key>
<dict>
<key>frame</key>
<string>{{419,80},{31,37}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{1,1},{31,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_4.png</key>
<dict>
<key>frame</key>
<string>{{339,586},{35,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_5.png</key>
<dict>
<key>frame</key>
<string>{{419,273},{31,35}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{2,2},{31,35}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_6.png</key>
<dict>
<key>frame</key>
<string>{{417,458},{33,37}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,1},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_7.png</key>
<dict>
<key>frame</key>
<string>{{255,600},{35,37}}</string>
<key>offset</key>
<string>{0,1}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_8.png</key>
<dict>
<key>frame</key>
<string>{{298,551},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_9.png</key>
<dict>
<key>frame</key>
<string>{{410,386},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>white_e.png</key>
<dict>
<key>frame</key>
@ -384,146 +163,16 @@
<key>xc.png</key>
<dict>
<key>frame</key>
<string>{{267,386},{94,102}}</string>
<string>{{177,490},{94,102}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{94,102}}</string>
<key>sourceSize</key>
<string>{94,102}</string>
</dict>
<key>yellow_0.png</key>
<dict>
<key>frame</key>
<string>{{216,600},{35,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_1.png</key>
<dict>
<key>frame</key>
<string>{{417,610},{25,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{4,0},{25,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_2.png</key>
<dict>
<key>frame</key>
<string>{{417,571},{33,37}}</string>
<key>offset</key>
<string>{-1,1}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_3.png</key>
<dict>
<key>frame</key>
<string>{{419,41},{31,37}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{1,1},{31,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_4.png</key>
<dict>
<key>frame</key>
<string>{{177,600},{35,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_5.png</key>
<dict>
<key>frame</key>
<string>{{419,236},{31,35}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{2,2},{31,35}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_6.png</key>
<dict>
<key>frame</key>
<string>{{380,536},{33,37}}</string>
<key>offset</key>
<string>{-1,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,1},{33,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_7.png</key>
<dict>
<key>frame</key>
<string>{{371,386},{35,37}}</string>
<key>offset</key>
<string>{0,1}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{35,37}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_8.png</key>
<dict>
<key>frame</key>
<string>{{371,423},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
<key>yellow_9.png</key>
<dict>
<key>frame</key>
<string>{{468,752},{33,39}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{1,0},{33,39}}</string>
<key>sourceSize</key>
<string>{35,39}</string>
</dict>
</dict>
<key>metadata</key>
<dict>
@ -532,9 +181,9 @@
<key>realTextureFileName</key>
<string>GachaUI.png</string>
<key>size</key>
<string>{512,1024}</string>
<string>{511,1009}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:e098255bdd8c20acae4cf3d5ebf5c810$</string>
<string>$TexturePacker:SmartUpdate:f16fa135481a45050d65b1041b57df23$</string>
<key>textureFileName</key>
<string>GachaUI.png</string>
</dict>

View File

@ -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": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"width": 511,
"height": 1009,
"platformSettings": {},
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -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": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -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": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View File

@ -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": {}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -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": {}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -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() {
}

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1046,
"height": 586,
"width": 1397,
"height": 184,
"platformSettings": {},
"subMetas": {
"skeleton": {