From 9e84c1af9439f1cd38914369464bb4b99fef6880 Mon Sep 17 00:00:00 2001 From: "COMPUTER\\EDY" <249929363@qq.com> Date: Mon, 23 Mar 2026 14:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Script/Block.ts | 1 + assets/custom/Json/level1354.json | 340 ++++++++++++++++++++++ assets/custom/Json/level1354.json.meta | 6 + assets/resources/prefab/wall/left.prefab | 2 +- assets/resources/prefab/wall/right.prefab | 4 +- 5 files changed, 350 insertions(+), 3 deletions(-) create mode 100644 assets/custom/Json/level1354.json create mode 100644 assets/custom/Json/level1354.json.meta diff --git a/assets/Script/Block.ts b/assets/Script/Block.ts index f33aa25..083efeb 100644 --- a/assets/Script/Block.ts +++ b/assets/Script/Block.ts @@ -620,6 +620,7 @@ export default class Block extends cc.Component { this.node.getChildByName("change_color").active = false; } + var temp = MapConroler._instance.Block_Color; if (MapConroler && MapConroler._instance) { let blockSpriteFrame = MapConroler._instance.Block_Color[number]._spriteFrames; var spriteFrame = blockSpriteFrame[name]; diff --git a/assets/custom/Json/level1354.json b/assets/custom/Json/level1354.json new file mode 100644 index 0000000..1d24c88 --- /dev/null +++ b/assets/custom/Json/level1354.json @@ -0,0 +1,340 @@ +{ + "LEVEL_INFO": [ + { + "risefall": [], + "id": "1354", + "map": [ + 9, + 8 + ], + "time": 100, + "gap": [ + { + "x": 4, + "y": 1, + "z": 0 + }, + { + "x": 5, + "y": 1, + "z": 0 + }, + { + "x": 6, + "y": 1, + "z": 0 + } + ] + } + ], + "BLOCK_INFO": [ + [ + { + "block": 22, + "color": 4, + "type": 0, + "position": { + "x": 300, + "y": -120, + "z": 0 + }, + "id": 210 + }, + { + "block": 1, + "color": 6, + "type": 0, + "position": { + "x": 300, + "y": 240, + "z": 0 + }, + "id": 220 + }, + { + "block": 1, + "color": 1, + "type": 0, + "position": { + "x": -180, + "y": 240, + "z": 0 + }, + "id": 230 + }, + { + "block": 1, + "color": 2, + "type": 1, + "position": { + "x": 300, + "y": -240, + "z": 0 + }, + "stacking": 9, + "id": 240 + }, + { + "block": 2, + "color": 10, + "type": 1, + "position": { + "x": -180, + "y": -360, + "z": 0 + }, + "stacking": 4, + "id": 250 + }, + { + "block": 1, + "color": 7, + "type": 1, + "position": { + "x": 300, + "y": 120, + "z": 0 + }, + "stacking": 1, + "id": 260 + }, + { + "block": 2, + "color": 5, + "type": 1, + "position": { + "x": -60, + "y": 0, + "z": 0 + }, + "stacking": 4, + "floor": 1, + "floorTime": 2, + "floorMove": true, + "id": 270 + }, + { + "block": 2, + "color": 8, + "type": 16, + "position": { + "x": 420, + "y": -360, + "z": 0 + }, + "questionTime": 3, + "id": 280 + }, + { + "block": 0, + "color": 7, + "type": 16, + "position": { + "x": 420, + "y": 0, + "z": 0 + }, + "questionTime": 4, + "id": 290 + }, + { + "block": 0, + "color": 10, + "type": 16, + "position": { + "x": -300, + "y": 120, + "z": 0 + }, + "questionTime": 8, + "id": 300 + }, + { + "block": 0, + "color": 5, + "type": 4, + "position": { + "x": -60, + "y": 240, + "z": 0 + }, + "freezeTime": 6, + "id": 310 + }, + { + "block": 0, + "color": 6, + "type": 16, + "position": { + "x": 60, + "y": 120, + "z": 0 + }, + "questionTime": 10, + "id": 320 + }, + { + "block": 2, + "color": 3, + "type": 9, + "position": { + "x": -300, + "y": -240, + "z": 0 + }, + "adhesiveTime": 2, + "floor": 2, + "floorTime": 9, + "floorMove": true, + "id": 330 + }, + { + "block": 0, + "color": 10, + "type": 9, + "position": { + "x": -300, + "y": -360, + "z": 0 + }, + "adhesiveTime": 1, + "floor": 2, + "floorTime": 9, + "floorMove": true, + "id": 340 + }, + { + "block": 2, + "color": 9, + "type": 9, + "position": { + "x": 60, + "y": -240, + "z": 0 + }, + "adhesiveTime": 2, + "floor": 3, + "floorTime": 8, + "floorMove": true, + "id": 350 + }, + { + "block": 2, + "color": 9, + "type": 9, + "position": { + "x": -60, + "y": -360, + "z": 0 + }, + "adhesiveTime": 1, + "floor": 3, + "floorTime": 8, + "floorMove": true, + "id": 360 + } + ] + ], + "WALL_INFO": [ + [ + { + "id": 1355, + "num": 3, + "color": 1, + "special": 9, + "length": 1, + "stickLength": 2, + "stickShow": true + }, + { + "id": 1356, + "num": 21, + "color": 1, + "special": 9, + "length": 1, + "stickLength": 2, + "stickShow": true + }, + { + "id": 1357, + "num": 11, + "color": 7, + "special": 0, + "length": 2, + "colorArray": "616" + }, + { + "id": 1358, + "num": 14, + "color": 7, + "special": 0, + "length": 0, + "colorArray": "616" + }, + { + "id": 1359, + "num": 24, + "color": 9, + "special": 0, + "length": 3, + "colorArray": "8882" + }, + { + "id": 1360, + "num": 25, + "color": 9, + "special": 0, + "length": 0, + "colorArray": "8882" + }, + { + "id": 1361, + "num": 26, + "color": 9, + "special": 0, + "length": 0, + "colorArray": "8882" + }, + { + "id": 1362, + "num": 20, + "color": 10, + "special": 0, + "length": 1, + "colorArray": "9499" + }, + { + "id": 1363, + "num": 4, + "color": 8, + "special": 0, + "length": 2, + "colorArray": "7333" + }, + { + "id": 1364, + "num": 5, + "color": 8, + "special": 0, + "length": 0, + "colorArray": "7333" + }, + { + "id": 1365, + "num": 8, + "color": 6, + "special": 0, + "length": 2, + "colorArray": "5050" + }, + { + "id": 1366, + "num": 10, + "color": 6, + "special": 0, + "length": 0, + "colorArray": "5050" + } + ] + ] +} \ No newline at end of file diff --git a/assets/custom/Json/level1354.json.meta b/assets/custom/Json/level1354.json.meta new file mode 100644 index 0000000..98d4eb0 --- /dev/null +++ b/assets/custom/Json/level1354.json.meta @@ -0,0 +1,6 @@ +{ + "ver": "1.0.2", + "uuid": "03b61a46-d1ea-4447-b5dc-30b2d6ffdf80", + "importer": "json", + "subMetas": {} +} \ No newline at end of file diff --git a/assets/resources/prefab/wall/left.prefab b/assets/resources/prefab/wall/left.prefab index 65d42b4..75b0dea 100644 --- a/assets/resources/prefab/wall/left.prefab +++ b/assets/resources/prefab/wall/left.prefab @@ -5185,7 +5185,7 @@ "ctor": "Float64Array", "array": [ -40, - 0, + 10, 0, 0, 0, diff --git a/assets/resources/prefab/wall/right.prefab b/assets/resources/prefab/wall/right.prefab index 6a66381..132b187 100644 --- a/assets/resources/prefab/wall/right.prefab +++ b/assets/resources/prefab/wall/right.prefab @@ -5185,7 +5185,7 @@ "ctor": "Float64Array", "array": [ 37.916, - 0, + 10, 0, 0, 0, @@ -5337,7 +5337,7 @@ "__uuid__": "fb792d6a-0401-4ff6-8a50-c7934b38fecb" }, "_type": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2",