图标修改

This commit is contained in:
2024-12-19 13:59:46 +08:00
parent f8f8eccd5a
commit ea46830731
8 changed files with 3701 additions and 9543 deletions

View File

@@ -2165,12 +2165,12 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@b3f5a", "__uuid__": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@5c4dd",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
@@ -3239,7 +3239,7 @@
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,

View File

@@ -13,11 +13,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{71,71}</string> <string>{71,65}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{159,67},{71,71}}</string> <string>{{123,178},{71,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -28,13 +28,13 @@
<key>anchor</key> <key>anchor</key>
<string>{0.5,0.5}</string> <string>{0.5,0.5}</string>
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,1}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{65,63}</string> <string>{73,61}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{62,473},{65,63}}</string> <string>{{311,57},{73,61}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -47,11 +47,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{59,65}</string> <string>{77,61}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,434},{59,65}}</string> <string>{{386,57},{77,61}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -68,7 +68,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{74,140},{77,65}}</string> <string>{{196,180},{77,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -85,7 +85,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{153,207},{77,61}}</string> <string>{{1,115},{77,61}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -102,7 +102,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{74,207},{77,63}}</string> <string>{{226,115},{77,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -115,11 +115,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{67,67}</string> <string>{77,71}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{64,335},{67,67}}</string> <string>{{139,247},{77,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -136,7 +136,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,140},{71,71}}</string> <string>{{218,252},{71,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -153,9 +153,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,625},{54,60}}</string> <string>{{1,1},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>1010.png</key> <key>1010.png</key>
<dict> <dict>
@@ -170,7 +170,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{183,538},{62,54}}</string> <string>{{63,1},{62,54}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -187,9 +187,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{123,596},{54,60}}</string> <string>{{127,1},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>1013.png</key> <key>1013.png</key>
<dict> <dict>
@@ -204,9 +204,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,501},{56,60}}</string> <string>{{63,57},{56,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>1014.png</key> <key>1014.png</key>
<dict> <dict>
@@ -221,7 +221,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{57,652},{54,60}}</string> <string>{{189,1},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -238,7 +238,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{183,594},{62,54}}</string> <string>{{251,1},{62,54}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -255,9 +255,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,687},{54,60}}</string> <string>{{315,1},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>1017.png</key> <key>1017.png</key>
<dict> <dict>
@@ -272,7 +272,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{59,538},{56,60}}</string> <string>{{125,57},{56,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -289,9 +289,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,563},{56,60}}</string> <string>{{187,57},{56,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>1019.png</key> <key>1019.png</key>
<dict> <dict>
@@ -306,7 +306,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{121,538},{56,60}}</string> <string>{{249,57},{56,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -323,7 +323,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{179,650},{54,60}}</string> <string>{{377,1},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -340,7 +340,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{59,596},{62,54}}</string> <string>{{439,1},{62,54}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -357,9 +357,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,70}</string> <string>{70,70}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{119,658},{54,60}}</string> <string>{{1,57},{54,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>2007.png</key> <key>2007.png</key>
<dict> <dict>
@@ -374,7 +374,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{120,64}</string> <string>{120,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,1},{120,64}}</string> <string>{{384,120},{120,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -391,24 +391,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{120,64}</string> <string>{120,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{123,1},{120,64}}</string> <string>{{1,178},{120,64}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>3001.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{77,71}</string>
<key>spriteSourceSize</key>
<string>{77,77}</string>
<key>textureRect</key>
<string>{{1,67},{77,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -425,7 +408,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{80,67},{77,71}}</string> <string>{{291,255},{77,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -442,9 +425,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,213},{77,63}}</string> <string>{{305,120},{77,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>3004.Png</key> <key>3004.Png</key>
<dict> <dict>
@@ -459,7 +442,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{153,140},{77,65}}</string> <string>{{275,185},{77,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -476,7 +459,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{153,270},{77,61}}</string> <string>{{80,115},{77,61}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -493,9 +476,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,367},{61,65}}</string> <string>{{159,115},{61,65}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>9002.Png</key> <key>9002.Png</key>
<dict> <dict>
@@ -506,32 +489,15 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{71,65}</string> <string>{71,71}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{145,333},{71,65}}</string> <string>{{370,255},{71,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
<key>9003.Png</key> <key>9003.Png</key>
<dict>
<key>aliases</key>
<array/>
<key>anchor</key>
<string>{0.5,0.5}</string>
<key>spriteOffset</key>
<string>{0,1}</string>
<key>spriteSize</key>
<string>{73,61}</string>
<key>spriteSourceSize</key>
<string>{77,77}</string>
<key>textureRect</key>
<string>{{1,292},{73,61}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>9004.Png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
<array/> <array/>
@@ -540,11 +506,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{77,61}</string> <string>{67,67}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{66,272},{77,61}}</string> <string>{{354,186},{67,67}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -561,7 +527,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{133,400},{67,67}}</string> <string>{{423,186},{67,67}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -578,7 +544,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{64,404},{67,67}}</string> <string>{{1,244},{67,67}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -595,7 +561,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,77}</string> <string>{77,77}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{133,469},{67,67}}</string> <string>{{70,245},{67,67}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -611,9 +577,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>items.png</string> <string>items.png</string>
<key>size</key> <key>size</key>
<string>{246,748}</string> <string>{505,327}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:cecc1df47f3b74ba6e32161aa2b9ed18:0a5385c3d42ce7049149bfd7a9f71903:9b2c40378ce3448cae3ca053079d3001$</string> <string>$TexturePacker:SmartUpdate:b24daeb72bca389cc9a40ef59de928c2:c0acb5b0ceb01113f53f548fdc14618c:9b2c40378ce3448cae3ca053079d3001$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>items.png</string> <string>items.png</string>
</dict> </dict>

View File

@@ -19,8 +19,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 153, "trimX": 1,
"trimY": 207, "trimY": 115,
"width": 77, "width": 77,
"height": 61, "height": 61,
"rawWidth": 77, "rawWidth": 77,
@@ -65,8 +65,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 179, "trimX": 377,
"trimY": 650, "trimY": 1,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -111,8 +111,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 64, "trimX": 1,
"trimY": 404, "trimY": 244,
"width": 67, "width": 67,
"height": 67, "height": 67,
"rawWidth": 77, "rawWidth": 77,
@@ -157,8 +157,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 74, "trimX": 226,
"trimY": 207, "trimY": 115,
"width": 77, "width": 77,
"height": 63, "height": 63,
"rawWidth": 77, "rawWidth": 77,
@@ -203,10 +203,10 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 159, "trimX": 123,
"trimY": 67, "trimY": 178,
"width": 71, "width": 71,
"height": 71, "height": 65,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -248,11 +248,11 @@
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 1,
"trimX": 62, "trimX": 311,
"trimY": 473, "trimY": 57,
"width": 65, "width": 73,
"height": 63, "height": 61,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -295,10 +295,10 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 386,
"trimY": 434, "trimY": 57,
"width": 59, "width": 77,
"height": 65, "height": 61,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -341,8 +341,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 74, "trimX": 196,
"trimY": 140, "trimY": 180,
"width": 77, "width": 77,
"height": 65, "height": 65,
"rawWidth": 77, "rawWidth": 77,
@@ -387,10 +387,10 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 64, "trimX": 139,
"trimY": 335, "trimY": 247,
"width": 67, "width": 77,
"height": 67, "height": 71,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -433,8 +433,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 218,
"trimY": 140, "trimY": 252,
"width": 71, "width": 71,
"height": 71, "height": 71,
"rawWidth": 77, "rawWidth": 77,
@@ -476,11 +476,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 1,
"trimY": 625, "trimY": 1,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -525,8 +525,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -2, "offsetY": -2,
"trimX": 183, "trimX": 63,
"trimY": 538, "trimY": 1,
"width": 62, "width": 62,
"height": 54, "height": 54,
"rawWidth": 70, "rawWidth": 70,
@@ -568,11 +568,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": -1, "offsetY": -1,
"trimX": 123, "trimX": 127,
"trimY": 596, "trimY": 1,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -614,11 +614,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 1, "trimX": 63,
"trimY": 501, "trimY": 57,
"width": 56, "width": 56,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -663,8 +663,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 57, "trimX": 189,
"trimY": 652, "trimY": 1,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -709,8 +709,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -2, "offsetY": -2,
"trimX": 183, "trimX": 251,
"trimY": 594, "trimY": 1,
"width": 62, "width": 62,
"height": 54, "height": 54,
"rawWidth": 70, "rawWidth": 70,
@@ -752,11 +752,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": -1, "offsetY": -1,
"trimX": 1, "trimX": 315,
"trimY": 687, "trimY": 1,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -801,8 +801,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 59, "trimX": 125,
"trimY": 538, "trimY": 57,
"width": 56, "width": 56,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -844,11 +844,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 1, "trimX": 187,
"trimY": 563, "trimY": 57,
"width": 56, "width": 56,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -893,8 +893,8 @@
"rotated": true, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 121, "trimX": 249,
"trimY": 538, "trimY": 57,
"width": 56, "width": 56,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -939,8 +939,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -2, "offsetY": -2,
"trimX": 59, "trimX": 439,
"trimY": 596, "trimY": 1,
"width": 62, "width": 62,
"height": 54, "height": 54,
"rawWidth": 70, "rawWidth": 70,
@@ -982,11 +982,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": -1, "offsetY": -1,
"trimX": 119, "trimX": 1,
"trimY": 658, "trimY": 57,
"width": 54, "width": 54,
"height": 60, "height": 60,
"rawWidth": 70, "rawWidth": 70,
@@ -1031,8 +1031,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 384,
"trimY": 1, "trimY": 120,
"width": 120, "width": 120,
"height": 64, "height": 64,
"rawWidth": 120, "rawWidth": 120,
@@ -1077,8 +1077,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 123, "trimX": 1,
"trimY": 1, "trimY": 178,
"width": 120, "width": 120,
"height": 64, "height": 64,
"rawWidth": 120, "rawWidth": 120,
@@ -1111,52 +1111,6 @@
], ],
"subMetas": {} "subMetas": {}
}, },
"9585c": {
"importer": "sprite-frame",
"uuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@9585c",
"displayName": "",
"id": "9585c",
"name": "3001",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 67,
"width": 77,
"height": 71,
"rawWidth": 77,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4ca85ea7-6d3d-4e52-bb59-e0ad41ff0599@6c48a",
"atlasUuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"d17da": { "d17da": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@d17da", "uuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@d17da",
@@ -1169,8 +1123,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 80, "trimX": 291,
"trimY": 67, "trimY": 255,
"width": 77, "width": 77,
"height": 71, "height": 71,
"rawWidth": 77, "rawWidth": 77,
@@ -1212,11 +1166,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 305,
"trimY": 213, "trimY": 120,
"width": 77, "width": 77,
"height": 63, "height": 63,
"rawWidth": 77, "rawWidth": 77,
@@ -1261,8 +1215,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 153, "trimX": 275,
"trimY": 140, "trimY": 185,
"width": 77, "width": 77,
"height": 65, "height": 65,
"rawWidth": 77, "rawWidth": 77,
@@ -1307,8 +1261,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 153, "trimX": 80,
"trimY": 270, "trimY": 115,
"width": 77, "width": 77,
"height": 61, "height": 61,
"rawWidth": 77, "rawWidth": 77,
@@ -1350,11 +1304,11 @@
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": true,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 159,
"trimY": 367, "trimY": 115,
"width": 61, "width": 61,
"height": 65, "height": 65,
"rawWidth": 77, "rawWidth": 77,
@@ -1399,10 +1353,10 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 145, "trimX": 370,
"trimY": 333, "trimY": 255,
"width": 71, "width": 71,
"height": 65, "height": 71,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -1439,62 +1393,16 @@
"displayName": "", "displayName": "",
"id": "5c4dd", "id": "5c4dd",
"name": "9003", "name": "9003",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 1,
"trimX": 1,
"trimY": 292,
"width": 73,
"height": 61,
"rawWidth": 77,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [],
"indexes": [],
"uv": [],
"nuv": [],
"minPos": [],
"maxPos": []
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4ca85ea7-6d3d-4e52-bb59-e0ad41ff0599@6c48a",
"atlasUuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"3e072": {
"importer": "sprite-frame",
"uuid": "7b0e7263-3b25-4fec-8935-abdd67c4b86d@3e072",
"displayName": "",
"id": "3e072",
"name": "9004",
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 66, "trimX": 354,
"trimY": 272, "trimY": 186,
"width": 77, "width": 67,
"height": 61, "height": 67,
"rawWidth": 77, "rawWidth": 77,
"rawHeight": 77, "rawHeight": 77,
"borderTop": 0, "borderTop": 0,
@@ -1537,8 +1445,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 133, "trimX": 423,
"trimY": 400, "trimY": 186,
"width": 67, "width": 67,
"height": 67, "height": 67,
"rawWidth": 77, "rawWidth": 77,
@@ -1583,8 +1491,8 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 1, "offsetY": 1,
"trimX": 133, "trimX": 70,
"trimY": 469, "trimY": 245,
"width": 67, "width": 67,
"height": 67, "height": 67,
"rawWidth": 77, "rawWidth": 77,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 38 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -52,7 +52,7 @@ export class SingletonModuleComp extends ecs.Comp {
9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0}, 9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
}; };
goods:any={ goods:any={
free: [ {uuid:9001,num:100000}, {uuid:1001,num:10}, {uuid:1002,num:10}, {uuid:1007,num:10},], free: [ {uuid:9001,num:100000}, {uuid:9002,num:10}, {uuid:9003,num:10}],
goods1:[ {uuid:1001,num:100}, {uuid:9002,num:1} ], goods1:[ {uuid:1001,num:100}, {uuid:9002,num:1} ],
herochips:[ {uuid:9001,num:2}, {uuid:9002,num:1} ], herochips:[ {uuid:9001,num:2}, {uuid:9002,num:1} ],
skillchips:[ {uuid:1001,num:100}, {uuid:1002,num:1} ], skillchips:[ {uuid:1001,num:100}, {uuid:1002,num:1} ],

View File

@@ -7,9 +7,9 @@ type:
export const Items={ export const Items={
1001:{uuid: 1001,path: "9002",type:1,lv:2,name: "宝箱",info:"打开宝箱获得随机奖励", }, 1001:{uuid: 1001,path: "1001",type:1,lv:2,name: "宝箱",info:"打开宝箱获得随机奖励", },
1002:{uuid: 1002,path: "9003",type:1,lv:3,name: "稀有宝箱",info:"打开宝箱获得随机奖励", }, 1002:{uuid: 1002,path: "1002",type:1,lv:3,name: "稀有宝箱",info:"打开宝箱获得随机奖励", },
1003:{uuid: 1003,path: "9004",type:1,lv:4,name: "传说宝箱",info:"打开宝箱获得随机奖励", }, 1003:{uuid: 1003,path: "1003",type:1,lv:4,name: "传说宝箱",info:"打开宝箱获得随机奖励", },
1004:{uuid: 1004,path: "1004",type:1,lv:3,name: "xxx",info:"英雄升级三星需要的凭证", }, 1004:{uuid: 1004,path: "1004",type:1,lv:3,name: "xxx",info:"英雄升级三星需要的凭证", },
1005:{uuid: 1005,path: "1005",type:1,lv:3,name: "xxx",info:"英雄升级四星需要的凭证", }, 1005:{uuid: 1005,path: "1005",type:1,lv:3,name: "xxx",info:"英雄升级四星需要的凭证", },
1006:{uuid: 1006,path: "1006",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", }, 1006:{uuid: 1006,path: "1006",type:1,lv:4,name: "xxx",info:"英雄升级五星需要的凭证", },
@@ -24,7 +24,7 @@ export const Items={
1015:{uuid: 1015,path: "1015",type:1,lv:3,name: "稀有生命石",info:"增加装备生命值50,成功几率40%", }, 1015:{uuid: 1015,path: "1015",type:1,lv:3,name: "稀有生命石",info:"增加装备生命值50,成功几率40%", },
1016:{uuid: 1016,path: "1016",type:1,lv:4,name: "传说生命石",info:"增加装备生命值50,成功几率50%", }, 1016:{uuid: 1016,path: "1016",type:1,lv:4,name: "传说生命石",info:"增加装备生命值50,成功几率50%", },
9001:{uuid: 9001,path: "9001",type:1,lv:0,name: "金币",info:"金币不是万能的,但是没有金币是万万不能的", }, 9001:{uuid: 9001,path: "9001",type:1,lv:0,name: "金币",info:"金币不是万能的,但是没有金币是万万不能的", },
9002:{uuid: 9002,path: "1001",type:1,lv:1,name: "经验叶子",info:"提升英雄等级的神奇叶子", }, 9002:{uuid: 9002,path: "9002",type:1,lv:1,name: "叶子",info:"提升英雄等级的神奇叶子", },
9003:{uuid: 1007,path: "1007",type:1,lv:1,name: "能量石",info:"充满能量的神秘石头,可以提升战场技能等级", }, 9003:{uuid: 9003,path: "9003",type:1,lv:1,name: "经验石",info:"提升英雄等级的神秘石头", },
} }

View File

@@ -1,7 +1,8 @@
import { _decorator, instantiate, Prefab } from "cc"; import { _decorator, instantiate, Prefab ,Node, Label} from "cc";
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { smc } from "../common/SingletonModuleComp";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@@ -9,12 +10,25 @@ const { ccclass, property } = _decorator;
@ccclass('LuckHomeCompComp') @ccclass('LuckHomeCompComp')
@ecs.register('LuckHomeComp', false) @ecs.register('LuckHomeComp', false)
export class LuckHomeCompComp extends CCComp { export class LuckHomeCompComp extends CCComp {
@property({ type: Node })
sbn: Node = null;
@property({ type: Node })
mbn: Node | null = null;
@property({ type: Node })
lbn: Node | null = null;
/** 视图层逻辑代码分离演示 */ /** 视图层逻辑代码分离演示 */
start() { start() {
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
// this.on(ModuleEvent.Cmd, this.onHandler, this); // this.on(ModuleEvent.Cmd, this.onHandler, this);
} }
check_num(){
this.sbn.getChildByName("num").getComponent(Label).string = smc.items[1001].num.toString();
this.mbn.getChildByName("num").getComponent(Label).string = smc.items[1002].num.toString();
this.lbn.getChildByName("num").getComponent(Label).string = smc.items[1003].num.toString();
}
show_bbox() { show_bbox() {
var parent = this.node.getChildByName("bbox") var parent = this.node.getChildByName("bbox")
var path = "game/gui/bbox"; var path = "game/gui/bbox";