Fix: score 0 when clicked before 1 sec
This commit is contained in:
@@ -77,7 +77,7 @@ JustOnTime.prototype.create = function() {
|
|||||||
this.makeGuideButton(
|
this.makeGuideButton(
|
||||||
225, JustOnTime.GUIDE_BUTTON_POS_Y,
|
225, JustOnTime.GUIDE_BUTTON_POS_Y,
|
||||||
"시작 ~ 1초",
|
"시작 ~ 1초",
|
||||||
"점수 : 시작 초의 " + TimerStage.REWARD_BAD + "배",
|
"점수 없음",
|
||||||
0xFAFAD2
|
0xFAFAD2
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ TimerStage.prototype.gradeBad = function(timeLeft) {
|
|||||||
this.onPlusScoreEventHandler(score, timeLeft);
|
this.onPlusScoreEventHandler(score, timeLeft);
|
||||||
var animationNote = new AnimationNote(
|
var animationNote = new AnimationNote(
|
||||||
this.posX, this.posY,
|
this.posX, this.posY,
|
||||||
startTime + "초 X " + TimerStage.REWARD_BAD + "배 = " + score,
|
"0점",
|
||||||
"LightGoldenRodYellow"
|
"LightGoldenRodYellow"
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -262,7 +262,7 @@ TimerStage.GRADE_SOSO_MS = 1000;
|
|||||||
TimerStage.REWARD_GREAT = 10;
|
TimerStage.REWARD_GREAT = 10;
|
||||||
TimerStage.REWARD_GOOD = 3;
|
TimerStage.REWARD_GOOD = 3;
|
||||||
TimerStage.REWARD_SOSO = 2;
|
TimerStage.REWARD_SOSO = 2;
|
||||||
TimerStage.REWARD_BAD = 1;
|
TimerStage.REWARD_BAD = 0;
|
||||||
|
|
||||||
TimerStage.TIME_EXTENSION_GREAT_MS = 3000;
|
TimerStage.TIME_EXTENSION_GREAT_MS = 3000;
|
||||||
TimerStage.TIME_EXTENSION_GOOD_MS = 1000;
|
TimerStage.TIME_EXTENSION_GOOD_MS = 1000;
|
||||||
|
|||||||
Reference in New Issue
Block a user