From c6d6c8e90e7e64890a38bae8c43c2635672ae6f0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 28 Nov 2023 15:02:05 +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 8c59877..113e89b 100644 --- a/engine.js +++ b/engine.js @@ -190,7 +190,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); @@ -480,7 +480,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, diff --git a/game.js b/game.js index 4c059ee..6c2becd 100644 --- a/game.js +++ b/game.js @@ -125,7 +125,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); }