From eac490b4e3e0cbbb222d0364e7ff5f5d05a11a20 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 20 Aug 2022 20:58:02 +0000 Subject: [PATCH] Changed game text colors to green --- engine.js | 4 ++-- game.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine.js b/engine.js index 8853903..5d54d46 100644 --- a/engine.js +++ b/engine.js @@ -170,7 +170,7 @@ var TitleScreen = function TitleScreen(title,subtitle,callback) { }; this.draw = function(ctx) { - ctx.fillStyle = "#FFFFFF"; + ctx.fillStyle = "#00FF00"; ctx.font = "bold 40px bangers"; var measure = ctx.measureText(title); @@ -437,7 +437,7 @@ var GamePoints = function() { this.draw = function(ctx) { ctx.save(); ctx.font = "bold 18px arial"; - ctx.fillStyle= "#FFFFFF"; + ctx.fillStyle= "#00FF00"; var txt = "" + Game.points; var i = pointsLength - txt.length, zeros = ""; diff --git a/game.js b/game.js index 4eee6b3..15b4bda 100644 --- a/game.js +++ b/game.js @@ -91,7 +91,7 @@ var Starfield = function(speed,opacity,numStars,clear) { // If the clear option is set, // make the background black instead of transparent if(clear) { - starCtx.fillStyle = "#000"; + starCtx.fillStyle = "#0F0"; starCtx.fillRect(0,0,stars.width,stars.height); }