From 017b319e5dc11ce26a38629744207121ba828768 Mon Sep 17 00:00:00 2001 From: githubteacher Date: Mon, 5 Nov 2018 22:14:00 -0800 Subject: [PATCH 1/2] Change color to gray --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index 15b4bda..3bbe9f8 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 = "#0F0"; + starCtx.fillStyle = "#FFF"; starCtx.fillRect(0,0,stars.width,stars.height); } From 8219a5a7ecda37e19906966c50a0fa626a48391b Mon Sep 17 00:00:00 2001 From: fernandozpiccin Date: Tue, 26 Jan 2021 15:33:32 +0000 Subject: [PATCH 2/2] Update game.js I think it will look better now, good work! Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com> --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index 3bbe9f8..4eee6b3 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 = "#FFF"; + starCtx.fillStyle = "#000"; starCtx.fillRect(0,0,stars.width,stars.height); }