通行证更换图片

This commit is contained in:
huanghaipeng 2025-12-15 11:21:33 +08:00
parent ca6ab546f6
commit 7fcd08163b
13 changed files with 1796 additions and 1070 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1031,
"height": 510,
"width": 1126,
"height": 511,
"platformSettings": {},
"subMetas": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 125 KiB

View File

@ -7,24 +7,24 @@
<key>15.png</key>
<dict>
<key>frame</key>
<string>{{1663,985},{162,38}}</string>
<string>{{980,1505},{141,37}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{162,38}}</string>
<string>{{0,0},{141,37}}</string>
<key>sourceSize</key>
<string>{162,38}</string>
<string>{141,37}</string>
</dict>
<key>18yuan.png</key>
<dict>
<key>frame</key>
<string>{{1657,920},{182,63}}</string>
<string>{{965,947},{182,63}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{182,63}}</string>
<key>sourceSize</key>
@ -33,7 +33,7 @@
<key>activate_btn.png</key>
<dict>
<key>frame</key>
<string>{{727,773},{394,160}}</string>
<string>{{409,1673},{394,160}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -46,11 +46,11 @@
<key>bright_bg.png</key>
<dict>
<key>frame</key>
<string>{{1814,781},{116,124}}</string>
<string>{{494,1916},{116,124}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{116,124}}</string>
<key>sourceSize</key>
@ -59,11 +59,11 @@
<key>description_1.png</key>
<dict>
<key>frame</key>
<string>{{731,2},{1079,126}}</string>
<string>{{2,737},{1079,126}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{1079,126}}</string>
<key>sourceSize</key>
@ -72,11 +72,11 @@
<key>description_2.png</key>
<dict>
<key>frame</key>
<string>{{2,737},{300,460}}</string>
<string>{{731,2},{300,460}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{300,460}}</string>
<key>sourceSize</key>
@ -85,11 +85,11 @@
<key>description_3.png</key>
<dict>
<key>frame</key>
<string>{{1805,192},{136,140}}</string>
<string>{{125,1819},{136,140}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{136,140}}</string>
<key>sourceSize</key>
@ -98,11 +98,11 @@
<key>description_5.png</key>
<dict>
<key>frame</key>
<string>{{731,557},{501,214}}</string>
<string>{{557,737},{501,214}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{501,214}}</string>
<key>sourceSize</key>
@ -111,7 +111,7 @@
<key>description_6.png</key>
<dict>
<key>frame</key>
<string>{{1234,557},{421,431}}</string>
<string>{{557,1240},{421,431}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -124,11 +124,11 @@
<key>description_7.png</key>
<dict>
<key>frame</key>
<string>{{731,144},{770,270}}</string>
<string>{{144,737},{770,270}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{770,270}}</string>
<key>sourceSize</key>
@ -137,46 +137,33 @@
<key>description_8.png</key>
<dict>
<key>frame</key>
<string>{{727,935},{426,70}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{426,70}}</string>
<key>sourceSize</key>
<string>{426,70}</string>
</dict>
<key>free.png</key>
<dict>
<key>frame</key>
<string>{{1943,192},{84,44}}</string>
<string>{{893,727},{426,70}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{84,44}}</string>
<string>{{0,0},{426,70}}</string>
<key>sourceSize</key>
<string>{84,44}</string>
<string>{426,70}</string>
</dict>
<key>get.png</key>
<dict>
<key>frame</key>
<string>{{1841,907},{95,86}}</string>
<string>{{267,1815},{124,95}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{95,86}}</string>
<string>{{0,0},{124,95}}</string>
<key>sourceSize</key>
<string>{95,86}</string>
<string>{124,95}</string>
</dict>
<key>get_btn.png</key>
<dict>
<key>frame</key>
<string>{{1896,334},{218,78}}</string>
<string>{{965,727},{218,78}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -189,24 +176,24 @@
<key>left_bg.png</key>
<dict>
<key>frame</key>
<string>{{1503,144},{300,261}}</string>
<string>{{731,464},{304,261}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{300,261}}</string>
<string>{{0,0},{304,261}}</string>
<key>sourceSize</key>
<string>{300,261}</string>
<string>{304,261}</string>
</dict>
<key>line.png</key>
<dict>
<key>frame</key>
<string>{{731,130},{1080,12}}</string>
<string>{{130,737},{1080,12}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{1080,12}}</string>
<key>sourceSize</key>
@ -215,7 +202,7 @@
<key>lock.png</key>
<dict>
<key>frame</key>
<string>{{1577,407},{66,88}}</string>
<string>{{409,1583},{66,88}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -228,11 +215,11 @@
<key>miaoshu.png</key>
<dict>
<key>frame</key>
<string>{{731,416},{844,139}}</string>
<string>{{416,737},{844,139}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{844,139}}</string>
<key>sourceSize</key>
@ -241,11 +228,11 @@
<key>no_bright_bg.png</key>
<dict>
<key>frame</key>
<string>{{1815,648},{116,124}}</string>
<string>{{368,1916},{116,124}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{116,124}}</string>
<key>sourceSize</key>
@ -254,11 +241,11 @@
<key>num_xg.png</key>
<dict>
<key>frame</key>
<string>{{727,1007},{29,41}}</string>
<string>{{893,1155},{29,41}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{29,41}}</string>
<key>sourceSize</key>
@ -267,7 +254,7 @@
<key>progress_bar_1.png</key>
<dict>
<key>frame</key>
<string>{{1753,407},{372,60}}</string>
<string>{{980,1131},{372,60}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -280,59 +267,72 @@
<key>progress_bar_2.png</key>
<dict>
<key>frame</key>
<string>{{1691,407},{372,60}}</string>
<string>{{2,1957},{364,52}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{372,60}}</string>
<string>{{4,4},{364,52}}</string>
<key>sourceSize</key>
<string>{372,60}</string>
</dict>
<key>progress_bar_3.png</key>
<dict>
<key>frame</key>
<string>{{1657,407},{32,506}}</string>
<string>{{833,727},{58,501}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{32,506}}</string>
<string>{{0,0},{58,501}}</string>
<key>sourceSize</key>
<string>{32,506}</string>
<string>{58,501}</string>
</dict>
<key>progress_bar_4.png</key>
<dict>
<key>frame</key>
<string>{{1155,990},{32,506}}</string>
<string>{{773,727},{58,501}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{58,501}}</string>
<key>sourceSize</key>
<string>{58,501}</string>
</dict>
<key>quit.png</key>
<dict>
<key>frame</key>
<string>{{682,1835},{102,119}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{32,506}}</string>
<string>{{0,0},{102,119}}</string>
<key>sourceSize</key>
<string>{32,506}</string>
<string>{102,119}</string>
</dict>
<key>right_bg.png</key>
<dict>
<key>frame</key>
<string>{{464,737},{300,261}}</string>
<string>{{144,1509},{304,263}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{300,261}}</string>
<string>{{0,0},{304,263}}</string>
<key>sourceSize</key>
<string>{300,261}</string>
<string>{304,263}</string>
</dict>
<key>skylineHealth.png</key>
<dict>
<key>frame</key>
<string>{{1691,781},{137,121}}</string>
<string>{{2,1818},{137,121}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
@ -342,27 +342,14 @@
<key>sourceSize</key>
<string>{137,121}</string>
</dict>
<key>tongpaizi.png</key>
<dict>
<key>frame</key>
<string>{{1933,644},{84,43}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{84,43}}</string>
<key>sourceSize</key>
<string>{84,43}</string>
</dict>
<key>tongpiao.png</key>
<dict>
<key>frame</key>
<string>{{1813,2},{188,175}}</string>
<string>{{805,1673},{188,175}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{188,175}}</string>
<key>sourceSize</key>
@ -371,11 +358,11 @@
<key>tongpiaozi.png</key>
<dict>
<key>frame</key>
<string>{{1815,334},{312,79}}</string>
<string>{{368,1835},{312,79}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{312,79}}</string>
<key>sourceSize</key>
@ -397,24 +384,24 @@
<key>wenhao.png</key>
<dict>
<key>frame</key>
<string>{{1896,554},{86,88}}</string>
<string>{{620,1939},{93,103}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{86,88}}</string>
<string>{{0,0},{93,103}}</string>
<key>sourceSize</key>
<string>{86,88}</string>
<string>{93,103}</string>
</dict>
<key>yaoshi.png</key>
<dict>
<key>frame</key>
<string>{{1123,773},{106,122}}</string>
<string>{{803,1850},{106,122}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{106,122}}</string>
<key>sourceSize</key>
@ -428,9 +415,9 @@
<key>realTextureFileName</key>
<string>passCheck.png</string>
<key>size</key>
<string>{1990,1039}</string>
<string>{1045,2034}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:531c054d5be834269e2aab859c897ea0$</string>
<string>$TexturePacker:SmartUpdate:b38bba9c8092bec15cd84139fb51241d$</string>
<key>textureFileName</key>
<string>passCheck.png</string>
</dict>

View File

@ -4,8 +4,8 @@
"importer": "asset",
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"size": {
"width": 1990,
"height": 1039
"width": 1045,
"height": 2034
},
"type": "Texture Packer",
"subMetas": {
@ -16,15 +16,15 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1663,
"trimY": 985,
"width": 162,
"height": 38,
"rawWidth": 162,
"rawHeight": 38,
"trimX": 980,
"trimY": 1505,
"width": 141,
"height": 37,
"rawWidth": 141,
"rawHeight": 37,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -39,11 +39,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1657,
"trimY": 920,
"trimX": 965,
"trimY": 947,
"width": 182,
"height": 63,
"rawWidth": 182,
@ -65,8 +65,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 727,
"trimY": 773,
"trimX": 409,
"trimY": 1673,
"width": 394,
"height": 160,
"rawWidth": 394,
@ -85,11 +85,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1814,
"trimY": 781,
"trimX": 494,
"trimY": 1916,
"width": 116,
"height": 124,
"rawWidth": 116,
@ -108,11 +108,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 731,
"trimY": 2,
"trimX": 2,
"trimY": 737,
"width": 1079,
"height": 126,
"rawWidth": 1079,
@ -131,11 +131,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 737,
"trimX": 731,
"trimY": 2,
"width": 300,
"height": 460,
"rawWidth": 300,
@ -154,11 +154,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1805,
"trimY": 192,
"trimX": 125,
"trimY": 1819,
"width": 136,
"height": 140,
"rawWidth": 136,
@ -177,11 +177,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 731,
"trimY": 557,
"trimX": 557,
"trimY": 737,
"width": 501,
"height": 214,
"rawWidth": 501,
@ -203,8 +203,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1234,
"trimY": 557,
"trimX": 557,
"trimY": 1240,
"width": 421,
"height": 431,
"rawWidth": 421,
@ -223,11 +223,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 731,
"trimY": 144,
"trimX": 144,
"trimY": 737,
"width": 770,
"height": 270,
"rawWidth": 770,
@ -246,11 +246,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 727,
"trimY": 935,
"trimX": 893,
"trimY": 727,
"width": 426,
"height": 70,
"rawWidth": 426,
@ -262,29 +262,6 @@
"spriteType": "normal",
"subMetas": {}
},
"free.png": {
"ver": "1.0.6",
"uuid": "94925d30-a970-472d-8779-1a5752b7c6f5",
"importer": "sprite-frame",
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1943,
"trimY": 192,
"width": 84,
"height": 44,
"rawWidth": 84,
"rawHeight": 44,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"get.png": {
"ver": "1.0.6",
"uuid": "f8ee887f-42e6-4c42-a42c-d31d1aed99fb",
@ -292,15 +269,15 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1841,
"trimY": 907,
"width": 95,
"height": 86,
"rawWidth": 95,
"rawHeight": 86,
"trimX": 267,
"trimY": 1815,
"width": 124,
"height": 95,
"rawWidth": 124,
"rawHeight": 95,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -318,8 +295,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1896,
"trimY": 334,
"trimX": 965,
"trimY": 727,
"width": 218,
"height": 78,
"rawWidth": 218,
@ -341,11 +318,11 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1503,
"trimY": 144,
"width": 300,
"trimX": 731,
"trimY": 464,
"width": 304,
"height": 261,
"rawWidth": 300,
"rawWidth": 304,
"rawHeight": 261,
"borderTop": 0,
"borderBottom": 0,
@ -361,11 +338,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 731,
"trimY": 130,
"trimX": 130,
"trimY": 737,
"width": 1080,
"height": 12,
"rawWidth": 1080,
@ -387,8 +364,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1577,
"trimY": 407,
"trimX": 409,
"trimY": 1583,
"width": 66,
"height": 88,
"rawWidth": 66,
@ -407,11 +384,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 731,
"trimY": 416,
"trimX": 416,
"trimY": 737,
"width": 844,
"height": 139,
"rawWidth": 844,
@ -430,11 +407,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1815,
"trimY": 648,
"trimX": 368,
"trimY": 1916,
"width": 116,
"height": 124,
"rawWidth": 116,
@ -453,11 +430,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 727,
"trimY": 1007,
"trimX": 893,
"trimY": 1155,
"width": 29,
"height": 41,
"rawWidth": 29,
@ -479,8 +456,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1753,
"trimY": 407,
"trimX": 980,
"trimY": 1131,
"width": 372,
"height": 60,
"rawWidth": 372,
@ -499,13 +476,13 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1691,
"trimY": 407,
"width": 372,
"height": 60,
"trimX": 2,
"trimY": 1957,
"width": 364,
"height": 52,
"rawWidth": 372,
"rawHeight": 60,
"borderTop": 0,
@ -525,12 +502,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1657,
"trimY": 407,
"width": 32,
"height": 506,
"rawWidth": 32,
"rawHeight": 506,
"trimX": 833,
"trimY": 727,
"width": 58,
"height": 501,
"rawWidth": 58,
"rawHeight": 501,
"borderTop": 40,
"borderBottom": 40,
"borderLeft": 0,
@ -545,17 +522,40 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 773,
"trimY": 727,
"width": 58,
"height": 501,
"rawWidth": 58,
"rawHeight": 501,
"borderTop": 40,
"borderBottom": 40,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"quit.png": {
"ver": "1.0.6",
"uuid": "102613e2-b8ef-4952-ba10-633eae6c60c3",
"importer": "sprite-frame",
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1155,
"trimY": 990,
"width": 32,
"height": 506,
"rawWidth": 32,
"rawHeight": 506,
"borderTop": 40,
"borderBottom": 40,
"trimX": 682,
"trimY": 1835,
"width": 102,
"height": 119,
"rawWidth": 102,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
@ -571,12 +571,12 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 464,
"trimY": 737,
"width": 300,
"height": 261,
"rawWidth": 300,
"rawHeight": 261,
"trimX": 144,
"trimY": 1509,
"width": 304,
"height": 263,
"rawWidth": 304,
"rawHeight": 263,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -594,8 +594,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1691,
"trimY": 781,
"trimX": 2,
"trimY": 1818,
"width": 137,
"height": 121,
"rawWidth": 137,
@ -607,29 +607,6 @@
"spriteType": "normal",
"subMetas": {}
},
"tongpaizi.png": {
"ver": "1.0.6",
"uuid": "eb4f2c98-cdf2-4391-9429-d6a1fb4d5508",
"importer": "sprite-frame",
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1933,
"trimY": 644,
"width": 84,
"height": 43,
"rawWidth": 84,
"rawHeight": 43,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"tongpiao.png": {
"ver": "1.0.6",
"uuid": "98d96ffe-0116-4556-8620-cae510fe250b",
@ -637,11 +614,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1813,
"trimY": 2,
"trimX": 805,
"trimY": 1673,
"width": 188,
"height": 175,
"rawWidth": 188,
@ -660,11 +637,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1815,
"trimY": 334,
"trimX": 368,
"trimY": 1835,
"width": 312,
"height": 79,
"rawWidth": 312,
@ -706,15 +683,15 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1896,
"trimY": 554,
"width": 86,
"height": 88,
"rawWidth": 86,
"rawHeight": 88,
"trimX": 620,
"trimY": 1939,
"width": 93,
"height": 103,
"rawWidth": 93,
"rawHeight": 103,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -729,11 +706,11 @@
"rawTextureUuid": "975e92ea-9360-41e9-a282-065297f61fea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1123,
"trimY": 773,
"trimX": 803,
"trimY": 1850,
"width": 106,
"height": 122,
"rawWidth": 106,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 285 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1990,
"height": 1039,
"width": 1045,
"height": 2034,
"platformSettings": {},
"subMetas": {}
}

View File

@ -1283,7 +1283,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"width": 304,
"height": 261
},
"_anchorPoint": {
@ -1501,8 +1501,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 32,
"height": 34
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1554,7 +1554,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2eae54a-980f-45af-aee0-09a8c695254f"
"__uuid__": "f2be482c-00e8-404f-8fa0-350ce391ea27"
},
"_type": 0,
"_sizeMode": 1,
@ -1567,9 +1567,7 @@
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_atlas": null,
"_id": ""
},
{
@ -1681,8 +1679,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 162,
"height": 38
"width": 141,
"height": 37
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2202,8 +2200,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 261
"width": 304,
"height": 263
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2420,8 +2418,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 32,
"height": 34
"width": 24,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -2473,7 +2471,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2eae54a-980f-45af-aee0-09a8c695254f"
"__uuid__": "f2be482c-00e8-404f-8fa0-350ce391ea27"
},
"_type": 0,
"_sizeMode": 1,
@ -2486,9 +2484,7 @@
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "fa9a438e-1f24-47fe-bbcd-b75abcff2ea8"
},
"_atlas": null,
"_id": ""
},
{
@ -2600,8 +2596,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 162,
"height": 38
"width": 141,
"height": 37
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -3880,8 +3876,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 86,
"height": 88
"width": 93,
"height": 103
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -4087,8 +4083,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 96,
"height": 102
"width": 102,
"height": 119
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -4222,7 +4218,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "225f5c55-2992-4244-88ee-d6186f8099ec"
"__uuid__": "102613e2-b8ef-4952-ba10-633eae6c60c3"
},
"_type": 0,
"_sizeMode": 1,
@ -4236,7 +4232,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "88f4116d-72c2-46cc-9f06-d164a85a9275"
"__uuid__": "56aacf5e-256b-4c72-b5d1-3982932775c9"
},
"_id": ""
},
@ -4269,7 +4265,7 @@
"__id__": 103
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 115
@ -5222,8 +5218,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 372,
"height": 60
"width": 364,
"height": 52
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -5545,8 +5541,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 39,
"height": 48
"width": 23,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -5863,7 +5859,7 @@
"__id__": 103
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 157
@ -5934,9 +5930,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "94925d30-a970-472d-8779-1a5752b7c6f5"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
@ -5948,9 +5942,7 @@
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "56aacf5e-256b-4c72-b5d1-3982932775c9"
},
"_atlas": null,
"_id": ""
},
{
@ -5972,7 +5964,7 @@
"__id__": 103
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 160
@ -6043,9 +6035,7 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "eb4f2c98-cdf2-4391-9429-d6a1fb4d5508"
},
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
@ -6057,9 +6047,7 @@
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "56aacf5e-256b-4c72-b5d1-3982932775c9"
},
"_atlas": null,
"_id": ""
},
{
@ -6093,9 +6081,9 @@
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 241,
"g": 213,
"b": 173,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {

View File

@ -192,7 +192,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"width": 304,
"height": 261
},
"_anchorPoint": {
@ -410,8 +410,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 32,
"height": 34
"width": 31,
"height": 32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -463,10 +463,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2eae54a-980f-45af-aee0-09a8c695254f"
"__uuid__": "3487845b-9e45-4ba7-b513-e9b50b3468f0"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
@ -590,8 +590,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 162,
"height": 38
"width": 141,
"height": 37
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1111,8 +1111,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 261
"width": 304,
"height": 263
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1329,8 +1329,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 32,
"height": 34
"width": 31,
"height": 32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -1382,7 +1382,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f2eae54a-980f-45af-aee0-09a8c695254f"
"__uuid__": "3487845b-9e45-4ba7-b513-e9b50b3468f0"
},
"_type": 0,
"_sizeMode": 1,
@ -1509,8 +1509,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 162,
"height": 38
"width": 141,
"height": 37
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@ -154,13 +154,17 @@ export default class passCheck extends cc.Component {
if (lvNum >= 30) {
lvNum = 30;
}
NumberToImage.numberToImageNodes(lvNum, 35, 20, "month_", this.currentLv, true);
NumberToImage.numberToImageNodes(lvNum, 45, 48, "half_black_", this.currentLv, true);
// NumberToImage.numberToImageNodesShop(lvNum, 23, 35, "Black", this.currentLv, true);
if (lvNum == 1 || (lvNum >= 10 && lvNum <= 19)) {
this.currentLv.x -= 5;
}
NumberToImage.numberToImageNodes(this.progressNum1, 20, 15, "mul", this.progress_1, true);
NumberToImage.numberToImageNodes(this.progressNum2, 20, 15, "mul", this.progress_2, true);
// NumberToImage.createArtisticTextAsync()
// NumberToImage.numberToImageNodes(this.progressNum1, 20, 15, "mul", this.progress_1, true);
// NumberToImage.numberToImageNodes(this.progressNum2, 20, 15, "mul", this.progress_2, true);
NumberToImage.numberToImageNodesShop(this.progressNum1, 20, 15, "Black", this.progress_1, true);
NumberToImage.numberToImageNodesShop(this.progressNum2, 20, 15, "Black", this.progress_2, true);
cc.fx.GameConfig.GM_INFO.passCheckActivate = passCheck.activate;
// this.barSpr.fillRange = this.progressNum1 / this.progressNum2;
let barSprFillRange = this.progressNum1 / this.progressNum2;
@ -183,16 +187,20 @@ export default class passCheck extends cc.Component {
this.barSpr.fillRange = 0;
if (this.progressNum1 == this.progressNum2) {
if (this.currentLvNum >= 30) {
NumberToImage.numberToImageNodes(4, 20, 15, "mul", this.progress_1, true);
// NumberToImage.numberToImageNodes(4, 20, 15, "mul", this.progress_1, true);
NumberToImage.numberToImageNodesShop(4, 20, 15, "Black", this.progress_1, true);
} else {
NumberToImage.numberToImageNodes(0, 20, 15, "mul", this.progress_1, true);
// NumberToImage.numberToImageNodes(0, 20, 15, "mul", this.progress_1, true);
NumberToImage.numberToImageNodesShop(0, 20, 15, "Black", this.progress_1, true);
}
let lvNumber = passCheck.progressLevel;
if (passCheck.progressLevel >= 30) {
lvNumber = 29;
}
NumberToImage.numberToImageNodes(passCheckData[lvNumber].token, 20, 15, "mul", this.progress_2, true);
// NumberToImage.numberToImageNodes(passCheckData[lvNumber].token, 20, 15, "mul", this.progress_2, true);
NumberToImage.numberToImageNodesShop(passCheckData[lvNumber].token, 20, 15, "Black", this.progress_2, true);
}
// NumberToImage.numberToImageNodes(0, 20, 15, "mul", this.progress_1, true);

View File

@ -77,10 +77,15 @@ export default class PassCheckItem extends cc.Component {
let levelNum = itemLvNode.getChildByName("levelNum");
let lvNum = this.itemIndex + 1
NumberToImage.numberToImageNodes(lvNum, 43, 15, "tili_", levelNum, true);
if (lvNum == 1 || (lvNum >= 10 && lvNum <= 19)) {
levelNum.x -= 5;
// NumberToImage.numberToImageNodes(lvNum, 43, 15, "tili_", levelNum, true);
NumberToImage.numberToImageNodes(lvNum, 45, 48, "half_black_", levelNum, true);
if (lvNum >= 10 && lvNum <= 19) {
levelNum.x -= 3;
}
if (lvNum >= 20 && lvNum <= 29) {
levelNum.x += 3;
}
if (this.data.free === -1) {
// 未激活状态
if (this.uiAtlas) {
@ -88,7 +93,8 @@ export default class PassCheckItem extends cc.Component {
if (spriteFrame) {
bright_bg.spriteFrame = spriteFrame;
}
cc.fx.GameTool.setGray(levelNum, true)
// cc.fx.GameTool.setGray(levelNum, true)
NumberToImage.numberToImageNodes(lvNum, 45, 48, "all_black_", levelNum, true);
}
} else {
// 已激活状态
@ -291,21 +297,25 @@ export default class PassCheckItem extends cc.Component {
} else {
num1.active = true;
num_x.active = true;
NumberToImage.numberToImageNodes(itemNum, 50, 25, "pc_num_", num1, true);
// NumberToImage.numberToImageNodes(itemNum, 50, 25, "pc_num_", num1, true);
// NumberToImage.numberToImageNodes(itemNum, 45, 48, "Black", num1, true);
NumberToImage.numberToImageNodes(itemNum, 48, 50, "half_black_", num1, true);
if (itemData === 0) {
this.setNodeGray(num1)
this.setNodeGray(num_x)
}
num1.scale = 0.8;
// num1.scale = 0.8;
if (num_x && num1) {
// 计算数值的位数
const digitCount = itemNum.toString().length;
const offset = Math.max(0, digitCount);
const num_xWidth = num_x.width;
if (digitCount == 4) {
num_x.x = num1.x - (offset - 1) * num_xWidth - 20;
num_x.x = num1.x - (offset - 1) * num_xWidth - 25;
} else if (digitCount == 3) {
num_x.x = num1.x - offset * num_xWidth;
num_x.x = num1.x - offset * num_xWidth - 25;
} else if (digitCount == 1) {
num_x.x = num1.x - 5;
}
}