Fix: remove aftereffect of ScreenBottom text
This commit is contained in:
@@ -70,21 +70,16 @@ class Start {
|
||||
screenBottom.printBottomCenterText(sessionStorageManager.playingAppKoreanName);
|
||||
screenBottom.printBottomRightText(sessionStorageManager.playerName);
|
||||
|
||||
|
||||
this.dbConnectManager.requestTodayBestRecord(
|
||||
sessionStorageManager.maestroID,
|
||||
sessionStorageManager.playerID,
|
||||
sessionStorageManager.playingAppID,
|
||||
replyJSON => {
|
||||
sessionStorageManager.bestRecord = Number(replyJSON["BestRecord"]);
|
||||
// let highScoreWithCommas = NumberUtil.numberWithCommas(sessionStorageManager.bestRecord);
|
||||
// screenBottom.printBottomLeftText("오늘의 최고 기록 : " + highScoreWithCommas);
|
||||
screenBottom.printBottomLeftTextWithBestRecord(sessionStorageManager.bestRecord);
|
||||
},
|
||||
replyJSON => { // no data
|
||||
sessionStorageManager.bestRecord = 0;
|
||||
// let highScoreWithCommas = NumberUtil.numberWithCommas(sessionStorageManager.bestRecord);
|
||||
// screenBottom.printBottomLeftText("오늘의 최고 기록 : " + highScoreWithCommas);
|
||||
screenBottom.printBottomLeftTextWithBestRecord(sessionStorageManager.bestRecord);
|
||||
}
|
||||
);
|
||||
@@ -108,8 +103,9 @@ class Start {
|
||||
const style = { font: "32px Arial", fill: "#fff", align: "left", boundsAlignH: "center", boundsAlignV: "middle" };
|
||||
let howToPlayText = game.add.text(0, 0, text, style);
|
||||
howToPlayText.setTextBounds(100, 100, game.world.width - 200, 200);
|
||||
howToPlayText.stroke = "#333";
|
||||
howToPlayText.strokeThickness = 5;
|
||||
// howToPlayText.stroke = "#333";
|
||||
// howToPlayText.strokeThickness = 5;
|
||||
howToPlayText.setShadow(3, 3, 'rgba(0, 0, 0, 0.5)', 2);
|
||||
}
|
||||
|
||||
makeStartButton() {
|
||||
|
||||
Reference in New Issue
Block a user