From 552989ceb82918feb1997086e061bece14d72e51 Mon Sep 17 00:00:00 2001 From: Lucas Leung <66652566+mrworldwide1@users.noreply.github.com> Date: Sun, 30 Jul 2023 21:00:29 -0400 Subject: [PATCH] Hardcode less --- game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.js b/game.js index 0ebcea5..a35095e 100644 --- a/game.js +++ b/game.js @@ -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);