diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 576cf5d..fa0f410 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -1310,8 +1310,16 @@ export default class MapConroler extends cc.Component { for (let j = 0; j < cc.fx.GameConfig.WALL_INFO[0].length; j++) { for (let k = 0; k < this.wallArray.length; k++) { if (this.wallArray[k].getChildByName("wall").getComponent("Wall").num == cc.fx.GameConfig.WALL_INFO[0][j].num - && (this.wallArray[k].getChildByName("wall").getComponent("Wall").special < 2 || this.wallArray[k].getChildByName("wall").getComponent("Wall").special > 5)) { - wallTemp.push(this.wallArray[k]); + && (this.wallArray[k].getChildByName("wall").getComponent("Wall").special != 2 && this.wallArray[k].getChildByName("wall").getComponent("Wall").special != 4 + && this.wallArray[k].getChildByName("wall").getComponent("Wall").special != 5)) { + if (this.wallArray[k].getChildByName("wall").getComponent("Wall").wall_Info.longAndShort != undefined || + this.wallArray[k].getChildByName("wall").getComponent("Wall").wall_Info.colorArray != undefined) { + console.log("跳过长短门或者变色门"); + } + else { + wallTemp.push(this.wallArray[k]); + } + } } } @@ -1328,6 +1336,7 @@ export default class MapConroler extends cc.Component { // 移动到下一组的位置 i += length; } + //顺时针跳跃 if (this.jump_state == true) { } //如果是逆时针 @@ -1353,7 +1362,7 @@ export default class MapConroler extends cc.Component { } } - // console.log("排序后的WALL_INFO数组:", this.revolvingWallArray); + // console.log("排序后的WALL_INFO数组:", this.jumpWallArray); } //创建旋转门设置功能 @@ -1839,6 +1848,24 @@ export default class MapConroler extends cc.Component { } + changeJumpWall() { + //没有跳跃门,直接不处理 + if (this.jump_state == 0) { + return; + } + // console.log("跳跃一次"); + //有跳跃门,根据跳跃门数组,改变跳跃门状态,受跳跃方向影响 + for (let i = 0; i < this.jumpWallArray.length; i++) { + let wall = this.jumpWallArray[i]; + if (wall[0].getChildByName("wall").getComponent("Wall").special == 2) { + wall[0].getChildByName("wall").getComponent("Wall").special = 3; + } + else { + wall[0].getChildByName("wall").getComponent("Wall").special = 2; + } + } + } + changeRevolvingWall() { //没有旋转门,直接不处理 if (this.revolving_state == 0) { @@ -2276,6 +2303,7 @@ export default class MapConroler extends cc.Component { console.log("特殊处理——————————————", type); if (type == true) { this.changeRevolvingWall(); + this.changeJumpWall(); this.changeLongAndShortWall(); } } diff --git a/assets/Script/Wall.ts b/assets/Script/Wall.ts index 30a5b53..905a6a0 100644 --- a/assets/Script/Wall.ts +++ b/assets/Script/Wall.ts @@ -123,6 +123,7 @@ export default class Wall extends cc.Component { teamDoors: any; openNode: cc.Node; revolvingNode: cc.Node; + jumpNode: cc.Node; freezeNode: cc.Node; open: boolean; freezeNumber: number; @@ -196,10 +197,19 @@ export default class Wall extends cc.Component { else { this.special = this.wall_Info.special; } + this.num = this.wall_Info.num; this.length = this.wall_Info.length; + //旋转门 let name2 = "rotate" + this.wall_Info.length; this.revolvingNode = this.node.parent.getChildByName("revolving").getChildByName(name2); + + //跳跃门 + this.jumpNode = this.node.parent.getChildByName("jump"); + if (this.wall_Info.jump != undefined) { + this.jumpNode.active = true; + } + if (this.wall_Info.colorArray) { this.colorArray = this.wall_Info.colorArray.split('').map(char => parseInt(char) + 1); this.colorStartArray = this.wall_Info.colorArray.split('').map(char => parseInt(char) + 1); diff --git a/assets/TextureBlock/block/door.plist b/assets/TextureBlock/block/door.plist index 084a7b1..500433b 100644 --- a/assets/TextureBlock/block/door.plist +++ b/assets/TextureBlock/block/door.plist @@ -7,7 +7,7 @@ 10color1.png frame - {{707,1141},{138,69}} + {{291,1272},{138,69}} offset {0,0} rotated @@ -20,11 +20,11 @@ 10color2.png frame - {{637,876},{258,69}} + {{720,909},{258,69}} offset {0,0} rotated - + sourceColorRect {{0,0},{258,69}} sourceSize @@ -46,7 +46,7 @@ 10color4.png frame - {{341,1134},{61,146}} + {{2,1112},{61,146}} offset {0,0} rotated @@ -59,7 +59,7 @@ 10color5.png frame - {{756,814},{61,266}} + {{2,988},{61,266}} offset {0,0} rotated @@ -85,7 +85,7 @@ 1color1.png frame - {{473,1268},{138,69}} + {{2,1431},{138,69}} offset {0,0} rotated @@ -98,7 +98,7 @@ 1color2.png frame - {{2,1201},{258,69}} + {{381,996},{258,69}} offset {0,0} rotated @@ -124,7 +124,7 @@ 1color4.png frame - {{489,1071},{61,146}} + {{490,1067},{61,146}} offset {0,0} rotated @@ -163,7 +163,7 @@ 2color1.png frame - {{333,1268},{138,69}} + {{2,1360},{138,69}} offset {0,0} rotated @@ -176,7 +176,7 @@ 2color2.png frame - {{2,1130},{258,69}} + {{381,925},{258,69}} offset {0,0} rotated @@ -202,7 +202,7 @@ 2color4.png frame - {{341,1071},{61,146}} + {{342,1067},{61,146}} offset {0,0} rotated @@ -215,7 +215,7 @@ 2color5.png frame - {{756,751},{61,266}} + {{381,862},{61,266}} offset {0,0} rotated @@ -241,11 +241,11 @@ 3color1.png frame - {{2,1343},{138,69}} + {{146,1316},{138,69}} offset {0,0} rotated - + sourceColorRect {{0,0},{138,69}} sourceSize @@ -254,11 +254,11 @@ 3color2.png frame - {{2,1059},{258,69}} + {{649,876},{258,69}} offset {0,0} rotated - + sourceColorRect {{0,0},{258,69}} sourceSize @@ -280,7 +280,7 @@ 3color4.png frame - {{762,485},{61,146}} + {{868,1118},{61,146}} offset {0,0} rotated @@ -293,7 +293,7 @@ 3color5.png frame - {{381,736},{61,267}} + {{2,799},{61,267}} offset {0,0} rotated @@ -319,7 +319,7 @@ 4color1.png frame - {{142,1272},{138,69}} + {{220,1217},{138,69}} offset {0,0} rotated @@ -332,7 +332,7 @@ 4color2.png frame - {{2,988},{258,69}} + {{756,838},{258,69}} offset {0,0} rotated @@ -358,7 +358,7 @@ 4color4.png frame - {{762,422},{61,146}} + {{720,1118},{61,146}} offset {0,0} rotated @@ -371,7 +371,7 @@ 4color5.png frame - {{2,799},{61,267}} + {{381,736},{61,267}} offset {0,0} rotated @@ -397,7 +397,7 @@ 5color1.png frame - {{2,1272},{138,69}} + {{478,1201},{138,69}} offset {0,0} rotated @@ -410,11 +410,11 @@ 5color2.png frame - {{270,953},{258,69}} + {{756,767},{258,69}} offset {0,0} rotated - + sourceColorRect {{0,0},{258,69}} sourceSize @@ -475,7 +475,7 @@ 6color1.png frame - {{481,1197},{138,69}} + {{338,1201},{138,69}} offset {0,0} rotated @@ -488,7 +488,7 @@ 6color2.png frame - {{377,862},{258,69}} + {{762,635},{258,69}} offset {0,0} rotated @@ -553,7 +553,7 @@ 7color1.png frame - {{262,1213},{138,69}} + {{618,1136},{138,69}} offset {0,0} rotated @@ -566,7 +566,7 @@ 7color2.png frame - {{756,938},{258,69}} + {{762,564},{258,69}} offset {0,0} rotated @@ -631,7 +631,7 @@ 8color1.png frame - {{341,1197},{138,69}} + {{478,1130},{138,69}} offset {0,0} rotated @@ -644,7 +644,7 @@ 8color2.png frame - {{762,548},{259,69}} + {{762,422},{259,69}} offset {0,0} rotated @@ -670,7 +670,7 @@ 8color4.png frame - {{489,1134},{61,145}} + {{2,1175},{61,145}} offset {0,0} rotated @@ -709,7 +709,7 @@ 9color1.png frame - {{848,1070},{138,69}} + {{338,1130},{138,69}} offset {0,0} rotated @@ -722,7 +722,7 @@ 9color2.png frame - {{762,619},{258,69}} + {{762,493},{258,69}} offset {0,0} rotated @@ -787,7 +787,7 @@ dikuai.png frame - {{684,1281},{120,120}} + {{827,1181},{120,120}} offset {0,0} rotated @@ -800,7 +800,7 @@ downLeft.png frame - {{926,346},{74,122}} + {{271,673},{74,122}} offset {-34,-12} rotated @@ -813,11 +813,11 @@ downRight.png frame - {{806,1344},{68,120}} + {{949,1181},{68,120}} offset {33,-13} rotated - + sourceColorRect {{72,26},{68,120}} sourceSize @@ -826,7 +826,7 @@ heng1.png frame - {{845,1275},{136,67}} + {{689,1181},{136,67}} offset {-1,1} rotated @@ -839,7 +839,7 @@ heng2.png frame - {{707,1212},{136,67}} + {{291,1343},{136,67}} offset {-1,1} rotated @@ -852,7 +852,7 @@ heng3.png frame - {{341,1002},{256,67}} + {{720,1049},{256,67}} offset {-1,1} rotated @@ -865,7 +865,7 @@ heng4.png frame - {{377,933},{256,67}} + {{720,980},{256,67}} offset {-1,1} rotated @@ -878,7 +878,7 @@ jumpHeng.png frame - {{636,1136},{138,69}} + {{149,1176},{138,69}} offset {0,0} rotated @@ -901,10 +901,23 @@ sourceSize {61,146} + jump_arror.png + + frame + {{927,290},{37,95}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{37,95}} + sourceSize + {37,95} + leftDown.png frame - {{271,673},{138,72}} + {{271,797},{138,72}} offset {-1,-37} rotated @@ -917,7 +930,7 @@ leftUp.png frame - {{910,470},{62,112}} + {{150,1112},{62,112}} offset {-39,17} rotated @@ -956,7 +969,7 @@ shu1.png frame - {{852,1009},{59,142}} + {{2,1299},{59,142}} offset {-1,2} rotated @@ -969,7 +982,7 @@ shu2.png frame - {{708,1009},{59,142}} + {{2,1238},{59,142}} offset {-1,2} rotated @@ -982,7 +995,7 @@ shu3.png frame - {{756,877},{59,263}} + {{2,1051},{59,263}} offset {-1,2} rotated @@ -995,7 +1008,7 @@ shu4.png frame - {{759,690},{59,263}} + {{759,706},{59,263}} offset {-1,2} rotated @@ -1021,11 +1034,11 @@ shu_zl1_1.png frame - {{345,793},{58,34}} + {{918,385},{58,34}} offset {0,0} rotated - + sourceColorRect {{0,0},{58,34}} sourceSize @@ -1034,7 +1047,7 @@ shu_zl1_2.png frame - {{345,673},{118,34}} + {{345,911},{118,34}} offset {0,0} rotated @@ -1073,7 +1086,7 @@ shu_zl2_1.png frame - {{343,914},{32,54}} + {{722,797},{32,54}} offset {0,0} rotated @@ -1086,7 +1099,7 @@ shu_zl2_11.png frame - {{343,853},{32,59}} + {{722,736},{32,59}} offset {0,0} rotated @@ -1099,7 +1112,7 @@ shu_zl2_2.png frame - {{722,858},{32,114}} + {{347,795},{32,114}} offset {0,0} rotated @@ -1112,7 +1125,7 @@ shu_zl2_22.png frame - {{722,736},{32,120}} + {{347,673},{32,120}} offset {0,0} rotated @@ -1164,7 +1177,7 @@ turn_bg.png frame - {{927,290},{80,54}} + {{926,329},{80,54}} offset {0,0} rotated @@ -1177,7 +1190,7 @@ upLeft.png frame - {{650,736},{138,70}} + {{270,937},{138,70}} offset {-1,34} rotated @@ -1190,7 +1203,7 @@ upRight.png frame - {{271,813},{138,70}} + {{650,736},{138,70}} offset {-2,35} rotated @@ -1203,7 +1216,7 @@ wal_up.png frame - {{910,470},{62,112}} + {{150,1112},{62,112}} offset {-39,17} rotated @@ -1216,11 +1229,11 @@ wall1.png frame - {{708,1070},{138,69}} + {{267,1077},{138,69}} offset {0,0} rotated - + sourceColorRect {{0,0},{138,69}} sourceSize @@ -1242,7 +1255,7 @@ wall7.png frame - {{613,1276},{61,69}} + {{217,1357},{61,69}} offset {0,0} rotated @@ -1255,7 +1268,7 @@ wall_down.png frame - {{271,673},{138,72}} + {{271,797},{138,72}} offset {-1,-37} rotated @@ -1268,7 +1281,7 @@ zhangai.png frame - {{847,1141},{132,137}} + {{431,1272},{132,137}} offset {0,0} rotated @@ -1288,7 +1301,7 @@ size {1024,2048} smartupdate - $TexturePacker:SmartUpdate:fffbceb4fae7b43ac3c28f30ac0e304e$ + $TexturePacker:SmartUpdate:2cb67d9f04e89a2a7d5150f7bdcaf35a$ textureFileName door.png diff --git a/assets/TextureBlock/block/door.plist.meta b/assets/TextureBlock/block/door.plist.meta index 4b36a9e..b55d595 100644 --- a/assets/TextureBlock/block/door.plist.meta +++ b/assets/TextureBlock/block/door.plist.meta @@ -19,8 +19,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 707, - "trimY": 1141, + "trimX": 291, + "trimY": 1272, "width": 138, "height": 69, "rawWidth": 138, @@ -39,11 +39,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 637, - "trimY": 876, + "trimX": 720, + "trimY": 909, "width": 258, "height": 69, "rawWidth": 258, @@ -88,8 +88,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 341, - "trimY": 1134, + "trimX": 2, + "trimY": 1112, "width": 61, "height": 146, "rawWidth": 61, @@ -111,8 +111,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 756, - "trimY": 814, + "trimX": 2, + "trimY": 988, "width": 61, "height": 266, "rawWidth": 61, @@ -157,8 +157,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 473, - "trimY": 1268, + "trimX": 2, + "trimY": 1431, "width": 138, "height": 69, "rawWidth": 138, @@ -180,8 +180,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 1201, + "trimX": 381, + "trimY": 996, "width": 258, "height": 69, "rawWidth": 258, @@ -226,8 +226,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 489, - "trimY": 1071, + "trimX": 490, + "trimY": 1067, "width": 61, "height": 146, "rawWidth": 61, @@ -295,8 +295,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 333, - "trimY": 1268, + "trimX": 2, + "trimY": 1360, "width": 138, "height": 69, "rawWidth": 138, @@ -318,8 +318,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 1130, + "trimX": 381, + "trimY": 925, "width": 258, "height": 69, "rawWidth": 258, @@ -364,8 +364,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 341, - "trimY": 1071, + "trimX": 342, + "trimY": 1067, "width": 61, "height": 146, "rawWidth": 61, @@ -387,8 +387,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 756, - "trimY": 751, + "trimX": 381, + "trimY": 862, "width": 61, "height": 266, "rawWidth": 61, @@ -430,11 +430,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 1343, + "trimX": 146, + "trimY": 1316, "width": 138, "height": 69, "rawWidth": 138, @@ -453,11 +453,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 1059, + "trimX": 649, + "trimY": 876, "width": 258, "height": 69, "rawWidth": 258, @@ -502,8 +502,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 762, - "trimY": 485, + "trimX": 868, + "trimY": 1118, "width": 61, "height": 146, "rawWidth": 61, @@ -525,8 +525,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 381, - "trimY": 736, + "trimX": 2, + "trimY": 799, "width": 61, "height": 267, "rawWidth": 61, @@ -571,8 +571,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 142, - "trimY": 1272, + "trimX": 220, + "trimY": 1217, "width": 138, "height": 69, "rawWidth": 138, @@ -594,8 +594,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 988, + "trimX": 756, + "trimY": 838, "width": 258, "height": 69, "rawWidth": 258, @@ -640,8 +640,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 762, - "trimY": 422, + "trimX": 720, + "trimY": 1118, "width": 61, "height": 146, "rawWidth": 61, @@ -663,8 +663,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 799, + "trimX": 381, + "trimY": 736, "width": 61, "height": 267, "rawWidth": 61, @@ -709,8 +709,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 2, - "trimY": 1272, + "trimX": 478, + "trimY": 1201, "width": 138, "height": 69, "rawWidth": 138, @@ -729,11 +729,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 270, - "trimY": 953, + "trimX": 756, + "trimY": 767, "width": 258, "height": 69, "rawWidth": 258, @@ -847,8 +847,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 481, - "trimY": 1197, + "trimX": 338, + "trimY": 1201, "width": 138, "height": 69, "rawWidth": 138, @@ -870,8 +870,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 377, - "trimY": 862, + "trimX": 762, + "trimY": 635, "width": 258, "height": 69, "rawWidth": 258, @@ -985,8 +985,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 262, - "trimY": 1213, + "trimX": 618, + "trimY": 1136, "width": 138, "height": 69, "rawWidth": 138, @@ -1008,8 +1008,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 756, - "trimY": 938, + "trimX": 762, + "trimY": 564, "width": 258, "height": 69, "rawWidth": 258, @@ -1123,8 +1123,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 341, - "trimY": 1197, + "trimX": 478, + "trimY": 1130, "width": 138, "height": 69, "rawWidth": 138, @@ -1147,7 +1147,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 762, - "trimY": 548, + "trimY": 422, "width": 259, "height": 69, "rawWidth": 259, @@ -1192,8 +1192,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 489, - "trimY": 1134, + "trimX": 2, + "trimY": 1175, "width": 61, "height": 145, "rawWidth": 61, @@ -1261,8 +1261,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 848, - "trimY": 1070, + "trimX": 338, + "trimY": 1130, "width": 138, "height": 69, "rawWidth": 138, @@ -1285,7 +1285,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 762, - "trimY": 619, + "trimY": 493, "width": 258, "height": 69, "rawWidth": 258, @@ -1399,8 +1399,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 684, - "trimY": 1281, + "trimX": 827, + "trimY": 1181, "width": 120, "height": 120, "rawWidth": 120, @@ -1422,8 +1422,8 @@ "rotated": false, "offsetX": -34, "offsetY": -12, - "trimX": 926, - "trimY": 346, + "trimX": 271, + "trimY": 673, "width": 74, "height": 122, "rawWidth": 146, @@ -1442,11 +1442,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 33, "offsetY": -13, - "trimX": 806, - "trimY": 1344, + "trimX": 949, + "trimY": 1181, "width": 68, "height": 120, "rawWidth": 146, @@ -1468,8 +1468,8 @@ "rotated": false, "offsetX": -1, "offsetY": 1, - "trimX": 845, - "trimY": 1275, + "trimX": 689, + "trimY": 1181, "width": 136, "height": 67, "rawWidth": 138, @@ -1491,8 +1491,8 @@ "rotated": false, "offsetX": -1, "offsetY": 1, - "trimX": 707, - "trimY": 1212, + "trimX": 291, + "trimY": 1343, "width": 136, "height": 67, "rawWidth": 138, @@ -1514,8 +1514,8 @@ "rotated": false, "offsetX": -1, "offsetY": 1, - "trimX": 341, - "trimY": 1002, + "trimX": 720, + "trimY": 1049, "width": 256, "height": 67, "rawWidth": 258, @@ -1537,8 +1537,8 @@ "rotated": false, "offsetX": -1, "offsetY": 1, - "trimX": 377, - "trimY": 933, + "trimX": 720, + "trimY": 980, "width": 256, "height": 67, "rawWidth": 258, @@ -1560,8 +1560,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 636, - "trimY": 1136, + "trimX": 149, + "trimY": 1176, "width": 138, "height": 69, "rawWidth": 138, @@ -1596,6 +1596,29 @@ "spriteType": "normal", "subMetas": {} }, + "jump_arror.png": { + "ver": "1.0.6", + "uuid": "d5aed327-9af9-4f3e-9928-287ed852d2cb", + "importer": "sprite-frame", + "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 927, + "trimY": 290, + "width": 37, + "height": 95, + "rawWidth": 37, + "rawHeight": 95, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "spriteType": "normal", + "subMetas": {} + }, "leftDown.png": { "ver": "1.0.6", "uuid": "66cdd4ba-4c1c-4221-b6c3-7e4b6f3d3000", @@ -1607,7 +1630,7 @@ "offsetX": -1, "offsetY": -37, "trimX": 271, - "trimY": 673, + "trimY": 797, "width": 138, "height": 72, "rawWidth": 146, @@ -1629,8 +1652,8 @@ "rotated": true, "offsetX": -39, "offsetY": 17, - "trimX": 910, - "trimY": 470, + "trimX": 150, + "trimY": 1112, "width": 62, "height": 112, "rawWidth": 146, @@ -1698,8 +1721,8 @@ "rotated": true, "offsetX": -1, "offsetY": 2, - "trimX": 852, - "trimY": 1009, + "trimX": 2, + "trimY": 1299, "width": 59, "height": 142, "rawWidth": 61, @@ -1721,8 +1744,8 @@ "rotated": true, "offsetX": -1, "offsetY": 2, - "trimX": 708, - "trimY": 1009, + "trimX": 2, + "trimY": 1238, "width": 59, "height": 142, "rawWidth": 61, @@ -1744,8 +1767,8 @@ "rotated": true, "offsetX": -1, "offsetY": 2, - "trimX": 756, - "trimY": 877, + "trimX": 2, + "trimY": 1051, "width": 59, "height": 263, "rawWidth": 61, @@ -1768,7 +1791,7 @@ "offsetX": -1, "offsetY": 2, "trimX": 759, - "trimY": 690, + "trimY": 706, "width": 59, "height": 263, "rawWidth": 61, @@ -1810,11 +1833,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 345, - "trimY": 793, + "trimX": 918, + "trimY": 385, "width": 58, "height": 34, "rawWidth": 58, @@ -1837,7 +1860,7 @@ "offsetX": 0, "offsetY": 0, "trimX": 345, - "trimY": 673, + "trimY": 911, "width": 118, "height": 34, "rawWidth": 118, @@ -1905,8 +1928,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 343, - "trimY": 914, + "trimX": 722, + "trimY": 797, "width": 32, "height": 54, "rawWidth": 32, @@ -1928,8 +1951,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 343, - "trimY": 853, + "trimX": 722, + "trimY": 736, "width": 32, "height": 59, "rawWidth": 32, @@ -1951,8 +1974,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 722, - "trimY": 858, + "trimX": 347, + "trimY": 795, "width": 32, "height": 114, "rawWidth": 32, @@ -1974,8 +1997,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 722, - "trimY": 736, + "trimX": 347, + "trimY": 673, "width": 32, "height": 120, "rawWidth": 32, @@ -2066,8 +2089,8 @@ "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 927, - "trimY": 290, + "trimX": 926, + "trimY": 329, "width": 80, "height": 54, "rawWidth": 80, @@ -2089,8 +2112,8 @@ "rotated": true, "offsetX": -1, "offsetY": 34, - "trimX": 650, - "trimY": 736, + "trimX": 270, + "trimY": 937, "width": 138, "height": 70, "rawWidth": 146, @@ -2112,8 +2135,8 @@ "rotated": true, "offsetX": -2, "offsetY": 35, - "trimX": 271, - "trimY": 813, + "trimX": 650, + "trimY": 736, "width": 138, "height": 70, "rawWidth": 146, @@ -2135,8 +2158,8 @@ "rotated": true, "offsetX": -39, "offsetY": 17, - "trimX": 910, - "trimY": 470, + "trimX": 150, + "trimY": 1112, "width": 62, "height": 112, "rawWidth": 146, @@ -2155,11 +2178,11 @@ "rawTextureUuid": "d01519e3-ffe3-4b8f-980b-50811cc6eb58", "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 708, - "trimY": 1070, + "trimX": 267, + "trimY": 1077, "width": 138, "height": 69, "rawWidth": 138, @@ -2204,8 +2227,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 613, - "trimY": 1276, + "trimX": 217, + "trimY": 1357, "width": 61, "height": 69, "rawWidth": 61, @@ -2228,7 +2251,7 @@ "offsetX": -1, "offsetY": -37, "trimX": 271, - "trimY": 673, + "trimY": 797, "width": 138, "height": 72, "rawWidth": 146, @@ -2250,8 +2273,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 847, - "trimY": 1141, + "trimX": 431, + "trimY": 1272, "width": 132, "height": 137, "rawWidth": 132, diff --git a/assets/TextureBlock/block/door.png b/assets/TextureBlock/block/door.png index a321670..6c8ee73 100644 Binary files a/assets/TextureBlock/block/door.png and b/assets/TextureBlock/block/door.png differ diff --git a/assets/TextureBlock/block/jumpHeng.png b/assets/TextureBlock/block/jumpHeng.png deleted file mode 100644 index 873be70..0000000 Binary files a/assets/TextureBlock/block/jumpHeng.png and /dev/null differ diff --git a/assets/TextureBlock/block/jumpHeng.png.meta b/assets/TextureBlock/block/jumpHeng.png.meta deleted file mode 100644 index 5d41451..0000000 --- a/assets/TextureBlock/block/jumpHeng.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "5a69fa64-a89a-497c-a2be-5d7de287b512", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 138, - "height": 69, - "platformSettings": {}, - "subMetas": { - "jumpHeng": { - "ver": "1.0.6", - "uuid": "3acde7eb-0288-4e75-9198-3afd00de702a", - "importer": "sprite-frame", - "rawTextureUuid": "5a69fa64-a89a-497c-a2be-5d7de287b512", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 138, - "height": 69, - "rawWidth": 138, - "rawHeight": 69, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/TextureBlock/block/jumpShu.png b/assets/TextureBlock/block/jumpShu.png deleted file mode 100644 index 7085a60..0000000 Binary files a/assets/TextureBlock/block/jumpShu.png and /dev/null differ diff --git a/assets/TextureBlock/block/jumpShu.png.meta b/assets/TextureBlock/block/jumpShu.png.meta deleted file mode 100644 index c7c34cd..0000000 --- a/assets/TextureBlock/block/jumpShu.png.meta +++ /dev/null @@ -1,38 +0,0 @@ -{ - "ver": "2.3.7", - "uuid": "a2887ad8-16c2-4910-b0e8-6bc29ed627e2", - "importer": "texture", - "type": "sprite", - "wrapMode": "clamp", - "filterMode": "bilinear", - "premultiplyAlpha": false, - "genMipmaps": false, - "packable": true, - "width": 61, - "height": 146, - "platformSettings": {}, - "subMetas": { - "jumpShu": { - "ver": "1.0.6", - "uuid": "72068613-d17d-44d0-b4da-6a94bd629bed", - "importer": "sprite-frame", - "rawTextureUuid": "a2887ad8-16c2-4910-b0e8-6bc29ed627e2", - "trimType": "auto", - "trimThreshold": 1, - "rotated": false, - "offsetX": 0, - "offsetY": 0, - "trimX": 0, - "trimY": 0, - "width": 61, - "height": 146, - "rawWidth": 61, - "rawHeight": 146, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, - "subMetas": {} - } - } -} \ No newline at end of file diff --git a/assets/custom/Json/level1051.json b/assets/custom/Json/level1051.json index 7c247f0..78d0177 100644 --- a/assets/custom/Json/level1051.json +++ b/assets/custom/Json/level1051.json @@ -43,8 +43,6 @@ "num": 10, "color": 10, "special": 0, - "jump": true, - "jumpDirection": true, "length": 2 }, { @@ -52,6 +50,8 @@ "num": 12, "color": 10, "special": 0, + "jump": true, + "jumpDirection": true, "length": 0 }, { diff --git a/assets/prefab/map/jump.prefab b/assets/prefab/map/jump.prefab index f5e064a..9a350ef 100644 --- a/assets/prefab/map/jump.prefab +++ b/assets/prefab/map/jump.prefab @@ -25,186 +25,9 @@ } ], "_active": true, - "_components": [ - { - "__id__": 8 - } - ], + "_components": [], "_prefab": { - "__id__": 9 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 79, - "height": 53 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 180, - -33, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "arror", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 3 - } - ], - "_prefab": { - "__id__": 4 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 255, - "b": 167, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 36, - "height": 24 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_trs": { - "__type__": "TypedArray", - "ctor": "Float64Array", - "array": [ - 0, - 0, - 0, - 0, - 0, - 0, - 1, - -1, - 1, - 1 - ] - }, - "_eulerAngles": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_skewX": 0, - "_skewY": 0, - "_is3DNode": false, - "_groupIndex": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 2 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "fdcd9e80-10cf-423a-911b-91b66f05791a" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": { - "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" - }, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "abl+L48MxEJ6gjdOC/lCrz", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 6 - } - ], - "_prefab": { - "__id__": 7 + "__id__": 8 }, "_opacity": 255, "_color": { @@ -229,7 +52,71 @@ "ctor": "Float64Array", "array": [ 0, - -6.265, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "icon", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": { + "__id__": 4 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, 0, 0, 0, @@ -258,7 +145,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 5 + "__id__": 2 }, "_enabled": true, "_materials": [ @@ -298,12 +185,76 @@ "fileId": "a3kkTbautPNZFSW42UJLRv", "sync": false }, + { + "__type__": "cc.Node", + "_name": "arror", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": { + "__id__": 7 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 14.559, + 0, + 0, + 0, + -0.7071067811865475, + 0.7071067811865476, + -1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 1 + "__id__": 5 }, "_enabled": true, "_materials": [ @@ -314,10 +265,10 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "fb792d6a-0401-4ff6-8a50-c7934b38fecb" + "__uuid__": "d5aed327-9af9-4f3e-9928-287ed852d2cb" }, - "_type": 1, - "_sizeMode": 0, + "_type": 0, + "_sizeMode": 1, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -332,6 +283,17 @@ }, "_id": "" }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "abl+L48MxEJ6gjdOC/lCrz", + "sync": false + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/prefab/wall/down.prefab b/assets/resources/prefab/wall/down.prefab index f3fcbd4..0108b82 100644 --- a/assets/resources/prefab/wall/down.prefab +++ b/assets/resources/prefab/wall/down.prefab @@ -40,12 +40,15 @@ }, { "__id__": 139 + }, + { + "__id__": 145 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 142 + "__id__": 148 }, "_opacity": 255, "_color": { @@ -4674,7 +4677,7 @@ "__uuid__": "fb792d6a-0401-4ff6-8a50-c7934b38fecb" }, "_type": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -5155,6 +5158,228 @@ "fileId": "0dE0P0/9FCQ6EtKeyVhCMh", "sync": false }, + { + "__type__": "cc.Node", + "_name": "jump", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 140 + } + ], + "_active": false, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 144 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -1.878, + -39.089, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "arror", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 142 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -4.39, + 14.424, + 0, + 0, + 0, + -0.7071067811865475, + 0.7071067811865476, + -1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": -90 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 140 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d5aed327-9af9-4f3e-9928-287ed852d2cb" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ffs1uVWUlPxaGizZP7TjYP", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 139 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3702b92b-6a57-493c-8a8a-f1b8fcbacb5e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "caNx2aqR9P471+h2bylgIu", + "sync": false + }, { "__type__": "cc.Node", "_name": "length", @@ -5166,11 +5391,11 @@ "_active": false, "_components": [ { - "__id__": 140 + "__id__": 146 } ], "_prefab": { - "__id__": 141 + "__id__": 147 }, "_opacity": 10, "_color": { @@ -5224,7 +5449,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 139 + "__id__": 145 }, "_enabled": true, "_materials": [ diff --git a/assets/resources/prefab/wall/left.prefab b/assets/resources/prefab/wall/left.prefab index bbe9321..2a01c1e 100644 --- a/assets/resources/prefab/wall/left.prefab +++ b/assets/resources/prefab/wall/left.prefab @@ -40,12 +40,15 @@ }, { "__id__": 139 + }, + { + "__id__": 145 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 142 + "__id__": 148 }, "_opacity": 255, "_color": { @@ -4507,8 +4510,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 79, - "height": 53 + "width": 80, + "height": 54 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5153,6 +5156,228 @@ "fileId": "aeCCFODu1H16nXIA3d5Vpb", "sync": false }, + { + "__type__": "cc.Node", + "_name": "jump", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 140 + } + ], + "_active": false, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 144 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 61, + "height": 146 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -39.314, + -0.871, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "arror", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 142 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -5.328000000000003, + 14.992, + 0, + 0, + 0, + 1, + 6.123233995736766e-17, + -1, + 1, + -1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 180 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 140 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d5aed327-9af9-4f3e-9928-287ed852d2cb" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "29C2IzGHtP5pzN3HinmTIP", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 139 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "af314d12-e3f7-47d3-80b6-1fef0010e4c2" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a9+apD8XBJ0KKD1/gJzBZ1", + "sync": false + }, { "__type__": "cc.Node", "_name": "length", @@ -5164,11 +5389,11 @@ "_active": false, "_components": [ { - "__id__": 140 + "__id__": 146 } ], "_prefab": { - "__id__": 141 + "__id__": 147 }, "_opacity": 10, "_color": { @@ -5222,7 +5447,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 139 + "__id__": 145 }, "_enabled": true, "_materials": [ @@ -5254,7 +5479,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 139 + "__id__": 145 }, "asset": { "__uuid__": "1c619601-a6ae-4c45-be2c-20b0d95e950f" diff --git a/assets/resources/prefab/wall/right.prefab b/assets/resources/prefab/wall/right.prefab index a7f94f2..f041ae6 100644 --- a/assets/resources/prefab/wall/right.prefab +++ b/assets/resources/prefab/wall/right.prefab @@ -40,12 +40,15 @@ }, { "__id__": 139 + }, + { + "__id__": 145 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 142 + "__id__": 148 }, "_opacity": 255, "_color": { @@ -5153,6 +5156,228 @@ "fileId": "970Ry1rz1C/5B8Jq1XgWom", "sync": false }, + { + "__type__": "cc.Node", + "_name": "jump", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 140 + } + ], + "_active": false, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 144 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 61, + "height": 146 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 37.306, + -0.871, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "arror", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 142 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -5.573, + 14.503, + 0, + 0, + 0, + 0, + 1, + -1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 140 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d5aed327-9af9-4f3e-9928-287ed852d2cb" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "97/MngeFVLu5EKfyHw7PGZ", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 139 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "af314d12-e3f7-47d3-80b6-1fef0010e4c2" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "72M/LeMe5ECJ2tTCv4Z/Ev", + "sync": false + }, { "__type__": "cc.Node", "_name": "length", @@ -5164,11 +5389,11 @@ "_active": false, "_components": [ { - "__id__": 140 + "__id__": 146 } ], "_prefab": { - "__id__": 141 + "__id__": 147 }, "_opacity": 10, "_color": { @@ -5222,7 +5447,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 139 + "__id__": 145 }, "_enabled": true, "_materials": [ @@ -5254,7 +5479,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 139 + "__id__": 145 }, "asset": { "__uuid__": "1c619601-a6ae-4c45-be2c-20b0d95e950f" diff --git a/assets/resources/prefab/wall/up.prefab b/assets/resources/prefab/wall/up.prefab index 406c210..50c88cc 100644 --- a/assets/resources/prefab/wall/up.prefab +++ b/assets/resources/prefab/wall/up.prefab @@ -40,12 +40,15 @@ }, { "__id__": 139 + }, + { + "__id__": 145 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 142 + "__id__": 148 }, "_opacity": 255, "_color": { @@ -5153,6 +5156,228 @@ "fileId": "f8Za6jHHxMuafaHTJpkVyj", "sync": false }, + { + "__type__": "cc.Node", + "_name": "jump", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 140 + } + ], + "_active": false, + "_components": [ + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 144 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 69 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -1.878, + 33.854, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "arror", + "_objFlags": 0, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 142 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 37, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -4.39, + 14.424, + 0, + 0, + 0, + 0.7071067811865475, + 0.7071067811865476, + -1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 90 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 140 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d5aed327-9af9-4f3e-9928-287ed852d2cb" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "deMEtwyT9HHr3hLWjM3lx7", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 139 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "3702b92b-6a57-493c-8a8a-f1b8fcbacb5e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180" + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "efHt+tW4pDFYKGfqsN7Gxv", + "sync": false + }, { "__type__": "cc.Node", "_name": "length", @@ -5164,11 +5389,11 @@ "_active": false, "_components": [ { - "__id__": 140 + "__id__": 146 } ], "_prefab": { - "__id__": 141 + "__id__": 147 }, "_opacity": 10, "_color": { @@ -5222,7 +5447,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 139 + "__id__": 145 }, "_enabled": true, "_materials": [