diff --git a/assets/bundles/battleGame/prefab/格子锁.prefab b/assets/bundles/battleGame/prefab/格子锁.prefab index eb31893..a313b24 100644 --- a/assets/bundles/battleGame/prefab/格子锁.prefab +++ b/assets/bundles/battleGame/prefab/格子锁.prefab @@ -92,7 +92,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -16.1845703125, + "x": -21.1845703125, "y": 0, "z": 0 }, @@ -228,7 +228,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 13.5, + "x": 18.5, "y": 0, "z": 0 }, @@ -378,7 +378,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 84.369140625, + "width": 94.369140625, "height": 68 }, "_anchorPoint": { @@ -461,7 +461,7 @@ "_paddingRight": 10, "_paddingTop": 0, "_paddingBottom": 0, - "_spacingX": -10, + "_spacingX": 0, "_spacingY": 0, "_verticalDirection": 1, "_horizontalDirection": 0, @@ -484,6 +484,7 @@ "__id__": 0 }, "fileId": "a01BJWthhKbr3LbCXP7YXR", - "instance": null + "instance": null, + "targetOverrides": null } ] \ No newline at end of file diff --git a/assets/bundles/battleGameMonster/prefab/monster/兵.prefab b/assets/bundles/battleGameMonster/prefab/monster/兵.prefab index 532862f..b123655 100644 --- a/assets/bundles/battleGameMonster/prefab/monster/兵.prefab +++ b/assets/bundles/battleGameMonster/prefab/monster/兵.prefab @@ -127,13 +127,13 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 57, - "height": 49.70000076293945 + "width": 60.09000015258789, + "height": 50 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5182456300969709, - "y": 0.5760563122992055 + "x": 0.4781161502626326, + "y": 0.26 }, "_id": "" }, @@ -164,11 +164,11 @@ "a": 255 }, "_skeletonData": { - "__uuid__": "2ff1a233-3438-41e6-8f86-bff953ab9a68", + "__uuid__": "234ccbbe-0991-444b-9db0-b1211911ea5c", "__expectedType__": "sp.SkeletonData" }, - "defaultSkin": "兵", - "defaultAnimation": "待机", + "defaultSkin": "default", + "defaultAnimation": "金小怪", "_premultipliedAlpha": false, "_timeScale": 1, "_preCacheMode": 2, diff --git a/assets/bundles/first/config/Battlebuff.json b/assets/bundles/first/config/Battlebuff.json index 1391298..8b7bd51 100644 --- a/assets/bundles/first/config/Battlebuff.json +++ b/assets/bundles/first/config/Battlebuff.json @@ -2,7 +2,7 @@ { "id": 1, "name": "灾厄盒", - "desc": "对方Boss出现几率翻倍", + "desc": "Boss出现几率翻倍", "icon": "灾厄盒", "quality": 2, "type": 2, diff --git a/assets/bundles/first/config/Rank.json b/assets/bundles/first/config/Rank.json index 4c7df04..a3f84b1 100644 --- a/assets/bundles/first/config/Rank.json +++ b/assets/bundles/first/config/Rank.json @@ -2,7 +2,7 @@ { "id": 1, "name": "幼儿园小班·上", - "icon": "凡修·初阶", + "icon": "幼儿园小班·上", "level": [ 1, 5 @@ -35,7 +35,7 @@ { "id": 2, "name": "幼儿园小班·下", - "icon": "凡修·中阶", + "icon": "幼儿园小班·下", "level": [ 6, 10 @@ -68,7 +68,7 @@ { "id": 3, "name": "幼儿园中班·上", - "icon": "凡修·高阶", + "icon": "幼儿园中班·上", "level": [ 11, 15 @@ -101,7 +101,7 @@ { "id": 4, "name": "幼儿园中班·下", - "icon": "凡修·圆满", + "icon": "幼儿园中班·下", "level": [ 16, 20 @@ -134,7 +134,7 @@ { "id": 5, "name": "幼儿园大班·上", - "icon": "人仙·初阶", + "icon": "幼儿园大班·上", "level": [ 21, 25 @@ -167,7 +167,7 @@ { "id": 6, "name": "幼儿园大班·下", - "icon": "人仙·中阶", + "icon": "幼儿园大班·下", "level": [ 26, 30 @@ -201,7 +201,7 @@ { "id": 7, "name": "小学一年级·上", - "icon": "人仙·高阶", + "icon": "小学一年级·上", "level": [ 31, 35 @@ -235,7 +235,7 @@ { "id": 8, "name": "小学一年级·下", - "icon": "人仙·圆满", + "icon": "小学一年级·下", "level": [ 36, 40 @@ -269,7 +269,7 @@ { "id": 9, "name": "小学二年级·上", - "icon": "地仙·初阶", + "icon": "小学二年级·上", "level": [ 41, 45 @@ -303,7 +303,7 @@ { "id": 10, "name": "小学二年级·下", - "icon": "地仙·中阶", + "icon": "小学二年级·下", "level": [ 46, 50 @@ -337,7 +337,7 @@ { "id": 11, "name": "小学三年级·上", - "icon": "地仙·高阶", + "icon": "小学三年级·上", "level": [ 51, 55 @@ -372,7 +372,7 @@ { "id": 12, "name": "小学三年级·下", - "icon": "地仙·圆满", + "icon": "小学三年级·下", "level": [ 56, 60 @@ -407,7 +407,7 @@ { "id": 13, "name": "小学四年级·上", - "icon": "天仙·初阶", + "icon": "小学四年级·上", "level": [ 61, 65 @@ -442,7 +442,7 @@ { "id": 14, "name": "小学四年级·下", - "icon": "天仙·中阶", + "icon": "小学四年级·下", "level": [ 66, 70 @@ -477,7 +477,7 @@ { "id": 15, "name": "小学五年级·上", - "icon": "天仙·高阶", + "icon": "小学五年级·上", "level": [ 71, 75 @@ -512,7 +512,7 @@ { "id": 16, "name": "小学五年级·下", - "icon": "天仙·圆满", + "icon": "小学五年级·下", "level": [ 76, 80 @@ -547,7 +547,7 @@ { "id": 17, "name": "小学六年级·上", - "icon": "真仙·初阶", + "icon": "小学六年级·上", "level": [ 81, 85 @@ -582,7 +582,7 @@ { "id": 18, "name": "小学六年级·下", - "icon": "真仙·中阶", + "icon": "小学六年级·下", "level": [ 86, 90 @@ -617,7 +617,7 @@ { "id": 19, "name": "初中一年级·上", - "icon": "真仙·高阶", + "icon": "初中一年级·上", "level": [ 91, 95 @@ -652,7 +652,7 @@ { "id": 20, "name": "初中一年级·下", - "icon": "真仙·圆满", + "icon": "初中一年级·下", "level": [ 96, 100 @@ -687,7 +687,7 @@ { "id": 21, "name": "初中二年级·上", - "icon": "玄仙·初阶", + "icon": "初中二年级·上", "level": [ 101, 105 @@ -722,7 +722,7 @@ { "id": 22, "name": "初中二年级·下", - "icon": "玄仙·中阶", + "icon": "初中二年级·下", "level": [ 106, 110 @@ -757,7 +757,7 @@ { "id": 23, "name": "初中三年级·上", - "icon": "玄仙·高阶", + "icon": "初中三年级·上", "level": [ 111, 115 @@ -792,7 +792,7 @@ { "id": 24, "name": "初中三年级·下", - "icon": "玄仙·圆满", + "icon": "初中三年级·下", "level": [ 116, 120 @@ -827,7 +827,7 @@ { "id": 25, "name": "高中一年级·上", - "icon": "金仙·初阶", + "icon": "高中一年级·上", "level": [ 121, 125 @@ -862,7 +862,7 @@ { "id": 26, "name": "高中一年级·下", - "icon": "金仙·中阶", + "icon": "高中一年级·下", "level": [ 126, 130 @@ -897,7 +897,7 @@ { "id": 27, "name": "高中二年级·上", - "icon": "金仙·高阶", + "icon": "高中二年级·上", "level": [ 131, 135 @@ -932,7 +932,7 @@ { "id": 28, "name": "高中二年级·下", - "icon": "金仙·圆满", + "icon": "高中二年级·下", "level": [ 136, 140 @@ -967,7 +967,7 @@ { "id": 29, "name": "高中三年级·上", - "icon": "太乙·初阶", + "icon": "高中三年级·上", "level": [ 141, 145 @@ -1002,7 +1002,7 @@ { "id": 30, "name": "高中三年级·下", - "icon": "太乙·中阶", + "icon": "高中三年级·下", "level": [ 146, 150 @@ -1037,7 +1037,7 @@ { "id": 31, "name": "大一·上", - "icon": "太乙·高阶", + "icon": "大一·上", "level": [ 151, 155 @@ -1072,7 +1072,7 @@ { "id": 32, "name": "大一·下", - "icon": "太乙·圆满", + "icon": "大一·下", "level": [ 156, 160 @@ -1107,7 +1107,7 @@ { "id": 33, "name": "大二·上", - "icon": "大罗·初阶", + "icon": "大二·上", "level": [ 161, 165 @@ -1142,7 +1142,7 @@ { "id": 34, "name": "大二·下", - "icon": "大罗·中阶", + "icon": "大二·下", "level": [ 166, 170 @@ -1177,7 +1177,7 @@ { "id": 35, "name": "大三·上", - "icon": "大罗·高阶", + "icon": "大三·上", "level": [ 171, 175 @@ -1212,7 +1212,7 @@ { "id": 36, "name": "大三·下", - "icon": "大罗·圆满", + "icon": "大三·下", "level": [ 176, 180 @@ -1247,7 +1247,7 @@ { "id": 37, "name": "大四·上", - "icon": "混元·初阶", + "icon": "大四·上", "level": [ 181, 185 @@ -1282,7 +1282,7 @@ { "id": 38, "name": "大四·下", - "icon": "混元·中阶", + "icon": "大四·下", "level": [ 186, 190 @@ -1317,7 +1317,7 @@ { "id": 39, "name": "硕士一年级·上", - "icon": "混元·高阶", + "icon": "硕士一年级·上", "level": [ 191, 195 @@ -1352,7 +1352,7 @@ { "id": 40, "name": "硕士一年级·下", - "icon": "混元·圆满", + "icon": "硕士一年级·下", "level": [ 196, 200 @@ -1387,7 +1387,7 @@ { "id": 41, "name": "硕士二年级·上", - "icon": "合道·初阶", + "icon": "硕士二年级·上", "level": [ 201, 205 @@ -1422,7 +1422,7 @@ { "id": 42, "name": "硕士二年级·下", - "icon": "合道·中阶", + "icon": "硕士二年级·下", "level": [ 206, 210 @@ -1457,7 +1457,7 @@ { "id": 43, "name": "硕士三年级·上", - "icon": "合道·高阶", + "icon": "硕士三年级·上", "level": [ 211, 215 @@ -1492,7 +1492,7 @@ { "id": 44, "name": "硕士三年级·下", - "icon": "合道·圆满", + "icon": "硕士三年级·下", "level": [ 216, 220 @@ -1527,14 +1527,14 @@ { "id": 45, "name": "博士一年级·上", - "icon": "太初", + "icon": "博士一年级·上", "level": [ 221, - -1 + 225 ], - "reward": "1|200", + "reward": "1|190", "levelvalue": 4, - "diffcult": 11, + "diffcult": 10, "weapondrop": 50, "weaponweight": [ -1, @@ -1562,257 +1562,481 @@ { "id": 46, "name": "博士一年级·下", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士一年级·下", + "level": [ + 226, + 230 + ], + "reward": "1|194", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 47, "name": "博士二年级·上", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士二年级·上", + "level": [ + 231, + 235 + ], + "reward": "1|198", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 48, "name": "博士二年级·下", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士二年级·下", + "level": [ + 236, + 240 + ], + "reward": "1|202", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 49, "name": "博士三年级·上", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士三年级·上", + "level": [ + 241, + 245 + ], + "reward": "1|206", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 50, "name": "博士三年级·下", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士三年级·下", + "level": [ + 246, + 250 + ], + "reward": "1|210", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 51, "name": "博士四年级·上", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士四年级·上", + "level": [ + 251, + 255 + ], + "reward": "1|214", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 52, "name": "博士四年级·下", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士四年级·下", + "level": [ + 256, + 260 + ], + "reward": "1|218", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 53, "name": "博士五年级·上", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士五年级·上", + "level": [ + 261, + 265 + ], + "reward": "1|222", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 54, "name": "博士五年级·下", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "博士五年级·下", + "level": [ + 266, + 270 + ], + "reward": "1|226", + "levelvalue": 4, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 55, "name": "讲师初阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师初阶", + "level": [ + 271, + 275 + ], + "reward": "1|230", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 56, "name": "讲师初阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师初阶", + "level": [ + 276, + 280 + ], + "reward": "1|234", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 57, "name": "讲师中阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师中阶", + "level": [ + 281, + 285 + ], + "reward": "1|238", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 58, "name": "讲师中阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师中阶", + "level": [ + 286, + 290 + ], + "reward": "1|242", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 59, "name": "讲师高阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师高阶", + "level": [ + 291, + 295 + ], + "reward": "1|246", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 60, "name": "讲师高阶", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "讲师高阶", + "level": [ + 296, + 300 + ], + "reward": "1|250", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] }, { "id": 61, "name": "教授", - "icon": "太初", - "level": [], - "reward": "", - "levelvalue": 0, - "diffcult": 0, - "weapondrop": 0, + "icon": "教授", + "level": [ + 301, + -1 + ], + "reward": "1|254", + "levelvalue": 5, + "diffcult": 10, + "weapondrop": 50, "weaponweight": [], "aiweapon": "", - "aiusead": 0, - "aiusechanzi": [], - "aiusetext": [], - "charactersweight": [] + "aiusead": 5500, + "aiusechanzi": [ + 5, + 5, + 5 + ], + "aiusetext": [ + 5, + 5 + ], + "charactersweight": [ + 7, + 8, + 9 + ] } ] \ No newline at end of file diff --git a/assets/bundles/icons/img/土.png b/assets/bundles/icons/img/土.png new file mode 100644 index 0000000..1f72a2b Binary files /dev/null and b/assets/bundles/icons/img/土.png differ diff --git a/assets/bundles/icons/img/土.png.meta b/assets/bundles/icons/img/土.png.meta new file mode 100644 index 0000000..467ee2e --- /dev/null +++ b/assets/bundles/icons/img/土.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "483926f6-b44f-4487-b12c-18869e5c2f04", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "483926f6-b44f-4487-b12c-18869e5c2f04@6c48a", + "displayName": "土", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "483926f6-b44f-4487-b12c-18869e5c2f04", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "483926f6-b44f-4487-b12c-18869e5c2f04@f9941", + "displayName": "土", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 22, + "height": 22, + "rawWidth": 22, + "rawHeight": 22, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -11, + -11, + 0, + 11, + -11, + 0, + -11, + 11, + 0, + 11, + 11, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 22, + 22, + 22, + 0, + 0, + 22, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -11, + -11, + 0 + ], + "maxPos": [ + 11, + 11, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "483926f6-b44f-4487-b12c-18869e5c2f04@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "483926f6-b44f-4487-b12c-18869e5c2f04@6c48a" + } +} diff --git a/assets/bundles/icons/img/木.png b/assets/bundles/icons/img/木.png new file mode 100644 index 0000000..a1ab818 Binary files /dev/null and b/assets/bundles/icons/img/木.png differ diff --git a/assets/bundles/icons/img/木.png.meta b/assets/bundles/icons/img/木.png.meta new file mode 100644 index 0000000..2fc0bba --- /dev/null +++ b/assets/bundles/icons/img/木.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "0acc9c84-80da-4619-a205-f5a5f2e2933b", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0acc9c84-80da-4619-a205-f5a5f2e2933b@6c48a", + "displayName": "木", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "0acc9c84-80da-4619-a205-f5a5f2e2933b", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "0acc9c84-80da-4619-a205-f5a5f2e2933b@f9941", + "displayName": "木", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 22, + "height": 23, + "rawWidth": 22, + "rawHeight": 23, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -11, + -11.5, + 0, + 11, + -11.5, + 0, + -11, + 11.5, + 0, + 11, + 11.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 23, + 22, + 23, + 0, + 0, + 22, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -11, + -11.5, + 0 + ], + "maxPos": [ + 11, + 11.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "0acc9c84-80da-4619-a205-f5a5f2e2933b@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "0acc9c84-80da-4619-a205-f5a5f2e2933b@6c48a" + } +} diff --git a/assets/bundles/icons/img/水.png b/assets/bundles/icons/img/水.png new file mode 100644 index 0000000..87bbeed Binary files /dev/null and b/assets/bundles/icons/img/水.png differ diff --git a/assets/bundles/icons/img/水.png.meta b/assets/bundles/icons/img/水.png.meta new file mode 100644 index 0000000..a90ff0d --- /dev/null +++ b/assets/bundles/icons/img/水.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "193a9ca0-c402-4984-a744-9484172b90f4", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "193a9ca0-c402-4984-a744-9484172b90f4@6c48a", + "displayName": "水", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "193a9ca0-c402-4984-a744-9484172b90f4", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "193a9ca0-c402-4984-a744-9484172b90f4@f9941", + "displayName": "水", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 22, + "height": 23, + "rawWidth": 22, + "rawHeight": 23, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -11, + -11.5, + 0, + 11, + -11.5, + 0, + -11, + 11.5, + 0, + 11, + 11.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 23, + 22, + 23, + 0, + 0, + 22, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -11, + -11.5, + 0 + ], + "maxPos": [ + 11, + 11.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "193a9ca0-c402-4984-a744-9484172b90f4@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "193a9ca0-c402-4984-a744-9484172b90f4@6c48a" + } +} diff --git a/assets/bundles/icons/img/火.png b/assets/bundles/icons/img/火.png new file mode 100644 index 0000000..624f18c Binary files /dev/null and b/assets/bundles/icons/img/火.png differ diff --git a/assets/bundles/icons/img/火.png.meta b/assets/bundles/icons/img/火.png.meta new file mode 100644 index 0000000..2f06caf --- /dev/null +++ b/assets/bundles/icons/img/火.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "8a795201-91bb-4612-b56b-fc0826b5266e", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "8a795201-91bb-4612-b56b-fc0826b5266e@6c48a", + "displayName": "火", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "8a795201-91bb-4612-b56b-fc0826b5266e", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "8a795201-91bb-4612-b56b-fc0826b5266e@f9941", + "displayName": "火", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 22, + "height": 23, + "rawWidth": 22, + "rawHeight": 23, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -11, + -11.5, + 0, + 11, + -11.5, + 0, + -11, + 11.5, + 0, + 11, + 11.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 23, + 22, + 23, + 0, + 0, + 22, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -11, + -11.5, + 0 + ], + "maxPos": [ + 11, + 11.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "8a795201-91bb-4612-b56b-fc0826b5266e@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "8a795201-91bb-4612-b56b-fc0826b5266e@6c48a" + } +} diff --git a/assets/bundles/icons/img/金.png b/assets/bundles/icons/img/金.png new file mode 100644 index 0000000..182dd46 Binary files /dev/null and b/assets/bundles/icons/img/金.png differ diff --git a/assets/bundles/icons/img/金.png.meta b/assets/bundles/icons/img/金.png.meta new file mode 100644 index 0000000..bf35e72 --- /dev/null +++ b/assets/bundles/icons/img/金.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f@6c48a", + "displayName": "金", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f@f9941", + "displayName": "金", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 23, + "height": 23, + "rawWidth": 23, + "rawHeight": 23, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -11.5, + -11.5, + 0, + 11.5, + -11.5, + 0, + -11.5, + 11.5, + 0, + 11.5, + 11.5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 23, + 23, + 23, + 0, + 0, + 23, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -11.5, + -11.5, + 0 + ], + "maxPos": [ + 11.5, + 11.5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "813415dc-5bcd-4d94-b1c7-7298c5b6b62f@6c48a" + } +} diff --git a/assets/bundles/popBattle/battleGameResult/prefab/BattlePause.prefab b/assets/bundles/popBattle/battleGameResult/prefab/BattlePause.prefab index a85365d..3b0bbc5 100644 --- a/assets/bundles/popBattle/battleGameResult/prefab/BattlePause.prefab +++ b/assets/bundles/popBattle/battleGameResult/prefab/BattlePause.prefab @@ -28,17 +28,17 @@ "_active": true, "_components": [ { - "__id__": 194 + "__id__": 168 }, { - "__id__": 196 + "__id__": 170 }, { - "__id__": 198 + "__id__": 172 } ], "_prefab": { - "__id__": 200 + "__id__": 174 }, "_lpos": { "__type__": "cc.Vec3", @@ -280,6 +280,9 @@ { "__id__": 19 }, + { + "__id__": 25 + }, { "__id__": 31 }, @@ -290,41 +293,35 @@ "__id__": 43 }, { - "__id__": 49 - }, - { - "__id__": 55 - }, - { - "__id__": 71 + "__id__": 59 }, { - "__id__": 87 + "__id__": 75 }, { - "__id__": 101 + "__id__": 89 }, { - "__id__": 143 + "__id__": 117 } ], "_active": true, "_components": [ { - "__id__": 185 + "__id__": 159 }, { - "__id__": 187 + "__id__": 161 }, { - "__id__": 189 + "__id__": 163 }, { - "__id__": 191 + "__id__": 165 } ], "_prefab": { - "__id__": 193 + "__id__": 167 }, "_lpos": { "__type__": "cc.Vec3", @@ -357,7 +354,7 @@ }, { "__type__": "cc.Node", - "_name": "暂停游戏框体", + "_name": "暂停游戏", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -379,7 +376,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 86, + "y": 97.594, "z": 0 }, "_lrot": { @@ -420,7 +417,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 582, - "height": 519 + "height": 522 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -431,7 +428,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d85k7v+npDwa2Hvg/mGp+o" + "fileId": "74w1mxf3dDG5t9GHobihJC" }, { "__type__": "cc.Sprite", @@ -456,7 +453,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47@f9941", + "__uuid__": "a7271246-d5d1-4718-8421-3baaae466ac7@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -476,7 +473,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "5fqGMftK9PLqnDNR3L/xz5" + "fileId": "77DoSsgzdGdJ4KcSNk40DG" }, { "__type__": "cc.PrefabInfo", @@ -486,90 +483,36 @@ "asset": { "__id__": 0 }, - "fileId": "82Q6dNxyVAhpWRsoATjmDC", + "fileId": "fa/cyOUUlMBLfNUSuFiFu1", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "标题头", + "_name": "Label", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 12 }, - "_children": [ - { - "__id__": 20 - } - ], - "_active": true, - "_components": [ - { - "__id__": 26 - }, - { - "__id__": 28 - } - ], - "_prefab": { - "__id__": 30 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 311.973, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "暂停游戏", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 19 - }, "_children": [], "_active": true, "_components": [ { - "__id__": 21 + "__id__": 20 }, { - "__id__": 23 + "__id__": 22 } ], "_prefab": { - "__id__": 25 + "__id__": 24 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 3, + "x": -123.937, + "y": -112.712, "z": 0 }, "_lrot": { @@ -601,16 +544,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 20 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 21 }, "_contentSize": { "__type__": "cc.Size", - "width": 146, - "height": 30 + "width": 160, + "height": 50.4 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -621,138 +564,75 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d3jtVQEXxNtJ9/Ky3ZAKiQ" + "fileId": "aafCKD4nxEYLdI/wDPYbA7" }, { - "__type__": "cc.Sprite", + "__type__": "cc.Label", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 20 + "__id__": 19 }, "_enabled": true, "__prefab": { - "__id__": 24 + "__id__": 23 }, "_customMaterial": null, "_srcBlendFactor": 2, "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, + "r": 64, + "g": 64, + "b": 64, "a": 255 }, - "_spriteFrame": { - "__uuid__": "795a19d4-c7e0-416e-a465-4e63cd50b9a4@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e51x1TWRhPDJUKppbWsxeh" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "82lqNEipxG6qPxZO8ainA4", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 19 - }, - "_enabled": true, - "__prefab": { - "__id__": 27 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 249, - "height": 71 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e1QrHNkM9OKKqFbgK+l9pV" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 19 - }, - "_enabled": true, - "__prefab": { - "__id__": 29 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { + "_string": "退出没有武器奖励", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, + "r": 0, + "g": 0, + "b": 0, "a": 255 }, - "_spriteFrame": { - "__uuid__": "005b007d-8dab-4f67-a8d3-2db3c1c0e0b8@f9941", - "__expectedType__": "cc.SpriteFrame" + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { + "_shadowOffset": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 2, + "y": 2 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, + "_shadowBlur": 2, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "0du+qEFrRB7Yq9cU7IMhzY" + "fileId": "5254uFdXlA5b7yHmId0P3N" }, { "__type__": "cc.PrefabInfo", @@ -762,14 +642,14 @@ "asset": { "__id__": 0 }, - "fileId": "fbHXv600REJ5bB0kbwgekv", + "fileId": "ebwa6CwoJBfqKb0HY0YJES", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "Label", + "_name": "Label-001", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -779,18 +659,18 @@ "_active": true, "_components": [ { - "__id__": 32 + "__id__": 26 }, { - "__id__": 34 + "__id__": 28 } ], "_prefab": { - "__id__": 36 + "__id__": 30 }, "_lpos": { "__type__": "cc.Vec3", - "x": -123.937, + "x": 120, "y": -112.712, "z": 0 }, @@ -823,15 +703,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 25 }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 27 }, "_contentSize": { "__type__": "cc.Size", - "width": 160, + "width": 200, "height": 50.4 }, "_anchorPoint": { @@ -843,7 +723,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "aafCKD4nxEYLdI/wDPYbA7" + "fileId": "18vPYoKgFGwKfueQ0zXMLs" }, { "__type__": "cc.Label", @@ -851,11 +731,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 25 }, "_enabled": true, "__prefab": { - "__id__": 35 + "__id__": 29 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -867,7 +747,7 @@ "b": 64, "a": 255 }, - "_string": "退出没有武器奖励", + "_string": "胜者拿走所有武器奖励", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 20, @@ -911,7 +791,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "5254uFdXlA5b7yHmId0P3N" + "fileId": "a3k83HOBNMB7EbdQvti5C9" }, { "__type__": "cc.PrefabInfo", @@ -921,190 +801,31 @@ "asset": { "__id__": 0 }, - "fileId": "ebwa6CwoJBfqKb0HY0YJES", + "fileId": "d1ucF0Cp5Fm5FOUjHxZrwo", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "Label-001", + "_name": "投降没有战利品", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 12 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 38 + "__id__": 32 }, { - "__id__": 40 + "__id__": 34 } ], "_prefab": { - "__id__": 42 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 120, - "y": -112.712, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 37 - }, - "_enabled": true, - "__prefab": { - "__id__": 39 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "18vPYoKgFGwKfueQ0zXMLs" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 37 - }, - "_enabled": true, - "__prefab": { - "__id__": 41 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 64, - "g": 64, - "b": 64, - "a": 255 - }, - "_string": "胜者拿走所有武器奖励", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": false, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a3k83HOBNMB7EbdQvti5C9" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d1ucF0Cp5Fm5FOUjHxZrwo", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "投降没有战利品", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 12 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 44 - }, - { - "__id__": 46 - } - ], - "_prefab": { - "__id__": 48 + "__id__": 36 }, "_lpos": { "__type__": "cc.Vec3", @@ -1141,11 +862,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 31 }, "_enabled": true, "__prefab": { - "__id__": 45 + "__id__": 33 }, "_contentSize": { "__type__": "cc.Size", @@ -1169,11 +890,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 31 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 35 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1233,14 +954,14 @@ "_active": false, "_components": [ { - "__id__": 50 + "__id__": 38 }, { - "__id__": 52 + "__id__": 40 } ], "_prefab": { - "__id__": 54 + "__id__": 42 }, "_lpos": { "__type__": "cc.Vec3", @@ -1277,11 +998,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 51 + "__id__": 39 }, "_contentSize": { "__type__": "cc.Size", @@ -1305,11 +1026,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 53 + "__id__": 41 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1367,26 +1088,26 @@ }, "_children": [ { - "__id__": 56 + "__id__": 44 } ], "_active": true, "_components": [ { - "__id__": 62 + "__id__": 50 }, { - "__id__": 64 + "__id__": 52 }, { - "__id__": 66 + "__id__": 54 }, { - "__id__": 68 + "__id__": 56 } ], "_prefab": { - "__id__": 70 + "__id__": 58 }, "_lpos": { "__type__": "cc.Vec3", @@ -1423,20 +1144,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 43 }, "_children": [], "_active": true, "_components": [ { - "__id__": 57 + "__id__": 45 }, { - "__id__": 59 + "__id__": 47 } ], "_prefab": { - "__id__": 61 + "__id__": 49 }, "_lpos": { "__type__": "cc.Vec3", @@ -1473,11 +1194,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 46 }, "_contentSize": { "__type__": "cc.Size", @@ -1501,11 +1222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 48 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1559,11 +1280,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 51 }, "_contentSize": { "__type__": "cc.Size", @@ -1587,11 +1308,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 53 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1609,7 +1330,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -1632,11 +1353,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 67 + "__id__": 55 }, "clickEvents": [], "_interactable": true, @@ -1676,7 +1397,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 55 + "__id__": 43 }, "_id": "" }, @@ -1690,11 +1411,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 57 }, "_id": "" }, @@ -1725,26 +1446,26 @@ }, "_children": [ { - "__id__": 72 + "__id__": 60 } ], "_active": true, "_components": [ { - "__id__": 78 + "__id__": 66 }, { - "__id__": 80 + "__id__": 68 }, { - "__id__": 82 + "__id__": 70 }, { - "__id__": 84 + "__id__": 72 } ], "_prefab": { - "__id__": 86 + "__id__": 74 }, "_lpos": { "__type__": "cc.Vec3", @@ -1781,20 +1502,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 71 + "__id__": 59 }, "_children": [], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 61 }, { - "__id__": 75 + "__id__": 63 } ], "_prefab": { - "__id__": 77 + "__id__": 65 }, "_lpos": { "__type__": "cc.Vec3", @@ -1831,11 +1552,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 60 }, "_enabled": true, "__prefab": { - "__id__": 74 + "__id__": 62 }, "_contentSize": { "__type__": "cc.Size", @@ -1859,11 +1580,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 60 }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 64 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1917,11 +1638,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 59 }, "_enabled": true, "__prefab": { - "__id__": 79 + "__id__": 67 }, "_contentSize": { "__type__": "cc.Size", @@ -1945,11 +1666,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 59 }, "_enabled": true, "__prefab": { - "__id__": 81 + "__id__": 69 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1967,7 +1688,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -1990,11 +1711,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 59 }, "_enabled": true, "__prefab": { - "__id__": 83 + "__id__": 71 }, "clickEvents": [], "_interactable": true, @@ -2034,7 +1755,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 71 + "__id__": 59 }, "_id": "" }, @@ -2048,11 +1769,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 59 }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 73 }, "_id": "" }, @@ -2083,23 +1804,23 @@ }, "_children": [ { - "__id__": 88 + "__id__": 76 } ], "_active": true, "_components": [ { - "__id__": 94 + "__id__": 82 }, { - "__id__": 96 + "__id__": 84 }, { - "__id__": 98 + "__id__": 86 } ], "_prefab": { - "__id__": 100 + "__id__": 88 }, "_lpos": { "__type__": "cc.Vec3", @@ -2136,20 +1857,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 87 + "__id__": 75 }, "_children": [], "_active": true, "_components": [ { - "__id__": 89 + "__id__": 77 }, { - "__id__": 91 + "__id__": 79 } ], "_prefab": { - "__id__": 93 + "__id__": 81 }, "_lpos": { "__type__": "cc.Vec3", @@ -2186,11 +1907,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 76 }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 78 }, "_contentSize": { "__type__": "cc.Size", @@ -2214,11 +1935,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 76 }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 80 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2272,11 +1993,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 87 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 95 + "__id__": 83 }, "_contentSize": { "__type__": "cc.Size", @@ -2300,11 +2021,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 87 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 97 + "__id__": 85 }, "clickEvents": [], "_interactable": true, @@ -2332,281 +2053,43 @@ }, "_disabledColor": { "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 - }, - "_normalSprite": null, - "_hoverSprite": null, - "_pressedSprite": null, - "_disabledSprite": null, - "_duration": 0.1, - "_zoomScale": 1.2, - "_target": { - "__id__": 87 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "47LdF1bSZOf71Pnq6Yltse" - }, - { - "__type__": "01072pOfZNI5LNG77/ogzuD", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 99 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "PltWfUomlodD9tAqO6bcgp" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "16JKkhCGBFIrTUurjikCad", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "ui_list", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 12 - }, - "_children": [ - { - "__id__": 102 - }, - { - "__id__": 110 - }, - { - "__id__": 116 - }, - { - "__id__": 122 - } - ], - "_active": true, - "_components": [ - { - "__id__": 138 - }, - { - "__id__": 140 - } - ], - "_prefab": { - "__id__": 142 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 123.335, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "SpriteSplash", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 101 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 103 - }, - { - "__id__": 105 - }, - { - "__id__": 107 - } - ], - "_prefab": { - "__id__": 109 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 102 - }, - "_enabled": true, - "__prefab": { - "__id__": 104 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 477, - "height": 253 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "dc8BcZFY9PbZx6F3R3jpCN" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 102 - }, - "_enabled": true, - "__prefab": { - "__id__": 106 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 94 - }, - "_spriteFrame": { - "__uuid__": "5bb3ea3d-a364-47d1-81a9-334361e6f128@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 75 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c8NN1/HUxC+6GYR1+LjdLe" + "fileId": "47LdF1bSZOf71Pnq6Yltse" }, { - "__type__": "cc.Widget", + "__type__": "01072pOfZNI5LNG77/ogzuD", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 102 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 108 + "__id__": 87 }, - "_alignFlags": 45, - "_target": null, - "_left": -13.5, - "_right": -13.5, - "_top": -51.5, - "_bottom": -51.5, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_alignMode": 2, - "_lockFlags": 0, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "f6fCQoIqdHi705SFFlxdWR" + "fileId": "PltWfUomlodD9tAqO6bcgp" }, { "__type__": "cc.PrefabInfo", @@ -2616,36 +2099,43 @@ "asset": { "__id__": 0 }, - "fileId": "7fgvu4X5hGu5A2ksU5+/A4", + "fileId": "16JKkhCGBFIrTUurjikCad", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "敌方获得的战利品", + "_name": "ui_list", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 101 + "__id__": 12 }, - "_children": [], + "_children": [ + { + "__id__": 90 + }, + { + "__id__": 96 + } + ], "_active": true, "_components": [ { - "__id__": 111 + "__id__": 112 }, { - "__id__": 113 + "__id__": 114 } ], "_prefab": { - "__id__": 115 + "__id__": 116 }, "_lpos": { "__type__": "cc.Vec3", - "x": -130.934, - "y": 125.821, + "x": 0, + "y": 123.335, "z": 0 }, "_lrot": { @@ -2671,112 +2161,26 @@ }, "_id": "" }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 110 - }, - "_enabled": true, - "__prefab": { - "__id__": 112 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 175, - "height": 27 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d4sVjg5hJLdoWkRDIwqwRI" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 110 - }, - "_enabled": true, - "__prefab": { - "__id__": 114 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "99f5f2a7-de25-4d68-835c-9e52e6969f1f@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0bNukaLdlHCKN5KH48yjYN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6cwYjz2pRNjqVbnsJg0+/F", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "lb_notHaveOther", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 101 + "__id__": 89 }, "_children": [], "_active": true, "_components": [ { - "__id__": 117 + "__id__": 91 }, { - "__id__": 119 + "__id__": 93 } ], "_prefab": { - "__id__": 121 + "__id__": 95 }, "_lpos": { "__type__": "cc.Vec3", @@ -2813,11 +2217,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -2841,11 +2245,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2922,30 +2326,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 101 + "__id__": 89 }, "_children": [ { - "__id__": 123 + "__id__": 97 } ], "_active": true, "_components": [ { - "__id__": 129 + "__id__": 103 }, { - "__id__": 131 + "__id__": 105 }, { - "__id__": 133 + "__id__": 107 }, { - "__id__": 135 + "__id__": 109 } ], "_prefab": { - "__id__": 137 + "__id__": 111 }, "_lpos": { "__type__": "cc.Vec3", @@ -2982,20 +2386,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 122 + "__id__": 96 }, "_children": [], "_active": true, "_components": [ { - "__id__": 124 + "__id__": 98 }, { - "__id__": 126 + "__id__": 100 } ], "_prefab": { - "__id__": 128 + "__id__": 102 }, "_lpos": { "__type__": "cc.Vec3", @@ -3032,11 +2436,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 97 }, "_enabled": true, "__prefab": { - "__id__": 125 + "__id__": 99 }, "_contentSize": { "__type__": "cc.Size", @@ -3060,11 +2464,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 123 + "__id__": 97 }, "_enabled": true, "__prefab": { - "__id__": 127 + "__id__": 101 }, "_resizeMode": 0, "_layoutType": 3, @@ -3111,11 +2515,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 130 + "__id__": 104 }, "_contentSize": { "__type__": "cc.Size", @@ -3139,11 +2543,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 132 + "__id__": 106 }, "_type": 0, "_inverted": false, @@ -3161,11 +2565,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 134 + "__id__": 108 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3207,11 +2611,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 96 }, "_enabled": true, "__prefab": { - "__id__": 136 + "__id__": 110 }, "_alignFlags": 45, "_target": null, @@ -3256,11 +2660,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 101 + "__id__": 89 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 113 }, "_contentSize": { "__type__": "cc.Size", @@ -3284,11 +2688,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 101 + "__id__": 89 }, "_enabled": true, "__prefab": { - "__id__": 141 + "__id__": 115 }, "bounceDuration": 0.23, "brake": 0.75, @@ -3299,7 +2703,7 @@ "cancelInnerEvents": true, "scrollEvents": [], "_content": { - "__id__": 123 + "__id__": 97 }, "_horizontalScrollBar": null, "_verticalScrollBar": null, @@ -3332,29 +2736,29 @@ }, "_children": [ { - "__id__": 144 + "__id__": 118 }, { - "__id__": 152 + "__id__": 126 }, { - "__id__": 158 + "__id__": 132 }, { - "__id__": 164 + "__id__": 138 } ], "_active": false, "_components": [ { - "__id__": 180 + "__id__": 154 }, { - "__id__": 182 + "__id__": 156 } ], "_prefab": { - "__id__": 184 + "__id__": 158 }, "_lpos": { "__type__": "cc.Vec3", @@ -3391,23 +2795,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 117 }, "_children": [], "_active": true, "_components": [ { - "__id__": 145 + "__id__": 119 }, { - "__id__": 147 + "__id__": 121 }, { - "__id__": 149 + "__id__": 123 } ], "_prefab": { - "__id__": 151 + "__id__": 125 }, "_lpos": { "__type__": "cc.Vec3", @@ -3444,11 +2848,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 118 }, "_enabled": true, "__prefab": { - "__id__": 146 + "__id__": 120 }, "_contentSize": { "__type__": "cc.Size", @@ -3472,11 +2876,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 118 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 122 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3517,11 +2921,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 144 + "__id__": 118 }, "_enabled": true, "__prefab": { - "__id__": 150 + "__id__": 124 }, "_alignFlags": 45, "_target": null, @@ -3566,20 +2970,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 117 }, "_children": [], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 127 }, { - "__id__": 155 + "__id__": 129 } ], "_prefab": { - "__id__": 157 + "__id__": 131 }, "_lpos": { "__type__": "cc.Vec3", @@ -3616,11 +3020,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 128 }, "_contentSize": { "__type__": "cc.Size", @@ -3644,11 +3048,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 130 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3702,20 +3106,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 117 }, "_children": [], "_active": true, "_components": [ { - "__id__": 159 + "__id__": 133 }, { - "__id__": 161 + "__id__": 135 } ], "_prefab": { - "__id__": 163 + "__id__": 137 }, "_lpos": { "__type__": "cc.Vec3", @@ -3752,11 +3156,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 160 + "__id__": 134 }, "_contentSize": { "__type__": "cc.Size", @@ -3780,11 +3184,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 136 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3861,30 +3265,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 143 + "__id__": 117 }, "_children": [ { - "__id__": 165 + "__id__": 139 } ], "_active": true, "_components": [ { - "__id__": 171 + "__id__": 145 }, { - "__id__": 173 + "__id__": 147 }, { - "__id__": 175 + "__id__": 149 }, { - "__id__": 177 + "__id__": 151 } ], "_prefab": { - "__id__": 179 + "__id__": 153 }, "_lpos": { "__type__": "cc.Vec3", @@ -3921,20 +3325,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 164 + "__id__": 138 }, "_children": [], "_active": true, "_components": [ { - "__id__": 166 + "__id__": 140 }, { - "__id__": 168 + "__id__": 142 } ], "_prefab": { - "__id__": 170 + "__id__": 144 }, "_lpos": { "__type__": "cc.Vec3", @@ -3971,11 +3375,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 165 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 167 + "__id__": 141 }, "_contentSize": { "__type__": "cc.Size", @@ -3999,11 +3403,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 165 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 169 + "__id__": 143 }, "_resizeMode": 0, "_layoutType": 3, @@ -4050,11 +3454,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 138 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 146 }, "_contentSize": { "__type__": "cc.Size", @@ -4078,11 +3482,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 138 }, "_enabled": true, "__prefab": { - "__id__": 174 + "__id__": 148 }, "_type": 0, "_inverted": false, @@ -4100,11 +3504,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 138 }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 150 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4146,11 +3550,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 164 + "__id__": 138 }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 152 }, "_alignFlags": 45, "_target": null, @@ -4195,11 +3599,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 181 + "__id__": 155 }, "_contentSize": { "__type__": "cc.Size", @@ -4223,11 +3627,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 183 + "__id__": 157 }, "bounceDuration": 0.23, "brake": 0.75, @@ -4238,7 +3642,7 @@ "cancelInnerEvents": true, "scrollEvents": [], "_content": { - "__id__": 165 + "__id__": 139 }, "_horizontalScrollBar": null, "_verticalScrollBar": null, @@ -4271,7 +3675,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 160 }, "_contentSize": { "__type__": "cc.Size", @@ -4299,7 +3703,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 162 }, "_alignFlags": 45, "_target": null, @@ -4335,7 +3739,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 190 + "__id__": 164 }, "clickEvents": [], "_interactable": true, @@ -4393,7 +3797,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 192 + "__id__": 166 }, "_id": "" }, @@ -4424,7 +3828,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 195 + "__id__": 169 }, "_contentSize": { "__type__": "cc.Size", @@ -4452,7 +3856,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 197 + "__id__": 171 }, "_alignFlags": 45, "_target": null, @@ -4488,7 +3892,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 199 + "__id__": 173 }, "_id": "" }, diff --git a/assets/res/battleGameMonster/spine/小怪X5.meta b/assets/res/battleGameMonster/spine/小怪X5.meta new file mode 100644 index 0000000..54623d2 --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "ce94753f-1e01-4a6d-9e5e-952d336d3a46", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/res/battleGameMonster/spine/小怪X5/.WeDrive b/assets/res/battleGameMonster/spine/小怪X5/.WeDrive new file mode 100644 index 0000000..f05829d --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/.WeDrive @@ -0,0 +1 @@ +D:\WXWork\1688855084654441\WeDrive\中昱智云\抖音游戏\战斗类\【新】2048数字守卫战\动效\数字皮肤+武器\怪物\小怪X5 \ No newline at end of file diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas new file mode 100644 index 0000000..04fc8d8 --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas @@ -0,0 +1,111 @@ + +小怪X5.png +size: 348,142 +format: RGBA8888 +filter: Linear,Linear +repeat: none +土 + rotate: false + xy: 254, 31 + size: 23, 25 + orig: 25, 27 + offset: 1, 1 + index: -1 +土小怪 + rotate: true + xy: 286, 28 + size: 46, 48 + orig: 48, 50 + offset: 1, 1 + index: -1 +手臂 + rotate: true + xy: 336, 64 + size: 10, 12 + orig: 12, 14 + offset: 1, 1 + index: -1 +木 + rotate: false + xy: 245, 6 + size: 33, 21 + orig: 35, 28 + offset: 1, 1 + index: -1 +木小怪 + rotate: false + xy: 53, 4 + size: 49, 50 + orig: 51, 52 + offset: 1, 1 + index: -1 +水 + rotate: true + xy: 217, 0 + size: 27, 26 + orig: 29, 28 + offset: 1, 1 + index: -1 +水小怪 + rotate: true + xy: 104, 18 + size: 37, 61 + orig: 39, 63 + offset: 1, 1 + index: -1 +火 + rotate: false + xy: 280, 7 + size: 20, 19 + orig: 22, 21 + offset: 1, 1 + index: -1 +火小怪 + rotate: false + xy: 0, 5 + size: 51, 49 + orig: 53, 51 + offset: 1, 1 + index: -1 +烟雾1 + rotate: true + xy: 286, 76 + size: 66, 59 + orig: 68, 61 + offset: 1, 1 + index: -1 +烟雾2 + rotate: false + xy: 192, 58 + size: 92, 84 + orig: 94, 86 + offset: 1, 1 + index: -1 +烟雾3 + rotate: false + xy: 0, 56 + size: 95, 86 + orig: 97, 88 + offset: 1, 1 + index: -1 +烟雾4 + rotate: false + xy: 97, 57 + size: 93, 85 + orig: 95, 87 + offset: 1, 1 + index: -1 +金 + rotate: false + xy: 217, 29 + size: 35, 27 + orig: 43, 29 + offset: 7, 1 + index: -1 +金小怪 + rotate: false + xy: 167, 7 + size: 48, 48 + orig: 50, 50 + offset: 1, 1 + index: -1 diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas.meta b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas.meta new file mode 100644 index 0000000..d873b9f --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.atlas.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.0", + "importer": "*", + "imported": true, + "uuid": "177b448e-f3a9-4552-b61c-73fe0fd597b3", + "files": [ + ".atlas", + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json new file mode 100644 index 0000000..e9acd50 --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json @@ -0,0 +1 @@ +{"skeleton":{"hash":"dQ8YU58zjj4glqPwO66lh08fQH4","spine":"3.8.75","x":-28.73,"y":-13,"width":60.09,"height":50},"bones":[{"name":"root"},{"name":"小怪","parent":"root","length":18.8,"rotation":91.28,"x":1.55,"y":-9.21},{"name":"小怪2","parent":"小怪","length":6.19,"rotation":88.72,"x":12.68,"y":19.48},{"name":"手臂2","parent":"小怪2","length":8.56,"rotation":51.12,"x":0.94,"y":3.14,"scaleY":-1},{"name":"小怪3","parent":"小怪","length":6.19,"rotation":88.72,"x":11.81,"y":-19.55,"scaleX":-1},{"name":"手臂3","parent":"小怪3","length":8.56,"rotation":51.12,"x":0.94,"y":3.14,"scaleY":-1},{"name":"烟雾炸开","parent":"root","length":16.62,"rotation":53.84,"x":3,"y":5.96},{"name":"飞散","parent":"root","x":20.15,"y":9.91,"scaleX":0.7672,"scaleY":0.7672},{"name":"飞散3","parent":"飞散","length":18.31,"rotation":1.53,"y":-0.49},{"name":"飞散2","parent":"root","rotation":109.38,"x":-7.35,"y":18.98,"scaleX":0.8372,"scaleY":0.8372},{"name":"飞散4","parent":"飞散2","length":18.31,"rotation":1.53,"y":-0.49},{"name":"飞散5","parent":"root","rotation":-147.98,"x":-14.02,"y":1.1,"scaleX":0.9326,"scaleY":0.9326},{"name":"飞散6","parent":"飞散5","length":18.31,"rotation":1.53,"y":-0.49},{"name":"飞散7","parent":"root","rotation":-72.44,"x":13.48,"y":-2.91,"scaleX":0.7516,"scaleY":0.7516},{"name":"飞散8","parent":"飞散7","length":18.31,"rotation":1.53,"y":-0.49},{"name":"飞散9","parent":"root","rotation":144.17,"x":-12.67,"y":10.04,"scaleX":0.8372,"scaleY":0.8372},{"name":"飞散10","parent":"飞散9","length":18.31,"rotation":1.53,"y":-0.49}],"slots":[{"name":"飞散","bone":"飞散3"},{"name":"飞散2","bone":"飞散4"},{"name":"飞散5","bone":"飞散10"},{"name":"飞散3","bone":"飞散6"},{"name":"飞散4","bone":"飞散8"},{"name":"烟雾炸开","bone":"烟雾炸开"},{"name":"小怪","bone":"小怪","attachment":"土小怪"},{"name":"手臂2","bone":"手臂2","attachment":"手臂"},{"name":"手臂3","bone":"手臂3","attachment":"手臂"}],"skins":[{"name":"default","attachments":{"飞散":{"土":{"x":0.3,"y":0.33,"rotation":-1.53,"width":25,"height":27},"木":{"x":-4.69,"y":0.97,"rotation":-1.53,"width":35,"height":28},"水":{"x":-1.71,"y":-0.11,"rotation":-1.53,"width":29,"height":28},"火":{"x":-2.17,"y":1.4,"rotation":-1.53,"width":22,"height":21},"金":{"x":-1.67,"y":1.39,"rotation":-1.53,"width":43,"height":29}},"烟雾炸开":{"烟雾1":{"x":-4.51,"y":3.43,"rotation":-53.84,"width":68,"height":61},"烟雾2":{"x":-4.7,"y":4.53,"rotation":-53.84,"width":94,"height":86},"烟雾3":{"x":-6.02,"y":2.95,"rotation":-53.84,"width":97,"height":88},"烟雾4":{"x":-4.22,"y":3.03,"rotation":-53.84,"width":95,"height":87}},"飞散2":{"土":{"x":0.3,"y":0.33,"rotation":-1.53,"width":25,"height":27},"木":{"x":-4.69,"y":0.97,"rotation":-1.53,"width":35,"height":28},"水":{"x":-1.71,"y":-0.11,"rotation":-1.53,"width":29,"height":28},"火":{"x":-2.17,"y":1.4,"rotation":-1.53,"width":22,"height":21},"金":{"x":-1.67,"y":1.39,"rotation":-1.53,"width":43,"height":29}},"飞散3":{"土":{"x":0.3,"y":0.33,"rotation":-1.53,"width":25,"height":27},"木":{"x":-4.69,"y":0.97,"rotation":-1.53,"width":35,"height":28},"水":{"x":-1.71,"y":-0.11,"rotation":-1.53,"width":29,"height":28},"火":{"x":-2.17,"y":1.4,"rotation":-1.53,"width":22,"height":21},"金":{"x":-1.67,"y":1.39,"rotation":-1.53,"width":43,"height":29}},"飞散4":{"土":{"x":0.3,"y":0.33,"rotation":-1.53,"width":25,"height":27},"木":{"x":-4.69,"y":0.97,"rotation":-1.53,"width":35,"height":28},"水":{"x":-1.71,"y":-0.11,"rotation":-1.53,"width":29,"height":28},"火":{"x":-2.17,"y":1.4,"rotation":-1.53,"width":22,"height":21},"金":{"x":-1.67,"y":1.39,"rotation":-1.53,"width":43,"height":29}},"飞散5":{"土":{"x":0.3,"y":0.33,"rotation":-1.53,"width":25,"height":27},"木":{"x":-4.69,"y":0.97,"rotation":-1.53,"width":35,"height":28},"水":{"x":-1.71,"y":-0.11,"rotation":-1.53,"width":29,"height":28},"火":{"x":-2.17,"y":1.4,"rotation":-1.53,"width":22,"height":21},"金":{"x":-1.67,"y":1.39,"rotation":-1.53,"width":43,"height":29}},"手臂2":{"手臂":{"x":4.58,"y":0.09,"rotation":56.5,"width":12,"height":14}},"小怪":{"土小怪":{"x":21.24,"y":1.08,"rotation":-91.28,"width":48,"height":50},"木小怪":{"x":21.22,"y":0.58,"rotation":-91.28,"width":51,"height":52},"水小怪":{"x":20.75,"y":1.59,"rotation":-91.28,"width":39,"height":63},"火小怪":{"x":20.75,"y":1.59,"rotation":-91.28,"width":53,"height":51},"金小怪":{"x":21.24,"y":1.08,"rotation":-91.28,"width":50,"height":50}},"手臂3":{"手臂":{"x":4.58,"y":0.09,"rotation":56.5,"width":12,"height":14}}}}],"animations":{"土小怪":{"bones":{"手臂2":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":-0.13,"y":0.83},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":0.3,"y":0.15},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":-0.13,"y":0.83}],"scale":[{"x":0.845,"y":0.845},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":1.159,"y":1.159},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":0.845,"y":0.845}]},"手臂3":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":0.3,"y":0.15},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":-0.13,"y":0.83},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":0.3,"y":0.15}],"scale":[{"x":1.159,"y":1.159},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":0.845,"y":0.845},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":1.159,"y":1.159}]},"小怪":{"translate":[{"y":2.18},{"time":0.6667,"y":-0.34},{"time":1.3333,"y":2.18}],"scale":[{},{"time":0.6667,"x":0.955,"y":1.028},{"time":1.3333}]}}},"土小怪2":{"slots":{"手臂2":{"attachment":[{"name":null}]},"飞散4":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"土"}]},"小怪":{"attachment":[{"name":null}]},"手臂3":{"attachment":[{"name":null}]},"烟雾炸开":{"attachment":[{"name":"烟雾1"},{"time":0.1,"name":"烟雾2"},{"time":0.1667,"name":"烟雾3"},{"time":0.2333,"name":"烟雾4"},{"time":0.3333,"name":null},{"time":0.8333,"name":null}]},"飞散2":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"土"}]},"飞散5":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"土"}]},"飞散3":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"土"}]},"飞散":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"土"}]}},"bones":{"烟雾炸开":{"scale":[{},{"time":0.3333,"x":1.189,"y":1.189}]},"飞散3":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散4":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散6":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散8":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散10":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]}}},"木小怪":{"slots":{"小怪":{"attachment":[{"name":"木小怪"}]}},"bones":{"手臂2":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":-0.13,"y":0.83},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":0.3,"y":0.15},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":-0.13,"y":0.83}],"scale":[{"x":0.845,"y":0.845},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":1.159,"y":1.159},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":0.845,"y":0.845}]},"手臂3":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":0.3,"y":0.15},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":-0.13,"y":0.83},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":0.3,"y":0.15}],"scale":[{"x":1.159,"y":1.159},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":0.845,"y":0.845},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":1.159,"y":1.159}]},"小怪":{"translate":[{"y":2.18},{"time":0.6667,"y":-0.34},{"time":1.3333,"y":2.18}],"scale":[{},{"time":0.6667,"x":0.955,"y":1.028},{"time":1.3333}]},"小怪2":{"translate":[{"x":0.07,"y":3.04}]},"小怪3":{"translate":[{"x":-0.05,"y":-2.37}]}}},"木小怪2":{"slots":{"手臂2":{"attachment":[{"name":null}]},"飞散4":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"木"}]},"小怪":{"attachment":[{"name":null}]},"手臂3":{"attachment":[{"name":null}]},"烟雾炸开":{"attachment":[{"name":"烟雾1"},{"time":0.1,"name":"烟雾2"},{"time":0.1667,"name":"烟雾3"},{"time":0.2333,"name":"烟雾4"},{"time":0.3333,"name":null},{"time":0.8333,"name":null}]},"飞散2":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"木"}]},"飞散5":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"木"}]},"飞散3":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"木"}]},"飞散":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"木"}]}},"bones":{"烟雾炸开":{"scale":[{},{"time":0.3333,"x":1.189,"y":1.189}]},"飞散3":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散4":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散6":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散8":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散10":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]}}},"水小怪":{"slots":{"小怪":{"attachment":[{"name":"水小怪"}]}},"bones":{"手臂2":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":-0.13,"y":0.83},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":0.3,"y":0.15},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":-0.13,"y":0.83}],"scale":[{"x":0.845,"y":0.845},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":1.159,"y":1.159},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":0.845,"y":0.845}]},"手臂3":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":0.3,"y":0.15},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":-0.13,"y":0.83},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":0.3,"y":0.15}],"scale":[{"x":1.159,"y":1.159},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":0.845,"y":0.845},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":1.159,"y":1.159}]},"小怪":{"translate":[{"y":2.18},{"time":0.6667,"y":-0.34},{"time":1.3333,"y":2.18}],"scale":[{},{"time":0.6667,"x":0.955,"y":1.028},{"time":1.3333}]},"小怪2":{"translate":[{"x":-0.05,"y":-2.2}]},"小怪3":{"translate":[{"x":0.1,"y":4.56}]}}},"水小怪2":{"slots":{"手臂2":{"attachment":[{"name":null}]},"飞散4":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"水"}]},"小怪":{"attachment":[{"name":null}]},"手臂3":{"attachment":[{"name":null}]},"烟雾炸开":{"attachment":[{"name":"烟雾1"},{"time":0.1,"name":"烟雾2"},{"time":0.1667,"name":"烟雾3"},{"time":0.2333,"name":"烟雾4"},{"time":0.3333,"name":null},{"time":0.8333,"name":null}]},"飞散2":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"水"}]},"飞散5":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"水"}]},"飞散3":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"水"}]},"飞散":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"水"}]}},"bones":{"烟雾炸开":{"scale":[{},{"time":0.3333,"x":1.189,"y":1.189}]},"飞散3":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散4":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散6":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散8":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散10":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]}}},"火小怪":{"slots":{"小怪":{"attachment":[{"name":"火小怪"}]}},"bones":{"手臂2":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":-0.13,"y":0.83},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":0.3,"y":0.15},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":-0.13,"y":0.83}],"scale":[{"x":0.845,"y":0.845},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":1.159,"y":1.159},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":0.845,"y":0.845}]},"手臂3":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":0.3,"y":0.15},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":-0.13,"y":0.83},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":0.3,"y":0.15}],"scale":[{"x":1.159,"y":1.159},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":0.845,"y":0.845},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":1.159,"y":1.159}]},"小怪":{"translate":[{"y":2.18},{"time":0.6667,"y":-0.34},{"time":1.3333,"y":2.18}],"scale":[{},{"time":0.6667,"x":0.955,"y":1.028},{"time":1.3333}]},"小怪2":{"translate":[{"x":-0.09,"y":-4.22}]},"小怪3":{"translate":[{"x":0.14,"y":6.42}]}}},"火小怪2":{"slots":{"手臂2":{"attachment":[{"name":null}]},"飞散4":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"火"}]},"小怪":{"attachment":[{"name":null}]},"手臂3":{"attachment":[{"name":null}]},"烟雾炸开":{"attachment":[{"name":"烟雾1"},{"time":0.1,"name":"烟雾2"},{"time":0.1667,"name":"烟雾3"},{"time":0.2333,"name":"烟雾4"},{"time":0.3333,"name":null},{"time":0.8333,"name":null}]},"飞散2":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"火"}]},"飞散5":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"火"}]},"飞散3":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"火"}]},"飞散":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"火"}]}},"bones":{"烟雾炸开":{"scale":[{},{"time":0.3333,"x":1.189,"y":1.189}]},"飞散3":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散4":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散6":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散8":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散10":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]}}},"金小怪":{"slots":{"小怪":{"attachment":[{"name":"金小怪"}]}},"bones":{"手臂2":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":-0.13,"y":0.83},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":0.3,"y":0.15},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":-0.13,"y":0.83}],"scale":[{"x":0.845,"y":0.845},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":1.159,"y":1.159},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":0.845,"y":0.845}]},"手臂3":{"rotate":[{"angle":10.94},{"time":0.3333,"angle":-6.12},{"time":0.6667,"angle":10.94},{"time":1,"angle":-6.12},{"time":1.3333,"angle":10.94}],"translate":[{"x":0.3,"y":0.15},{"time":0.3333,"x":0.64,"y":0.06},{"time":0.6667,"x":-0.13,"y":0.83},{"time":1,"x":0.64,"y":0.06},{"time":1.3333,"x":0.3,"y":0.15}],"scale":[{"x":1.159,"y":1.159},{"time":0.3333,"x":1.127,"y":1.127},{"time":0.6667,"x":0.845,"y":0.845},{"time":1,"x":1.127,"y":1.127},{"time":1.3333,"x":1.159,"y":1.159}]},"小怪":{"translate":[{"y":2.18},{"time":0.6667,"y":-0.34},{"time":1.3333,"y":2.18}],"scale":[{},{"time":0.6667,"x":0.955,"y":1.028},{"time":1.3333}]},"小怪2":{"translate":[{"x":0.07,"y":3.04}]},"小怪3":{"translate":[{"x":0.05,"y":2.03}]}}},"金小怪2":{"slots":{"手臂2":{"attachment":[{"name":null}]},"飞散4":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"金"}]},"小怪":{"attachment":[{"name":null}]},"手臂3":{"attachment":[{"name":null}]},"烟雾炸开":{"attachment":[{"name":"烟雾1"},{"time":0.1,"name":"烟雾2"},{"time":0.1667,"name":"烟雾3"},{"time":0.2333,"name":"烟雾4"},{"time":0.3333,"name":null},{"time":0.8333,"name":null}]},"飞散2":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"金"}]},"飞散5":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"金"}]},"飞散3":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"金"}]},"飞散":{"color":[{"time":0.2,"color":"ffffffff"},{"time":0.3667,"color":"ffffff00"}],"attachment":[{"time":0.0667,"name":"金"}]}},"bones":{"烟雾炸开":{"scale":[{},{"time":0.3333,"x":1.189,"y":1.189}]},"飞散3":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散4":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散6":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散8":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]},"飞散10":{"translate":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":77.97,"y":72.97}],"scale":[{"time":0.0667,"curve":0.079,"c2":0.48,"c3":0.75},{"time":0.3667,"x":0.747,"y":0.747}]}}}}} \ No newline at end of file diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json.meta b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json.meta new file mode 100644 index 0000000..38eb381 --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.json.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.2.7", + "importer": "spine-data", + "imported": true, + "uuid": "234ccbbe-0991-444b-9db0-b1211911ea5c", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "atlasUuid": "177b448e-f3a9-4552-b61c-73fe0fd597b3" + } +} diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png new file mode 100644 index 0000000..c9b29b7 Binary files /dev/null and b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png differ diff --git a/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png.meta b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png.meta new file mode 100644 index 0000000..c72f3b7 --- /dev/null +++ b/assets/res/battleGameMonster/spine/小怪X5/小怪X5.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.27", + "importer": "image", + "imported": true, + "uuid": "7368e9f2-8522-4425-b272-a68dfa117576", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "7368e9f2-8522-4425-b272-a68dfa117576@6c48a", + "displayName": "小怪X5", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "imageUuidOrDatabaseUri": "7368e9f2-8522-4425-b272-a68dfa117576", + "isUuid": true, + "visible": false, + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0 + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "7368e9f2-8522-4425-b272-a68dfa117576@f9941", + "displayName": "小怪X5", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 348, + "height": 142, + "rawWidth": 348, + "rawHeight": 142, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -174, + -71, + 0, + 174, + -71, + 0, + -174, + 71, + 0, + 174, + 71, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 142, + 348, + 142, + 0, + 0, + 348, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -174, + -71, + 0 + ], + "maxPos": [ + 174, + 71, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "7368e9f2-8522-4425-b272-a68dfa117576@6c48a", + "atlasUuid": "", + "trimType": "auto" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "hasAlpha": true, + "redirect": "7368e9f2-8522-4425-b272-a68dfa117576@6c48a" + } +} diff --git a/assets/res/comm/texture/bg/暂停游戏.png b/assets/res/comm/texture/bg/暂停游戏.png new file mode 100644 index 0000000..a8d725d Binary files /dev/null and b/assets/res/comm/texture/bg/暂停游戏.png differ diff --git a/assets/res/comm/texture/bg/暂停游戏框体.png.meta b/assets/res/comm/texture/bg/暂停游戏.png.meta similarity index 73% rename from assets/res/comm/texture/bg/暂停游戏框体.png.meta rename to assets/res/comm/texture/bg/暂停游戏.png.meta index ae3e686..b3f40b7 100644 --- a/assets/res/comm/texture/bg/暂停游戏框体.png.meta +++ b/assets/res/comm/texture/bg/暂停游戏.png.meta @@ -2,7 +2,7 @@ "ver": "1.0.27", "importer": "image", "imported": true, - "uuid": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47", + "uuid": "a7271246-d5d1-4718-8421-3baaae466ac7", "files": [ ".json", ".png" @@ -10,14 +10,14 @@ "subMetas": { "6c48a": { "importer": "texture", - "uuid": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47@6c48a", - "displayName": "暂停游戏框体", + "uuid": "a7271246-d5d1-4718-8421-3baaae466ac7@6c48a", + "displayName": "暂停游戏", "id": "6c48a", "name": "texture", "userData": { "wrapModeS": "clamp-to-edge", "wrapModeT": "clamp-to-edge", - "imageUuidOrDatabaseUri": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47", + "imageUuidOrDatabaseUri": "a7271246-d5d1-4718-8421-3baaae466ac7", "isUuid": true, "visible": false, "minfilter": "linear", @@ -34,8 +34,8 @@ }, "f9941": { "importer": "sprite-frame", - "uuid": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47@f9941", - "displayName": "暂停游戏框体", + "uuid": "a7271246-d5d1-4718-8421-3baaae466ac7@f9941", + "displayName": "暂停游戏", "id": "f9941", "name": "spriteFrame", "userData": { @@ -46,9 +46,9 @@ "trimX": 0, "trimY": 0, "width": 582, - "height": 519, + "height": 522, "rawWidth": 582, - "rawHeight": 519, + "rawHeight": 522, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -61,16 +61,16 @@ "vertices": { "rawPosition": [ -291, - -259.5, + -261, 0, 291, - -259.5, + -261, 0, -291, - 259.5, + 261, 0, 291, - 259.5, + 261, 0 ], "indexes": [ @@ -83,9 +83,9 @@ ], "uv": [ 0, - 519, + 522, 582, - 519, + 522, 0, 0, 582, @@ -103,17 +103,17 @@ ], "minPos": [ -291, - -259.5, + -261, 0 ], "maxPos": [ 291, - 259.5, + 261, 0 ] }, "isUuid": true, - "imageUuidOrDatabaseUri": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47@6c48a", + "imageUuidOrDatabaseUri": "a7271246-d5d1-4718-8421-3baaae466ac7@6c48a", "atlasUuid": "", "trimType": "auto" }, @@ -129,10 +129,6 @@ "type": "sprite-frame", "fixAlphaTransparencyArtifacts": false, "hasAlpha": true, - "redirect": "8d9a7a0c-d32c-4ea2-81d3-281e421c0c47@6c48a", - "compressSettings": { - "useCompressTexture": true, - "presetId": "cfxhmsckdLS61QsbVp4HIL" - } + "redirect": "a7271246-d5d1-4718-8421-3baaae466ac7@6c48a" } } diff --git a/assets/res/comm/texture/bg/暂停游戏框体.png b/assets/res/comm/texture/bg/暂停游戏框体.png deleted file mode 100644 index ab83678..0000000 Binary files a/assets/res/comm/texture/bg/暂停游戏框体.png and /dev/null differ diff --git a/assets/script/battle/map/legacy/MapAreaUnlock.ts b/assets/script/battle/map/legacy/MapAreaUnlock.ts index f7abd13..12f9cb6 100644 --- a/assets/script/battle/map/legacy/MapAreaUnlock.ts +++ b/assets/script/battle/map/legacy/MapAreaUnlock.ts @@ -1,6 +1,7 @@ -import { Label, Layout, Node, UITransform, Vec3, isValid } from 'cc'; +import { Label, Layout, Node, Sprite, UITransform, Vec3, isValid } from 'cc'; +import { SpriteLoad } from 'db://assets/mx/components/SpriteLoad'; import { TableNames } from '../../../game/ConfigTableData'; -import { GBundle } from '../../../game/ConfigRes'; +import { GBundle, GPath } from '../../../game/ConfigRes'; import { MapGrid } from './MapGrid'; /** 解锁条件气泡预制体路径 */ @@ -9,10 +10,16 @@ const LOCK_TIP_PATH = 'prefab/'; const LOCK_TIP_NAME = '格子锁'; /** 预制体上显示数字的子节点名 */ const LOCK_TIP_NUM = 'num'; +/** 动态条件图标子节点名前缀 */ +const LOCK_TIP_COND = 'cond_'; +/** 条件图标占位尺寸(与 icons/img 五行图接近) */ +const COND_ICON_SIZE = 22; /** 气泡世界坐标转本地时复用 */ const _tipWorld = new Vec3(); /** 气泡本地坐标复用 */ const _tipLocal = new Vec3(); +/** herotype → 五行图标名(1金 2木 3水 4火 5土) */ +const HERO_TYPE_ICON: string[] = ['', '金', '木', '水', '火', '土']; /** * 拖英雄推进区域解锁的结果。 @@ -63,6 +70,8 @@ export class MapAreaUnlock { private _warnedSprite = false; /** 按阵营各挂一个条件气泡 */ private _tips: Node[] = []; + /** 与当前展示中的 _tips 对齐的阵营 CampAreaID */ + private _tipCamps: number[] = []; /** * 绑定本局关卡与某阵营段位等级加值。 @@ -144,6 +153,22 @@ export class MapAreaUnlock { return this._probe(grid, hero) === 'unlocked'; } + /** + * 某阵营当前格子锁气泡(用于解锁引导连线终点)。 + * @param campAreaId 阵营 CampAreaID + */ + tipOf(campAreaId: number): Node | null { + const camp = Math.floor(Number(campAreaId) || 0); + if (camp <= 0) return null; + for (let i = 0; i < this._tipCamps.length; i++) { + if (this._tipCamps[i] !== camp) continue; + const tip = this._tips[i]; + if (tip?.isValid && tip.active) return tip; + return null; + } + return null; + } + /** * 把英雄拖到当前解锁区域。条件与 canDrag 相同,成功则解锁该阵营整区。 * @param grid 落点格 @@ -226,7 +251,7 @@ export class MapAreaUnlock { /** 各阵营当前待解锁区各自挂气泡 */ private _refreshTips(): void { - const jobs: { grids: MapGrid[]; num: number }[] = []; + const jobs: { camp: number; grids: MapGrid[]; num: number; heroType: number }[] = []; for (let t = 0; t < this._tracks.length; t++) { const track = this._tracks[t]; const current = this.currentId(track.camp); @@ -235,10 +260,12 @@ export class MapAreaUnlock { if (index < 0 || !track.rolled[index]) continue; const group = this._waitingOfCamp(current, track.camp); if (group.length <= 0) continue; - const num = this._heroNumber(track.needLevels[index], track.heroTypes[index]); + const heroType = track.heroTypes[index] | 0; + const num = this._heroNumber(track.needLevels[index], heroType); if (!(num > 0)) continue; - jobs.push({ grids: group, num }); + jobs.push({ camp: track.camp, grids: group, num, heroType }); } + this._tipCamps.length = 0; if (jobs.length <= 0) { this._hideTips(); return; @@ -249,18 +276,24 @@ export class MapAreaUnlock { } for (let i = 0; i < jobs.length; i++) { const tip = this._tips[i]; - if (!tip?.isValid) continue; + if (!tip?.isValid) { + this._tipCamps.push(0); + continue; + } const numNode = tip.getChildByName(LOCK_TIP_NUM); const label = numNode?.getComponent(Label); if (!label) { console.warn('[MapAreaUnlock] 格子锁缺少 num Label'); tip.active = false; + this._tipCamps.push(0); continue; } label.string = String(jobs[i].num); + this._syncCondIcons(tip, jobs[i].heroType); tip.getComponent(Layout)?.updateLayout(); this._placeTipCenter(tip, jobs[i].grids); tip.active = true; + this._tipCamps.push(jobs[i].camp); } for (let i = jobs.length; i < this._tips.length; i++) { const tip = this._tips[i]; @@ -268,6 +301,70 @@ export class MapAreaUnlock { } } + /** + * 同步解锁条件五行图标:类型 0 不加载;1–5 各挂一张对应图标(锁与数字之间)。 + * @param tip 格子锁气泡 + * @param heroType 当前随机到的 Hero.herotype;0 为无属性限制 + */ + private _syncCondIcons(tip: Node, heroType: number): void { + this._clearCondIcons(tip); + const names = this._condIconNames(heroType); + if (names.length <= 0) return; + const numNode = tip.getChildByName(LOCK_TIP_NUM); + let insertAt = numNode ? numNode.getSiblingIndex() : tip.children.length; + for (let i = 0; i < names.length; i++) { + const icon = this._makeCondIcon(names[i]); + tip.insertChild(icon, insertAt); + insertAt++; + } + } + + /** + * 当前条件需要展示的五行图标名列表;无限制返回空。 + * @param heroType Hero.herotype + */ + private _condIconNames(heroType: number): string[] { + const type = Math.floor(Number(heroType) || 0); + if (type <= 0) return []; + const name = HERO_TYPE_ICON[type]; + if (!name) { + console.warn('[MapAreaUnlock] 未知解锁 herotype,无法加载条件图标', type); + return []; + } + return [name]; + } + + /** + * 创建单张条件图标节点(SpriteLoad 从 icons 包加载)。 + * @param name 金/木/水/火/土 + */ + private _makeCondIcon(name: string): Node { + const node = new Node(LOCK_TIP_COND + name); + node.layer = 33554432; + const ut = node.addComponent(UITransform); + ut.setContentSize(COND_ICON_SIZE, COND_ICON_SIZE); + const sp = node.addComponent(Sprite); + sp.sizeMode = Sprite.SizeMode.TRIMMED; + node.addComponent(SpriteLoad).setSprite(GPath.ElementAttr(name), GBundle.Items); + return node; + } + + /** + * 清除气泡上动态挂的条件图标(池化复用前必须清干净)。 + * @param tip 格子锁气泡 + */ + private _clearCondIcons(tip: Node): void { + if (!tip?.isValid) return; + const children = tip.children; + for (let i = children.length - 1; i >= 0; i--) { + const child = children[i]; + if (!child?.isValid) continue; + if (child.name.indexOf(LOCK_TIP_COND) !== 0) continue; + child.removeFromParent(); + child.destroy(); + } + } + /** * 某阵营当前待解锁格。 * @param current 当前区域 ID @@ -372,6 +469,7 @@ export class MapAreaUnlock { /** 隐藏全部气泡(本局内复用节点) */ private _hideTips(): void { + this._tipCamps.length = 0; for (let i = 0; i < this._tips.length; i++) { const tip = this._tips[i]; if (!tip?.isValid) continue; @@ -384,10 +482,12 @@ export class MapAreaUnlock { for (let i = 0; i < this._tips.length; i++) { const tip = this._tips[i]; if (!tip || !isValid(tip)) continue; + this._clearCondIcons(tip); if (tip['resKey']) gg.res.putNode(tip); else tip.destroy(); } this._tips.length = 0; + this._tipCamps.length = 0; } /** diff --git a/assets/script/battle/view/AreaUnlockGuidePresenter.ts b/assets/script/battle/view/AreaUnlockGuidePresenter.ts new file mode 100644 index 0000000..62627cc --- /dev/null +++ b/assets/script/battle/view/AreaUnlockGuidePresenter.ts @@ -0,0 +1,369 @@ +import { Color, Graphics, Node, Sorting2D, UITransform, Vec3, isValid, sp } from 'cc'; +import { isElementGlyphType } from 'db://assets/mx/module/merge'; +import { GBundle } from '../../game/ConfigRes'; +import { AI_VIEW_LOCAL_CAMP } from '../ai/runtime/AiCampArea'; +import type { BattleBagSession } from '../bag/BattleBagSession'; +import { WeaponComposeConfigProvider } from '../bag/WeaponComposeConfigProvider'; +import type { MapManager } from '../map/legacy/MapManager'; +import { BattleSpinePlayback } from '../presentation/BattleSpinePlayback'; +import type { TextGrid } from './TextGrid'; + +/** 引导虚线框预制体路径 */ +const FRAME_PATH = 'prefab/障碍物/'; +/** 引导虚线框预制体名 */ +const FRAME_NAME = '引导虚线框'; +/** 虚线框 Spine 动画名 */ +const FRAME_ANIM = 'animation'; +/** 连线层节点名 */ +const LINE_LAYER = 'ui_areaUnlockGuideLine'; +/** 黑白交替每段长度(对齐效果图) */ +const DASH_LEN = 12; +/** 斑马段半宽(实心矩形,避免细 stroke 在深色底上看不见) */ +const DASH_HALF_W = 2.5; +/** 描边相对半宽加宽,保证黑/白段在任意底上都可见 */ +const DASH_OUTLINE_EXTRA = 1.5; +/** 背包端取字块顶边中点的向上偏移 */ +const BAG_TOP_PAD = 2; +/** 气泡端取底边中点的向下偏移 */ +const TIP_BOTTOM_PAD = 2; +/** 虚线框须压在字形之上(textGrid skin Sorting2D order=3,canUpEff=4) */ +const FRAME_SORT_LAYER = 3; +/** 虚线框 Sorting2D order */ +const FRAME_SORT_ORDER = 6; +/** 交替色:黑 */ +const DASH_BLACK = new Color(15, 15, 15, 255); +/** 交替色:白 */ +const DASH_WHITE = new Color(255, 255, 255, 255); + +/** 世界坐标复用 */ +const _bagWorld = new Vec3(); +/** 气泡世界坐标复用 */ +const _tipWorld = new Vec3(); +/** 本地起点复用 */ +const _fromLocal = new Vec3(); +/** 本地终点复用 */ +const _toLocal = new Vec3(); + +/** 解锁引导刷新入参 */ +export interface AreaUnlockGuideRefresh { + /** 本机背包会话 */ + bagSession: BattleBagSession; + /** 地图 */ + map: MapManager; + /** 阵营 CampAreaID;默认本机下方 */ + campAreaId?: number; + /** 取背包槽字块 */ + slotGridAt: (slotIndex: number) => TextGrid | null; + /** 槽位是否可拖(开启且非待开启) */ + canDragSlot: (slotIndex: number) => boolean; + /** 为 true 时只清不显(拖动中 / 入场中) */ + skip?: boolean; +} + +/** + * 背包可解锁当前地图区域时:随机标一个背包字 + 连到格子锁气泡。 + */ +export class AreaUnlockGuidePresenter { + /** 连线层父节点 */ + private _parent: Node | null = null; + /** Graphics 连线层 */ + private _lineLayer: Node | null = null; + private _graphics: Graphics | null = null; + /** 背包虚线框 */ + private _frame: Node | null = null; + /** 当前标识的背包槽;null 表示未展示 */ + private _slotIndex: number | null = null; + + /** + * 绑定连线层父节点(须同时覆盖地图与背包,如 BattleGame 根)。 + * @param parent 父节点 + */ + bind(parent: Node | null): void { + this.unbind(); + if (!parent?.isValid) return; + this._parent = parent; + this._ensureLineLayer(); + } + + /** 释放节点与池资源 */ + unbind(): void { + this.clear(); + if (this._lineLayer?.isValid) { + this._lineLayer.destroy(); + } + this._lineLayer = null; + this._graphics = null; + this._parent = null; + } + + /** 当前标识的背包槽;无引导时 null */ + get slotIndex(): number | null { + return this._slotIndex; + } + + /** 立刻隐藏虚线框与连线 */ + clear(): void { + this._slotIndex = null; + this._releaseFrame(); + if (this._graphics?.isValid) this._graphics.clear(); + if (this._lineLayer?.isValid) this._lineLayer.active = false; + } + + /** + * 按背包与当前解锁条件刷新引导。 + * 原槽仍可解锁时保持不变,避免频繁乱跳。 + */ + refresh(opts: AreaUnlockGuideRefresh): void { + if (opts.skip || !this._parent?.isValid) { + this.clear(); + return; + } + const camp = Math.floor(Number(opts.campAreaId) || AI_VIEW_LOCAL_CAMP); + const tip = opts.map.areaUnlock.tipOf(camp); + if (!tip?.isValid) { + this.clear(); + return; + } + const current = opts.map.areaUnlock.currentId(camp); + if (current <= 0) { + this.clear(); + return; + } + const unlockGrids = opts.map.areaUnlock.gridsOf(current, camp); + if (unlockGrids.length <= 0) { + this.clear(); + return; + } + const probeIndex = unlockGrids[0].Index; + const candidates = this._collectCandidates(opts, probeIndex); + if (candidates.length <= 0) { + this.clear(); + return; + } + let slot = this._slotIndex; + if (slot == null || !this._listHas(candidates, slot)) { + slot = candidates[Math.floor(Math.random() * candidates.length)]; + } + const grid = opts.slotGridAt(slot); + if (!grid?.node?.isValid) { + this.clear(); + return; + } + if (!this._attachFrame(grid.node)) { + this.clear(); + return; + } + this._slotIndex = slot; + this._drawLine(grid.node, tip); + } + + /** + * 收集可解锁当前区域的背包槽。 + * @param opts 刷新入参 + * @param probeIndex 探测用地图格 + */ + private _collectCandidates(opts: AreaUnlockGuideRefresh, probeIndex: number): number[] { + const out: number[] = []; + WeaponComposeConfigProvider.instance.load(); + const provider = WeaponComposeConfigProvider.instance; + const slots = opts.bagSession.getBagSlots(); + for (let i = 0; i < slots.length; i++) { + const slot = slots[i]; + if (!slot) continue; + if (!opts.canDragSlot(i)) continue; + const t = Number(provider.getWeapon2Type(slot.weapon2Id)); + if (!isElementGlyphType(t)) continue; + if (!opts.slotGridAt(i)?.node?.isValid) continue; + if (!opts.bagSession.canUnlockArea(probeIndex, slot.weapon2Id, slot.level)) continue; + out.push(i); + } + return out; + } + + /** + * @param list 候选槽 + * @param slot 槽下标 + */ + private _listHas(list: readonly number[], slot: number): boolean { + for (let i = 0; i < list.length; i++) { + if (list[i] === slot) return true; + } + return false; + } + + /** + * 把虚线框挂到背包字块上并循环播放。 + * @param host 字块节点 + */ + private _attachFrame(host: Node): boolean { + if (!this._frame?.isValid) { + if (typeof gg === 'undefined' || !gg.res?.getNode) { + console.warn('[AreaUnlockGuide] gg.res 未就绪,无法加载引导虚线框'); + return false; + } + const node = gg.res.getNode(FRAME_PATH, FRAME_NAME, GBundle.BattleMap); + if (!node?.isValid) { + console.warn('[AreaUnlockGuide] 缺少引导虚线框预制体', FRAME_NAME); + return false; + } + this._frame = node; + } + const frame = this._frame; + if (!frame.isValid) return false; + frame.layer = host.layer; + if (frame.parent !== host) { + frame.parent = host; + frame.setPosition(0, 0, 0); + frame.setScale(1, 1, 1); + } + frame.setSiblingIndex(host.children.length - 1); + this._applyFrameSorting(frame); + frame.active = true; + const sk = frame.getComponent(sp.Skeleton) ?? frame.getComponentInChildren(sp.Skeleton); + if (sk?.isValid) { + sk.node.layer = host.layer; + BattleSpinePlayback.play(sk, FRAME_ANIM, { loop: true, optional: true }); + } + return true; + } + + /** + * 虚线框加 Sorting2D,避免被 textGrid 字形盖住。 + * @param frame 引导虚线框 + */ + private _applyFrameSorting(frame: Node): void { + let rootSort = frame.getComponent(Sorting2D); + if (!rootSort) rootSort = frame.addComponent(Sorting2D); + rootSort.sortingLayer = FRAME_SORT_LAYER; + rootSort.sortingOrder = FRAME_SORT_ORDER; + const skels = frame.getComponentsInChildren(sp.Skeleton); + for (let i = 0; i < skels.length; i++) { + const n = skels[i]?.node; + if (!n?.isValid) continue; + let sort = n.getComponent(Sorting2D); + if (!sort) sort = n.addComponent(Sorting2D); + sort.sortingLayer = FRAME_SORT_LAYER; + sort.sortingOrder = FRAME_SORT_ORDER; + } + } + + /** 归还虚线框 */ + private _releaseFrame(): void { + const frame = this._frame; + this._frame = null; + if (!frame || !isValid(frame)) return; + const sk = frame.getComponent(sp.Skeleton) ?? frame.getComponentInChildren(sp.Skeleton); + if (sk?.isValid) { + BattleSpinePlayback.clearPendingComplete(sk); + BattleSpinePlayback.resetTracks(sk); + } + if (frame['resKey']) gg.res.putNode(frame); + else frame.destroy(); + } + + /** 确保 Graphics 连线层 */ + private _ensureLineLayer(): void { + const parent = this._parent; + if (!parent?.isValid) return; + let layer = parent.getChildByName(LINE_LAYER); + if (!layer) { + layer = new Node(LINE_LAYER); + layer.layer = parent.layer; + layer.parent = parent; + layer.setPosition(0, 0, 0); + const ut = layer.addComponent(UITransform); + const parentUt = parent.getComponent(UITransform); + if (parentUt) ut.setContentSize(parentUt.contentSize); + else ut.setContentSize(2000, 2000); + ut.setAnchorPoint(0.5, 0.5); + layer.addComponent(Graphics); + } + this._lineLayer = layer; + this._graphics = layer.getComponent(Graphics); + layer.active = false; + } + + /** + * 从背包字顶边中点连到气泡底边中点。 + * @param bagNode 背包字块 + * @param tip 格子锁气泡 + */ + private _drawLine(bagNode: Node, tip: Node): void { + const layer = this._lineLayer; + const g = this._graphics; + if (!layer?.isValid || !g?.isValid) return; + const layerUt = layer.getComponent(UITransform); + if (!layerUt) return; + + const bagUt = bagNode.getComponent(UITransform); + const tipUt = tip.getComponent(UITransform); + const bagHalfH = bagUt ? bagUt.contentSize.height * 0.5 * Math.abs(bagNode.worldScale.y) : 30; + const tipHalfH = tipUt ? tipUt.contentSize.height * 0.5 * Math.abs(tip.worldScale.y) : 20; + + _bagWorld.set(bagNode.worldPosition.x, bagNode.worldPosition.y + bagHalfH + BAG_TOP_PAD, bagNode.worldPosition.z); + _tipWorld.set(tip.worldPosition.x, tip.worldPosition.y - tipHalfH - TIP_BOTTOM_PAD, tip.worldPosition.z); + layerUt.convertToNodeSpaceAR(_bagWorld, _fromLocal); + layerUt.convertToNodeSpaceAR(_tipWorld, _toLocal); + + g.clear(); + this._fillZebraDash(g, _fromLocal.x, _fromLocal.y, _toLocal.x, _toLocal.y); + layer.active = true; + layer.setSiblingIndex(layer.parent!.children.length - 1); + } + + /** + * 黑白段交替实心绳:每段先画反色描边再画本色,深色/浅色底上都清晰。 + * @param g Graphics + * @param x1 起点 x + * @param y1 起点 y + * @param x2 终点 x + * @param y2 终点 y + */ + private _fillZebraDash(g: Graphics, x1: number, y1: number, x2: number, y2: number): void { + const dx = x2 - x1; + const dy = y2 - y1; + const len = Math.sqrt(dx * dx + dy * dy); + if (len < 1) return; + const ux = dx / len; + const uy = dy / len; + let d = 0; + let useBlack = true; + while (d < len) { + const d1 = Math.min(d + DASH_LEN, len); + const fill = useBlack ? DASH_BLACK : DASH_WHITE; + const outline = useBlack ? DASH_WHITE : DASH_BLACK; + this._fillDashSeg(g, x1, y1, ux, uy, d, d1, DASH_HALF_W + DASH_OUTLINE_EXTRA, outline); + this._fillDashSeg(g, x1, y1, ux, uy, d, d1, DASH_HALF_W, fill); + d = d1; + useBlack = !useBlack; + } + } + + /** + * 沿路径画一段实心矩形(比 stroke 短段更稳、更粗)。 + * @param g Graphics + * @param x1 路径起点 x + * @param y1 路径起点 y + * @param ux 单位方向 x + * @param uy 单位方向 y + * @param d0 段起点路程 + * @param d1 段终点路程 + * @param halfW 半宽 + * @param color 填充色 + */ + private _fillDashSeg(g: Graphics, x1: number, y1: number, ux: number, uy: number, d0: number, d1: number, halfW: number, color: Color): void { + const ax = x1 + ux * d0; + const ay = y1 + uy * d0; + const bx = x1 + ux * d1; + const by = y1 + uy * d1; + const px = -uy * halfW; + const py = ux * halfW; + g.fillColor = color; + g.moveTo(ax + px, ay + py); + g.lineTo(bx + px, by + py); + g.lineTo(bx - px, by - py); + g.lineTo(ax - px, ay - py); + g.close(); + g.fill(); + } +} diff --git a/assets/script/battle/view/AreaUnlockGuidePresenter.ts.meta b/assets/script/battle/view/AreaUnlockGuidePresenter.ts.meta new file mode 100644 index 0000000..465bd4d --- /dev/null +++ b/assets/script/battle/view/AreaUnlockGuidePresenter.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "a7c3e91b-2d4f-4a8e-9b1c-6f0e8d5a3c27", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/battle/view/CocosBagBoardView.ts b/assets/script/battle/view/CocosBagBoardView.ts index 397e312..444eb33 100644 --- a/assets/script/battle/view/CocosBagBoardView.ts +++ b/assets/script/battle/view/CocosBagBoardView.ts @@ -87,10 +87,12 @@ import { isEnemyMonsterWalkGrid, } from '../map/MapPathQueries'; import { MapDragGuideHelper, type DragPlacementHint } from './MapDragGuideHelper'; +import { AreaUnlockGuidePresenter } from './AreaUnlockGuidePresenter'; import { LevelUpTextFloater } from './GridUpgradeSpineEffect'; import { BattleAudio } from '../audio/BattleAudio'; import { BagTextDragDebugLog } from '../debug/BagTextDragDebugLog'; import { AiBattleBridge } from '../ai/bridge/AiBattleBridge'; +import { AI_VIEW_LOCAL_CAMP } from '../ai/runtime/AiCampArea'; import { HeadIconManager } from '../../manager/HeadIconManager'; import 'db://assets/mx/extension/NodeDragExt'; @@ -173,6 +175,8 @@ export class CocosBagBoardView { private _prepType3DraggingIndex: number | null = null; private _linePresenter = new DragPlaceLinePresenter(); private _rangePresenter = new AttackRangePreviewPresenter(); + /** 背包可解锁地图区域时的连线 / 虚线框引导 */ + private _unlockGuide = new AreaUnlockGuidePresenter(); private _activeDrag: { grid: TextGrid; source: DragSource; @@ -1274,6 +1278,7 @@ export class CocosBagBoardView { this._pathFlow = pathFlow ?? null; this._linePresenter.bind(this._lineNode); this._rangePresenter.bind(rangeNode ?? null, mapRoot?.parent ?? null); + this._unlockGuide.bind(this._lineNode?.parent ?? mapRoot?.parent ?? null); // 槽位下标与格子下标(gridN → N)一致,槽数按最大格子下标 + 1 分配(slot0 对应不到格子,保持空) let maxLandIndex = 0; @@ -1437,6 +1442,7 @@ export class CocosBagBoardView { } catch (e) { console.log('[CocosBagBoardView] _clearDragGuide failed', String(e)); } + this._unlockGuide.unbind(); this._linePresenter.unbind(); this._rangePresenter.unbind(); this._pathFlow?.endDrag(); @@ -3204,6 +3210,9 @@ export class CocosBagBoardView { this._rebuildFromSession(); return; } + if (this._unlockGuide.slotIndex === source.slotIndex) { + this._unlockGuide.clear(); + } } else if (source.kind === 'map') { const mapIndex = this._resolveMapGridIndexForTextGrid(grid); if (mapIndex == null) { @@ -4604,6 +4613,7 @@ if (weapon2Id === GRID_WEAPON2_ID) return true; fromWorld?: Readonly | null, ): void { if (!this._bagSession || !this._bagList) return; + this._unlockGuide.clear(); this._invalidatePlaceFlights(); this._clearTextSelect(); this._bagEntrancePlaying = playBagEntrance; @@ -4794,6 +4804,7 @@ if (weapon2Id === GRID_WEAPON2_ID) return true; fromWorld?: Readonly | null, ): void { if (!this._bagSession || !this._map) return; + this._unlockGuide.clear(); // 先作废飞行中的 drop 回调,再改盘面;否则 onAnimDone 会对新背包再 drop → 空槽 this._invalidatePlaceFlights(); if (this._deploySync && this._map.gridsInitialized) { @@ -5121,6 +5132,7 @@ if (weapon2Id === GRID_WEAPON2_ID) return true; return; } this._clearAllCanUpgradeHints(); + this._refreshAreaUnlockGuide(); if (!this._bagSession) return; WeaponComposeConfigProvider.instance.load(); @@ -5195,6 +5207,22 @@ if (weapon2Id === GRID_WEAPON2_ID) return true; for (const g of this._mapGrids.values()) g.setSleepFx(false); } + /** 背包有可解锁当前地图区域的字时,显示虚线框与连线 */ + private _refreshAreaUnlockGuide(): void { + if (!this._bagSession || !this._map) { + this._unlockGuide.clear(); + return; + } + this._unlockGuide.refresh({ + bagSession: this._bagSession, + map: this._map, + campAreaId: AI_VIEW_LOCAL_CAMP, + slotGridAt: (slotIndex) => this._slotGrids.get(slotIndex) ?? null, + canDragSlot: (slotIndex) => this._land.stateOf(slotIndex) === TextListCellState.Open, + skip: this._activeDrag != null || this._bagEntrancePlaying || !this._canDrag(), + }); + } + private _playBagUpgradeEffect(slotIndex: number): void { BattleAudio.playUpgrade(); this._playLevelUpTextForBag(slotIndex); diff --git a/assets/script/game/ConfigRes.ts b/assets/script/game/ConfigRes.ts index d803c64..498cfd5 100644 --- a/assets/script/game/ConfigRes.ts +++ b/assets/script/game/ConfigRes.ts @@ -162,6 +162,8 @@ export class GPath { static ShopSkillTitle(name: string | number) { return "shopSkillTitle/" + name; } /**通用仙桃图标(icons/img/仙桃) */ static CommPeach() { return "img/仙桃"; } + /** 五行属性图标(icons/img/金|木|水|火|土) */ + static ElementAttr(name: string) { return "img/" + name; } /**障碍物 */ static ObstacleItem(name: string | number) { return "texture/摆放路障/" + name; } /**障碍物预制体 */ diff --git a/assets/script/game/ResPkgBuilder.ts b/assets/script/game/ResPkgBuilder.ts index 0dd1283..de32a25 100644 --- a/assets/script/game/ResPkgBuilder.ts +++ b/assets/script/game/ResPkgBuilder.ts @@ -43,6 +43,8 @@ export class ResPkgBuilder { { name: mapPrefabName, bundle: B.BattleMap, path: 'prefab/地图/', type: Prefab }, { name: '出怪口', bundle: B.BattleMap, path: 'prefab/障碍物/', type: Prefab }, { name: 'levelUpText', bundle: B.BattleMap, path: 'prefab/障碍物/', type: Prefab }, + /** 背包可解锁地图区域时的虚线高亮框 */ + { name: '引导虚线框', bundle: B.BattleMap, path: 'prefab/障碍物/', type: Prefab }, { name: 'monsterTemplate', bundle: B.BattleGameMonster, path: PrefabPath, type: Prefab }, { name: 'textGrid', bundle: B.BattleGame, path: PrefabPath, type: Prefab }, /** 地图区域解锁条件气泡 */