|
@@ -173,7 +173,7 @@ cc.Class({
|
|
|
|
|
|
var endLayerNumLabel = gameOverNode.getChildByName("EndLayerNumLabel");
|
|
|
endLayerNumLabel.getComponent("cc.Label").string = this.sumScore;
|
|
|
-
|
|
|
+ console.log("bShare: " + this.bShare);
|
|
|
if (this.bShare) {
|
|
|
// var endScoreLabel = gameOverNode.getChildByName("ShareNode").getChildByName("EndScoreLabel");
|
|
|
// endScoreLabel.getComponent("cc.Label").string = this.sumScore;
|
|
@@ -191,7 +191,7 @@ cc.Class({
|
|
|
}
|
|
|
this.startFinishCount();
|
|
|
} else {
|
|
|
- gemeOverNode.getChildByName("OverBg").getComponent("GameOverRank").setMyScore(this.sumScore);
|
|
|
+
|
|
|
gameOverNode.getChildByName("EndNode").active = true;
|
|
|
gameOverNode.getChildByName("ShareNode").active = false;
|
|
|
|
|
@@ -573,7 +573,7 @@ cc.Class({
|
|
|
onShieldBtn: function () {
|
|
|
if (CC_QQPLAY) {
|
|
|
this.onPauseBtn();
|
|
|
-
|
|
|
+
|
|
|
var gameOverNode = this.node.getChildByName("GameOver");
|
|
|
var countDownLabel = gameOverNode.getChildByName("ShareNode").getChildByName("EndCountDownLabel");
|
|
|
var isFinish = false;
|