Skip to content

Commit

Permalink
Hardcode less
Browse files Browse the repository at this point in the history
  • Loading branch information
mrworldwide1 committed Jul 31, 2023
1 parent 84f15b9 commit 552989c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ function aboutScreen() {
text("Money Printing Sim is my first ever attempt at creating a somewhat polished game. As I've always been drawn to games that involve calculations, data, stats, etc., I was inspired by incremental games the likes of Cookie Clicker and Clicker Heroes.", 650, 150, windowWidth, windowHeight);
// loops through all text in the array and display them
for (let i = 0; i < aboutText.length; i++) {
text(aboutText[i], 650, aboutTextPosY, windowWidth - 50, windowHeight - 50);
text(aboutText[i], 650, aboutTextPosY, windowWidth/1.07, windowHeight - 50);
aboutTextPosY += 50;
}
textSize(24);
Expand Down

0 comments on commit 552989c

Please sign in to comment.