Skip to content

Commit 98ece56

Browse files
authored
Merge pull request #1 from prasuCode/update-text-colors
Updated game text style
2 parents be2dc75 + 8d83574 commit 98ece56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

engine.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ var TitleScreen = function TitleScreen(title, subtitle, callback) {
190190
};
191191

192192
this.draw = function (ctx) {
193-
ctx.fillStyle = "#FFFFFF";
193+
ctx.fillStyle = "#00FF00";
194194

195195
ctx.font = "bold 40px bangers";
196196
var measure = ctx.measureText(title);
@@ -480,7 +480,7 @@ var GamePoints = function () {
480480
this.draw = function (ctx) {
481481
ctx.save();
482482
ctx.font = "bold 18px arial";
483-
ctx.fillStyle = "#FFFFFF";
483+
ctx.fillStyle = "#00FF00";
484484

485485
var txt = "" + Game.points;
486486
var i = pointsLength - txt.length,

game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ var Starfield = function (speed, opacity, numStars, clear) {
125125
// If the clear option is set,
126126
// make the background black instead of transparent
127127
if (clear) {
128-
starCtx.fillStyle = "#000";
128+
starCtx.fillStyle = "#0F0";
129129
starCtx.fillRect(0, 0, stars.width, stars.height);
130130
}
131131

0 commit comments

Comments
 (0)