Skip to content

Commit

Permalink
Merge pull request #3 from Ty-Pi/release-v1.0
Browse files Browse the repository at this point in the history
Release v1.0
  • Loading branch information
Ty-Pi authored Feb 29, 2024
2 parents bce1596 + 805eacd commit f3cf597
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ section {
display: block;
}
body {
/* Add background-color declaration here */
background-color: black;
}
ol,
ul {
Expand Down
4 changes: 2 additions & 2 deletions engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f3cf597

Please sign in to comment.