更新关卡配置
This commit is contained in:
parent
423f9bcb64
commit
b57f7af6ff
|
|
@ -369,9 +369,14 @@ export class LQCollide extends Component {
|
||||||
if (block.color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
|
if (block.color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
|
if (block) {
|
||||||
return;
|
if (block.block_Info) {
|
||||||
|
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (this.is_music == false) {
|
// if (this.is_music == false) {
|
||||||
// this.is_music = true;
|
// this.is_music = true;
|
||||||
cc.fx.AudioManager._instance.playEffect("simpleColor", null);
|
cc.fx.AudioManager._instance.playEffect("simpleColor", null);
|
||||||
|
|
|
||||||
|
|
@ -335,18 +335,18 @@
|
||||||
{
|
{
|
||||||
"id": 1067,
|
"id": 1067,
|
||||||
"num": 20,
|
"num": 20,
|
||||||
"color": 5,
|
"color": 8,
|
||||||
"special": 0,
|
"special": 0,
|
||||||
"length": 2,
|
"length": 2,
|
||||||
"colorArray": "474"
|
"colorArray": "744"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 1068,
|
"id": 1068,
|
||||||
"num": 22,
|
"num": 22,
|
||||||
"color": 5,
|
"color": 8,
|
||||||
"special": 0,
|
"special": 0,
|
||||||
"length": 0,
|
"length": 0,
|
||||||
"colorArray": "474"
|
"colorArray": "744"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user