Temp commit.

This commit is contained in:
genxium
2022-10-10 21:58:29 +08:00
parent 5f9aaddc9c
commit 05dc593d2c
2 changed files with 20 additions and 9 deletions

View File

@@ -473,6 +473,7 @@ cc.Class({
pts.push([boundaryObj[i].x - x0, boundaryObj[i].y - y0]);
}
const newBarrierLatest = self.latestCollisionSys.createPolygon(x0, y0, pts);
console.log("Created barrier: ", newBarrierLatest);
const newBarrierChaser = self.chaserCollisionSys.createPolygon(x0, y0, pts);
++barrierIdCounter;
const collisionBarrierIndex = (self.collisionBarrierIndexPrefix + barrierIdCounter);