Skip to content

Commit

Permalink
Merge pull request #4 from mikocot/release-v1.0
Browse files Browse the repository at this point in the history
Release v1.0
  • Loading branch information
mikocot authored Aug 19, 2022
2 parents 307a3dc + fd0ae76 commit de8e2e9
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 @@ -29,7 +29,7 @@ footer, header, hgroup, menu, nav, section {
display: block;
}
body {
/* Add background-color declaration here */
background-color: black;
}
ol, ul {
list-style: none;
Expand Down
4 changes: 2 additions & 2 deletions engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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 = "";
Expand Down
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit de8e2e9

Please sign in to comment.