Commit 94b09e6e authored by wildfirecode's avatar wildfirecode

1

parent c41ada77
......@@ -51,7 +51,7 @@
"backgroundY": 0,
"backgroundWidth": -1,
"backgroundHeight": -1,
"useBgImage": true,
"useBgImage": false,
"useBgColor": true,
"guideLinesEnabled": false
},
......@@ -67,7 +67,10 @@
"key": "data.currentBallNums",
"value": "1"
}
]
],
"useBgImage": false,
"useBgColor": true,
"backgroundColor": "#dbdbdb"
},
"168ff8d4b66": {
"backgroundType": "user",
......
......@@ -22,8 +22,7 @@ export default class SceneCtrl {
const key = scene.skinKey.toLowerCase();
const promise = Promise.all([
RES.getResAsync(`${key}_json`),
RES.getResAsync(`${key}_png`),
RES.getResAsync(`${key}scenebg_jpg`)]);
RES.getResAsync(`${key}_png`)]);
promise.then(() => {
this.showAfterLoadAtlas(scene, data, onComplete);
});
......
......@@ -139,7 +139,7 @@ export default class PlayScene extends Scene {
const { blocksInfo, specialBallPosition } = getBlocks(this.ballCountAll);
console.log(blocksInfo, specialBallPosition);
if (specialBallPosition > -1) {
createSpeialCircle(this, getLadderHPosition(specialBallPosition), getLadderPosition(LADDER_NUMS - 1),0);
createSpeialCircle(this, getLadderHPosition(specialBallPosition), getLadderPosition(LADDER_NUMS - 1), 0);
}
for (const block of blocksInfo) {
const { position, type, nums } = block;
......@@ -456,7 +456,7 @@ export default class PlayScene extends Scene {
checkGameOver() {
this['pause'] = true;
const num = window['revivePlugId'];
console.log(DataManager.ins.getPrizeInfoList[num])
// console.log(DataManager.ins.getPrizeInfoList[num])
const costCredits = DataManager.ins.getPrizeInfoList[num].creditsPrice || 0;
const userCredits = DataManager.ins.getCreditsData.consumerCredits || 0;
if (this.reviveTag || userCredits < costCredits) { //已经复活过了或者钱不够直接死
......
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