diff --git a/src/game/menu/animal_record_list.js b/src/game/menu/animal_record_list.js index 96c720c..0911955 100644 --- a/src/game/menu/animal_record_list.js +++ b/src/game/menu/animal_record_list.js @@ -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; \ No newline at end of file +AnimalRecordList.TYPE_TEST = 1; + +AnimalRecordList.COLOR_BG = 0x77aadd; //0x99ccff; +AnimalRecordList.COLOR_SCORE_DEFAULT_TEXT = "#bbddff"; +AnimalRecordList.COLOR_SCORE_CLEARED_TEXT = "#ffffff"; \ No newline at end of file