diff --git a/assets/Script.zip b/assets/Script.zip deleted file mode 100644 index a3a5e31..0000000 Binary files a/assets/Script.zip and /dev/null differ diff --git a/assets/Script.zip.meta b/assets/Script.zip.meta deleted file mode 100644 index b65d34b..0000000 --- a/assets/Script.zip.meta +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ver": "1.0.3", - "uuid": "c7c9a4c1-ac19-467e-93dd-3e5e25280820", - "importer": "asset", - "subMetas": {} -} \ No newline at end of file diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index 3a778a5..f3eb46a 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -290,7 +290,7 @@ export default class Block extends cc.Component { ); const targetNames = ['top', 'down', 'left', 'right']; this.block_Info.node.children.forEach(child => { - if (child instanceof cc.Node && targetNames.includes(child.name) && child.getComponent("lq_collide").data_string != "-1") { + if (child instanceof cc.Node && targetNames.includes(child.name) && child.getComponent("lq_collide").data_string != "-1" && child.getComponent("lq_collide").data_string != "-2") { const clonedChild = cc.instantiate(child); clonedChild.getComponent("lq_collide").data_string = "-1"; clonedChild.parent = this.node; @@ -822,7 +822,6 @@ export default class Block extends cc.Component { let touchLoc = event.getLocation(); // https://docs.cocos.com/creator/api/zh/classes/Intersection.html 检测辅助类 // let pos = this.collider.world.points - if (!this.collider.world) { return; } @@ -1475,15 +1474,19 @@ export default class Block extends cc.Component { //地板铺盖状态恢复为常态 resetFloor() { if (this.block_Info.floor == null && this.block_Info.floorTime == null) return; + if (this.type == BlockType.叠加块下) { + this.block_Info.node.getChildByName("icon").opacity = 255; + } this.block_Info.floor = null; this.block_Info.floorTime = null; this.moveFloorPd = null; + this.block_Info.floorMove = null; + this.floorOffset = null; for (let i = this.node.children.length - 1; i >= 0; i--) { if (this.node.children[i]) { if (this.node.children[i].name == "floor" || this.node.children[i].name == "moveFloor") { - this.node.children[i].active = false; - // this.node.children[i].removeFromParent(); - // this.node.children[i].destroy(); + // this.node.children[i].active = false; + this.node.children[i].destroy(); } } } @@ -1492,28 +1495,28 @@ export default class Block extends cc.Component { this.adhesiveNode[i].opacity = 255; } } - console.log("_____________删开始"); + if (this.teamBlocks.length > 1) { for (let j = 0; j < this.teamBlocks.length; j++) { for (let k = 0; k < this.teamBlocks[j].children.length; k++) { if (this.teamBlocks[j].children[k].active) { if (this.teamBlocks[j].children[k].getComponent("lq_collide") != undefined) { - // if (this.teamBlocks[j].children[k].getComponent("lq_collide").data_string == "-2") { - // this.teamBlocks[j].children[k].active = false; - // // this.teamBlocks[j].children[k].destroy(); - // } - // else if (this.teamBlocks[j].children[k].getComponent("lq_collide").data_string == "-1") { - // this.teamBlocks[j].children[k].active = true; - // } + if (this.teamBlocks[j].children[k].getComponent("lq_collide").data_string == "-2") { + // this.teamBlocks[j].children[k].active = false; + this.teamBlocks[j].children[k].destroy(); + } + else if (this.teamBlocks[j].children[k].getComponent("lq_collide").data_string == "-1") { + this.teamBlocks[j].children[k].active = true; + } } } } } } - debugger; + this.teamBlocks = []; - console.log("_____________删除完毕2"); + this.node.getChildByName("icon").active = true; if (this.type == BlockType.冻结块) { if (this.node.getChildByName("freeze")) { @@ -1796,7 +1799,7 @@ export default class Block extends cc.Component { const newY = this.node.y + delta.y; const distance = Math.sqrt(Math.pow(newX - this.node.x, 2) + Math.pow(newY - this.node.y, 2)); let mag = Math.round(delta.mag()); - console.log("移动距离", this.moveX, this.moveY); + // 脱离接触恢复可移动状态 if (this.moveY === 1) { if (this.touchPointY <= this.node.y + this.node.height / 2) { @@ -2134,6 +2137,7 @@ export default class Block extends cc.Component { //设置地板块 setFloor() { + console.log("设置地板块", this.type); this.node.getChildByName("icon").active = false; for (let i = 0; i < this.allBlocks.length; i++) { let floor = cc.instantiate(MapConroler._instance.Block_Prop[11]); @@ -2146,7 +2150,7 @@ export default class Block extends cc.Component { floor.zIndex = 999 - i; let floorX = - 65 + 120 * this.allBlocks[i].x; let floorY = 60 + 120 * this.allBlocks[i].y; floor.setPosition(floorX, floorY); - floor.getComponent("Floor").init(this.block_Info.floorTime); + floor.getComponent("Floor").init(this.block_Info.floorTime, this.posX + this.allBlocks[i].x, this.posY + this.allBlocks[i].y); } if (this.type == BlockType.冻结块) { if (this.node.getChildByName("freeze")) { @@ -2160,6 +2164,9 @@ export default class Block extends cc.Component { } } } + else if (this.type == BlockType.叠加块下) { + this.block_Info.node.getChildByName("icon").opacity = 0; + } } setTeamBlocks(teamBlocks) { @@ -2167,10 +2174,74 @@ export default class Block extends cc.Component { this.teamBlocks = teamBlocks; } + //设置可移动地板块的朝向 + setFloorSprite() { + //其他块的位置 + let otherBlocks = []; + for (let i = 0; i < this.teamBlocks.length; i++) { + if (this.teamBlocks[i].uuid != this.node.uuid) { + let tempBlocks = this.teamBlocks[i].getComponent("Block").allBlocks; + for (let j = 0; j < this.teamBlocks[i].getComponent("Block").allBlocks.length; j++) { + otherBlocks.push(cc.v2(tempBlocks[j].x + this.teamBlocks[i].getComponent("Block").posX, tempBlocks[j].y + this.teamBlocks[i].getComponent("Block").posY)); + } + } + } + //自己块的位置 + // let selfBlocks = []; + for (let k = 0; k < this.allBlocks.length; k++) { + otherBlocks.push(cc.v2(this.allBlocks[k].x + this.posX, this.allBlocks[k].y + this.posY)); + } + + + this.node.children.forEach(child => { + if (child instanceof cc.Node && (child.name == "moveFloor")) { + let heng = false; + let shu = false; + var temp = cc.v2(child.getComponent("Floor").posX, child.getComponent("Floor").posY); + for (let m = 0; m < otherBlocks.length; m++) { + if (otherBlocks[m].x == child.getComponent("Floor").posX && otherBlocks[m].y == child.getComponent("Floor").posY) { + + } + else { + if (otherBlocks[m].x == child.getComponent("Floor").posX && + (otherBlocks[m].y + 1 == child.getComponent("Floor").posY || otherBlocks[m].y - 1 == child.getComponent("Floor").posY)) { + shu = true; + } + if (otherBlocks[m].y == child.getComponent("Floor").posY && + (otherBlocks[m].x + 1 == child.getComponent("Floor").posX || otherBlocks[m].x - 1 == child.getComponent("Floor").posX)) { + heng = true; + } + if (shu == true && heng == true) { + child.getComponent("Floor").setSpriteFrame(2); + } + else if (shu == true) { + child.getComponent("Floor").setSpriteFrame(1); + } + else if (heng == true) { + child.getComponent("Floor").setSpriteFrame(0); + } + else { + child.getComponent("Floor").setSpriteFrame(2); + } + } + + } + + } + }); + + // if (this.node.getChildByName("moveFloor")) + // this.node.getChildByName("moveFloor").getComponent("Floor").setSpriteFrame(2); + } + + //增加可移动地板块每个块的限制移动 setMoveFloor() { + this.setFloorSprite(); if (this.teamBlocks.length < 2) { return; } + + this.floorOffset = []; for (let i = 0; i < this.teamBlocks.length; i++) { if (this.teamBlocks[i].uuid != this.node.uuid) { @@ -2182,7 +2253,7 @@ export default class Block extends cc.Component { this.floorOffset[i] = posOffset; const targetNames = ['top', 'down', 'left', 'right']; this.teamBlocks[i].children.forEach(child => { - if (child instanceof cc.Node && targetNames.includes(child.name) && child.getComponent("lq_collide").data_string != "-2") { + if (child instanceof cc.Node && targetNames.includes(child.name) && child.getComponent("lq_collide").data_string != "-2" && child.getComponent("lq_collide").data_string != "-1") { const clonedChild = cc.instantiate(child); clonedChild.getComponent("lq_collide").data_string = "-2"; clonedChild.parent = this.node; @@ -2197,6 +2268,7 @@ export default class Block extends cc.Component { }); } } + setTimeout(() => { this.moveFloorPd = true; }, 100); diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index c836e30..2a15e65 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -2678,29 +2678,29 @@ export default class MapConroler extends cc.Component { if (blockInfo.floorMove != undefined) { if (blockInfo.floorMove == true) { if (this.teamBlocks.length == 0) { - console.log("放入一个移动地板块"); + // console.log("放入一个移动地板块"); this.teamBlocks.push(this.blocks[i]); this.blocks[i].getComponent("Block").setTeamBlocks(this.teamBlocks); if (i == (this.blocks.length - 1)) { - console.log("结束1"); + // console.log("结束1"); this.removeFloor(); } } else { if (blockInfo.floor == this.teamBlocks[0].getComponent("Block").block_Info.floor) { this.teamBlocks.push(this.blocks[i]); - console.log("放入一个移动地板块"); + // console.log("放入一个移动地板块"); this.blocks[i].getComponent("Block").setTeamBlocks(this.teamBlocks); if (i == (this.blocks.length - 1)) { - console.log("结束2"); + // console.log("结束2"); this.removeFloor(); } } else { - console.log("结束3") + // console.log("结束3") this.removeFloor(); this.teamBlocks.push(this.blocks[i]); this.blocks[i].getComponent("Block").setTeamBlocks(this.teamBlocks); if (i == (this.blocks.length - 1)) { - console.log("结束4"); + // console.log("结束4"); this.removeFloor(); } } @@ -2708,21 +2708,21 @@ export default class MapConroler extends cc.Component { } else { if (i == (this.blocks.length - 1)) { - console.log("结束5"); + // console.log("结束5"); this.removeFloor(); } } } else { if (i == (this.blocks.length - 1)) { - console.log("结束6"); + // console.log("结束6"); this.removeFloor(); } } } else { if (i == (this.blocks.length - 1)) { - console.log("结束7"); + // console.log("结束7"); this.removeFloor(); } } @@ -2731,7 +2731,7 @@ export default class MapConroler extends cc.Component { } removeFloor() { - console.log("结束"); + // console.log("结束"); if (this.teamBlocks.length > 0) { for (let j = 0; j < this.teamBlocks.length; j++) { this.teamBlocks[j].getComponent("Block").setMoveFloor(); diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index f815cf7..786ae8d 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -442,8 +442,8 @@ var GameTool = { //关卡上限 maxLevel() { let jg = false; - if (cc.fx.GameConfig.GM_INFO.level > 954) { - cc.fx.GameConfig.GM_INFO.level = 955; + if (cc.fx.GameConfig.GM_INFO.level > 979) { + cc.fx.GameConfig.GM_INFO.level = 980; jg = true; } return jg; diff --git a/assets/Script/prop/Floor.ts b/assets/Script/prop/Floor.ts index 597135f..1491be5 100644 --- a/assets/Script/prop/Floor.ts +++ b/assets/Script/prop/Floor.ts @@ -23,6 +23,11 @@ export default class Floor extends cc.Component { @property(cc.Prefab) ice: cc.Prefab = null; + @property({ type: [cc.SpriteFrame], tooltip: "可移动地板图片" }) + FloorSpriteFrame: Array = []; + posX: any; + posY: any; + // mapInfo: number[][] = []; onLoad() { @@ -33,15 +38,30 @@ export default class Floor extends cc.Component { } - init(time, type) { + init(time, posX, posY) { if (time) this.time = time; this.node.getChildByName("time").active = true; NumberToImage.numberToImageNodes(this.time, 30, 15, "level_", this.node.getChildByName("time"), false); // this.node.getChildByName("time").getComponent(cc.Label).string = this.time.toString(); + if (posX) { + this.posX = posX; + } + if (posY) { + this.posY = posY; + } } + setSpriteFrame(number) { + if (this.FloorSpriteFrame.length > 0) { + this.node.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = this.FloorSpriteFrame[number]; + } + } + reduce(number) { + if (this.node == null || this.node == undefined) { + return; + } // debugger; this.time -= number; if (this.time <= 0) this.time = 0 @@ -70,10 +90,12 @@ export default class Floor extends cc.Component { // }, 1); setTimeout(() => { - if (this.node) { - this.node.destroy(); - this.node.removeFromParent(); + if (this.node == null || this.node == undefined) { + return; } + // this.node.destroy(); + // this.node.removeFromParent(); + }, 600); } diff --git a/assets/Script/shu1.yaml b/assets/Script/shu1.yaml new file mode 100644 index 0000000..200887a --- /dev/null +++ b/assets/Script/shu1.yaml @@ -0,0 +1,141 @@ +adhesive +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +adhesiveNode +: +[] +allBlocks +: +(3) [Vec2, Vec2, Vec2] +blockId +: +230 +block_Info +: +{block: 3, color: 8, type: 14, position: {…}, floor: null, …} +changeColor +: +0 +checkCollision +: +false +collider +: +cc_PolygonCollider {_name: '', _objFlags: 59392, node: cc_Node, __scriptAsset: false, _enabled: true, …} +color +: +8 +floorOffset +: +null +heng +: +3 +hit +: +cc_Node {_name: 'hit', _objFlags: 0, _parent: cc_Node, _children: Array(0), _active: false, …} +ice_SpriteFrame +: +cc_SpriteAtlas {_name: 'freeze.plist', _objFlags: 0, _native: '', _spriteFrames: {…}, loaded: true, …} +initialTouchOffset +: +null +isEliminatedByHammer +: +false +isTouch +: +false +lastMoveTime +: +0 +level +: +47 +magic_SkeletonData +: +sp_SkeletonData {_super: null, _name: 'mofabang_baozha', _objFlags: 0, _native: '', _skeletonJson: {…}, …} +maxSpeed +: +300 +moveCorner +: +0 +moveDown +: +true +moveFloorPd +: +null +moveInterval +: +0 +moveLeft +: +true +moveRight +: +true +moveUp +: +true +moveX +: +0 +moveY +: +0 +node +: +cc_Node {_name: 'block3', _objFlags: 0, _parent: cc_Node, _children: Array(11), _active: true, …} +offsetTolerance +: +100 +over +: +false +posX +: +3 +posY +: +2 +pz +: +false +relative_Position +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +scheduleCallback +: +null +scheduleCallback2 +: +null +scheduleCallback3 +: +null +shu +: +1 +stacking +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +teamBlocks +: +[] +touchDelta +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +touchPoint +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +touchPointX +: +-58.695671613826335 +touchPointY +: +-165.25607323461736 +type +: +14 \ No newline at end of file diff --git a/assets/Script/shu1.yaml.meta b/assets/Script/shu1.yaml.meta new file mode 100644 index 0000000..75f5cf5 --- /dev/null +++ b/assets/Script/shu1.yaml.meta @@ -0,0 +1,6 @@ +{ + "ver": "2.0.2", + "uuid": "8fcaffa1-e5e5-412b-9f25-1758c6c5ecde", + "importer": "text", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/Script/shu2.yaml b/assets/Script/shu2.yaml new file mode 100644 index 0000000..fcfaeb3 --- /dev/null +++ b/assets/Script/shu2.yaml @@ -0,0 +1,141 @@ +adhesive +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +adhesiveNode +: +[] +allBlocks +: +(3) [Vec2, Vec2, Vec2] +blockId +: +230 +block_Info +: +{block: 3, color: 8, type: 14, position: {…}, floor: null, …} +changeColor +: +0 +checkCollision +: +false +collider +: +cc_PolygonCollider {_name: '', _objFlags: 59392, node: cc_Node, __scriptAsset: false, _enabled: true, …} +color +: +8 +floorOffset +: +null +heng +: +3 +hit +: +cc_Node {_name: 'hit', _objFlags: 0, _parent: cc_Node, _children: Array(0), _active: false, …} +ice_SpriteFrame +: +cc_SpriteAtlas {_name: 'freeze.plist', _objFlags: 0, _native: '', _spriteFrames: {…}, loaded: true, …} +initialTouchOffset +: +null +isEliminatedByHammer +: +false +isTouch +: +false +lastMoveTime +: +0 +level +: +47 +magic_SkeletonData +: +sp_SkeletonData {_super: null, _name: 'mofabang_baozha', _objFlags: 0, _native: '', _skeletonJson: {…}, …} +maxSpeed +: +300 +moveCorner +: +0 +moveDown +: +true +moveFloorPd +: +null +moveInterval +: +0 +moveLeft +: +true +moveRight +: +true +moveUp +: +true +moveX +: +0 +moveY +: +0 +node +: +cc_Node {_name: 'block3', _objFlags: 0, _parent: cc_Node, _children: Array(11), _active: true, …} +offsetTolerance +: +100 +over +: +false +posX +: +3 +posY +: +2 +pz +: +false +relative_Position +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +scheduleCallback +: +null +scheduleCallback2 +: +null +scheduleCallback3 +: +null +shu +: +1 +stacking +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +teamBlocks +: +[] +touchDelta +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +touchPoint +: +Vec2 {mag: ƒ, magSqr: ƒ, subSelf: ƒ, mulSelf: ƒ, divSelf: ƒ, …} +touchPointX +: +-72.34580106513448 +touchPointY +: +-169.80620155038775 +type +: +14 \ No newline at end of file diff --git a/assets/Script/shu2.yaml.meta b/assets/Script/shu2.yaml.meta new file mode 100644 index 0000000..1803a53 --- /dev/null +++ b/assets/Script/shu2.yaml.meta @@ -0,0 +1,6 @@ +{ + "ver": "2.0.2", + "uuid": "4da2f199-56fe-448e-8208-f44c6856c5e6", + "importer": "text", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/UI/prop/heng.png b/assets/UI/prop/heng.png new file mode 100644 index 0000000..6ac30e7 Binary files /dev/null and b/assets/UI/prop/heng.png differ diff --git a/assets/UI/prop/heng.png.meta b/assets/UI/prop/heng.png.meta new file mode 100644 index 0000000..9ba56cc --- /dev/null +++ b/assets/UI/prop/heng.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "6fd547b9-7695-4fd9-803f-93f0dd47c738", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 120, + "height": 132, + "platformSettings": {}, + "subMetas": { + "heng": { + "ver": "1.0.6", + "uuid": "8b45ca47-4825-43e6-8661-e2139f6ab011", + "importer": "sprite-frame", + "rawTextureUuid": "6fd547b9-7695-4fd9-803f-93f0dd47c738", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 120, + "height": 132, + "rawWidth": 120, + "rawHeight": 132, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/UI/prop/shizi.png b/assets/UI/prop/shizi.png new file mode 100644 index 0000000..b67ad1b Binary files /dev/null and b/assets/UI/prop/shizi.png differ diff --git a/assets/UI/prop/shizi.png.meta b/assets/UI/prop/shizi.png.meta new file mode 100644 index 0000000..c5add94 --- /dev/null +++ b/assets/UI/prop/shizi.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "a4ea8466-2e65-4294-a23b-1d033c2a38e3", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 120, + "height": 132, + "platformSettings": {}, + "subMetas": { + "shizi": { + "ver": "1.0.6", + "uuid": "9d0bb85f-4140-45b5-8e0b-6fa12fd2d9d7", + "importer": "sprite-frame", + "rawTextureUuid": "a4ea8466-2e65-4294-a23b-1d033c2a38e3", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 120, + "height": 132, + "rawWidth": 120, + "rawHeight": 132, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/UI/prop/shu.png b/assets/UI/prop/shu.png new file mode 100644 index 0000000..2fdf89a Binary files /dev/null and b/assets/UI/prop/shu.png differ diff --git a/assets/UI/prop/shu.png.meta b/assets/UI/prop/shu.png.meta new file mode 100644 index 0000000..8126b7b --- /dev/null +++ b/assets/UI/prop/shu.png.meta @@ -0,0 +1,38 @@ +{ + "ver": "2.3.7", + "uuid": "87ffd88b-e206-4e00-b816-c5c6476c9372", + "importer": "texture", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 120, + "height": 132, + "platformSettings": {}, + "subMetas": { + "shu": { + "ver": "1.0.6", + "uuid": "91bb7b7c-7786-4a02-8961-8905e92f13f5", + "importer": "sprite-frame", + "rawTextureUuid": "87ffd88b-e206-4e00-b816-c5c6476c9372", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 120, + "height": 132, + "rawWidth": 120, + "rawHeight": 132, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/prefab/prop/moveFloor.prefab b/assets/prefab/prop/moveFloor.prefab index 0101fbe..241da56 100644 --- a/assets/prefab/prop/moveFloor.prefab +++ b/assets/prefab/prop/moveFloor.prefab @@ -114,7 +114,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 120, - "height": 120 + "height": 132 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -165,7 +165,9 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_spriteFrame": null, + "_spriteFrame": { + "__uuid__": "13fc37b7-475e-4be5-8df7-ca6005a1ef9f" + }, "_type": 0, "_sizeMode": 1, "_fillType": 0, @@ -423,6 +425,17 @@ "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" }, "ice": null, + "FloorSpriteFrame": [ + { + "__uuid__": "8b45ca47-4825-43e6-8661-e2139f6ab011" + }, + { + "__uuid__": "91bb7b7c-7786-4a02-8961-8905e92f13f5" + }, + { + "__uuid__": "9d0bb85f-4140-45b5-8e0b-6fa12fd2d9d7" + } + ], "_id": "" }, {