增加818关关卡

This commit is contained in:
COMPUTER\EDY 2026-01-15 14:39:37 +08:00
parent 6d320b4f3f
commit d1ada4a56e
8 changed files with 904 additions and 439 deletions

File diff suppressed because it is too large Load Diff

View File

@ -261,7 +261,7 @@ export default class ranking extends cc.Component {
} }
if (this.selfInfo == null) { if (this.selfInfo == null) {
if (this.rankNumber == -1 || this.rankNumber == 0) { if (this.rankNumber == -1 || this.rankNumber == 0) {
this.rankNumber = 9999; this.rankNumber = 999;
} }
this.selfInfo = { this.selfInfo = {
useravatarIcon: cc.fx.GameConfig.GM_INFO.useravaterkuang, useravatarIcon: cc.fx.GameConfig.GM_INFO.useravaterkuang,
@ -285,7 +285,7 @@ export default class ranking extends cc.Component {
NumberToImage.numberToImageNodes3((this.selfInfo.rank), 43, 15, "rank_", this.selfNode.getChildByName("rankLab"), true); NumberToImage.numberToImageNodes3((this.selfInfo.rank), 43, 15, "rank_", this.selfNode.getChildByName("rankLab"), true);
NumberToImage.numberToImageNodes3(this.selfInfo.levelAmount, 43, 15, "level_", this.selfNode.getChildByName("totalLab"), true); NumberToImage.numberToImageNodes3(this.selfInfo.levelAmount, 43, 15, "level_", this.selfNode.getChildByName("totalLab"), true);
if (this.selfInfo.rank == 9999) { if (this.selfInfo.rank == 999) {
this.selfNode.getChildByName("rankLab").scaleX = 0.75; this.selfNode.getChildByName("rankLab").scaleX = 0.75;
this.selfNode.getChildByName("rankLab").scaleY = 0.75; this.selfNode.getChildByName("rankLab").scaleY = 0.75;
this.selfNode.getChildByName("add").active = true; this.selfNode.getChildByName("add").active = true;

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "2952e687-785f-4e41-bf5d-b6e05ea38d48",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 154,
"height": 598,
"platformSettings": {},
"subMetas": {
"tiaodik": {
"ver": "1.0.6",
"uuid": "0deed620-b17b-428f-84fc-c94771c95285",
"importer": "sprite-frame",
"rawTextureUuid": "2952e687-785f-4e41-bf5d-b6e05ea38d48",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 154,
"height": 598,
"rawWidth": 154,
"rawHeight": 598,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@ -0,0 +1,381 @@
{
"LEVEL_INFO": [
{
"risefall": [],
"id": "818",
"map": [
8,
10
],
"time": 100,
"gap": [
{
"x": 1,
"y": 2,
"z": 0
},
{
"x": 1,
"y": 1,
"z": 0
},
{
"x": 2,
"y": 2,
"z": 0
},
{
"x": 2,
"y": 1,
"z": 0
},
{
"x": 1,
"y": 8,
"z": 0
},
{
"x": 1,
"y": 7,
"z": 0
},
{
"x": 2,
"y": 8,
"z": 0
},
{
"x": 2,
"y": 7,
"z": 0
}
]
}
],
"BLOCK_INFO": [
[
{
"block": 5,
"color": 6,
"type": 0,
"position": {
"x": 360,
"y": -120,
"z": 0
},
"id": 210
},
{
"block": 2,
"color": 10,
"type": 0,
"position": {
"x": 240,
"y": -360,
"z": 0
},
"id": 220
},
{
"block": 2,
"color": 4,
"type": 7,
"position": {
"x": 0,
"y": -480,
"z": 0
},
"id": 230
},
{
"block": 2,
"color": 10,
"type": 7,
"position": {
"x": 0,
"y": 240,
"z": 0
},
"id": 240
},
{
"block": 0,
"color": 9,
"type": 9,
"position": {
"x": 0,
"y": 0,
"z": 0
},
"adhesiveTime": 2,
"id": 250
},
{
"block": 0,
"color": 6,
"type": 9,
"position": {
"x": 0,
"y": -120,
"z": 0
},
"adhesiveTime": 1,
"id": 260
},
{
"block": 4,
"color": 3,
"type": 14,
"position": {
"x": 120,
"y": 120,
"z": 0
},
"id": 270
},
{
"block": 4,
"color": 1,
"type": 14,
"position": {
"x": 120,
"y": -480,
"z": 0
},
"id": 280
},
{
"block": 1,
"color": 1,
"type": 0,
"position": {
"x": -120,
"y": -240,
"z": 0
},
"id": 290
},
{
"block": 1,
"color": 8,
"type": 0,
"position": {
"x": -120,
"y": 120,
"z": 0
},
"id": 300
},
{
"block": 1,
"color": 1,
"type": 14,
"position": {
"x": -120,
"y": 0,
"z": 0
},
"floor": 1,
"floorTime": 10,
"floorMove": false,
"id": 310
},
{
"block": 1,
"color": 3,
"type": 14,
"position": {
"x": -120,
"y": -120,
"z": 0
},
"floor": 1,
"floorTime": 10,
"floorMove": false,
"id": 320
},
{
"block": 22,
"color": 8,
"type": 16,
"position": {
"x": 360,
"y": 240,
"z": 0
},
"questionTime": 11,
"id": 330
},
{
"block": 2,
"color": 9,
"type": 16,
"position": {
"x": 240,
"y": 120,
"z": 0
},
"questionTime": 12,
"id": 340
},
{
"block": 0,
"color": 5,
"type": 16,
"position": {
"x": 120,
"y": 0,
"z": 0
},
"questionTime": 7,
"id": 350
},
{
"block": 0,
"color": 7,
"type": 16,
"position": {
"x": 360,
"y": -240,
"z": 0
},
"questionTime": 5,
"id": 360
},
{
"block": 19,
"color": 1,
"type": 16,
"position": {
"x": 360,
"y": -480,
"z": 0
},
"questionTime": 4,
"id": 370
}
]
],
"WALL_INFO": [
[
{
"id": 819,
"num": 0,
"color": 8,
"special": 0,
"length": 2
},
{
"id": 820,
"num": 1,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 821,
"num": 2,
"color": 6,
"special": 0,
"length": 2
},
{
"id": 822,
"num": 3,
"color": 6,
"special": 0,
"length": 0
},
{
"id": 823,
"num": 13,
"color": 7,
"special": 0,
"length": 1
},
{
"id": 824,
"num": 15,
"color": 1,
"special": 0,
"length": 2
},
{
"id": 825,
"num": 17,
"color": 1,
"special": 0,
"length": 0
},
{
"id": 826,
"num": 12,
"color": 5,
"special": 0,
"length": 1
},
{
"id": 827,
"num": 14,
"color": 3,
"special": 0,
"length": 2
},
{
"id": 828,
"num": 16,
"color": 3,
"special": 0,
"length": 0
},
{
"id": 829,
"num": 23,
"color": 9,
"special": 6,
"length": 2,
"lockTime": 4
},
{
"id": 830,
"num": 24,
"color": 9,
"special": 6,
"length": 0,
"lockTime": 4
},
{
"id": 831,
"num": 26,
"color": 10,
"special": 3,
"length": 2,
"freeze": 6
},
{
"id": 832,
"num": 27,
"color": 10,
"special": 3,
"length": 0,
"freeze": 6
},
{
"id": 833,
"num": 20,
"color": 4,
"special": 3,
"length": 2,
"freeze": 9
},
{
"id": 834,
"num": 21,
"color": 4,
"special": 3,
"length": 0,
"freeze": 9
}
]
]
}

View File

@ -0,0 +1,6 @@
{
"ver": "1.0.2",
"uuid": "9dbbe0fc-913e-4681-be3a-a231eef2a673",
"importer": "json",
"subMetas": {}
}

View File

@ -0,0 +1,6 @@
{
"ver": "1.0.2",
"uuid": "d9e4cb2b-7c7f-48e0-ada9-a20c727e56bc",
"importer": "json",
"subMetas": {}
}

View File

@ -0,0 +1,6 @@
{
"ver": "1.0.2",
"uuid": "6eacf6b3-b49a-4275-9cc6-1249e72955c3",
"importer": "json",
"subMetas": {}
}