Commit 8143f018 authored by limingzhe's avatar limingzhe

fix: debug

parent 7bdd613d
......@@ -533,9 +533,7 @@ cc.Class({
console.log(' in initView 2');
this.initCat();
},
......@@ -994,6 +992,7 @@ cc.Class({
//调起检测
startTesting() {
this.isGameEnd = false;
this.startHelper();
......@@ -1130,6 +1129,7 @@ cc.Class({
// para.color_regions = colorRegions;
para.color_regions = partRegions;
this.curCheckGroup = this.CHECK_TYPE_COLOR;
this.preloadColorSpr();
break;
case "6":
......@@ -1192,6 +1192,13 @@ cc.Class({
},
preloadColorSpr() {
for (let i=0; i<20000; i+=2) {
const colorNode = this.getColorBgColorDot(0, 0, this.colorUnit, this.colorUnit);
}
},
getRegionsByGidx(gIdx) {
const arr = this.getGroupArrByGIdx(this.data.hotZoneItemArr2, gIdx);
......@@ -1802,7 +1809,7 @@ cc.Class({
const g = color[1];
const b = color[2];
if (!(r > 220 && g > 220 && b > 220)) {
if (!(r > 240 && g > 240 && b > 240)) {
// this.colorRectCheckArr[j].colorPoints.push({pointX, pointY, color});
this.colorRectCheckArr[j].colorPoints.push({});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment