Fix: chagne animal record list color

This commit is contained in:
2018-12-20 23:11:21 +09:00
parent 6f0c254269
commit 2ef0f6905d
+7 -2
View File
@@ -12,7 +12,7 @@ function AnimalRecordList() {
this.activeAnimalIndex = 0;
game.add.graphics()
.beginFill(AppAreaBG.COLOR_MOUSE_APP, 1)
.beginFill(AnimalRecordList.COLOR_BG, 1)
.drawRect(
0, ScreenTopUI.BG_HEIGHT,
game.world.width, 80
@@ -54,6 +54,7 @@ AnimalRecordList.prototype.printScore = function(type) {
typingCount, titleTextStyle
);
recordText.anchor.set(0.5);
recordText.addColor(AnimalRecordList.COLOR_SCORE_DEFAULT_TEXT, 0);
recordText.stroke = "#333";
recordText.strokeThickness = 3;
recordText.setShadow(1, 1, 'rgba(0, 0, 0, 0.5)', 2);
@@ -97,4 +98,8 @@ AnimalRecordList.RECORD_TEXT_OFFSET_Y = 36;
AnimalRecordList.ALPHA_INACTIVE = 0.3;
AnimalRecordList.TYPE_PRACTICE = 0;
AnimalRecordList.TYPE_TEST = 1;
AnimalRecordList.TYPE_TEST = 1;
AnimalRecordList.COLOR_BG = 0x77aadd; //0x99ccff;
AnimalRecordList.COLOR_SCORE_DEFAULT_TEXT = "#bbddff";
AnimalRecordList.COLOR_SCORE_CLEARED_TEXT = "#ffffff";