Skip to content

Commit 7b7103c

Browse files
committed
color and size changes for game on
1 parent d665b0a commit 7b7103c

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

Scripts/textScript.js

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ function doTerminal() {
4949

5050
let posXtextT = windowWidth - (windowWidth - 100);
5151
let posYtextT = windowHeight - 600;
52-
let w = 325;
52+
let w = 500;
5353
let h = 400;
54-
let color = 250;
54+
let color = 255;
5555

5656
textAlign(LEFT);
5757
if (offline) {
@@ -60,7 +60,7 @@ function doTerminal() {
6060
textFont("Ubuntu Mono");
6161
}
6262

63-
textSize(20);
63+
textSize(33);
6464
fill(color);
6565
noStroke();
6666
textLeading(30);
@@ -141,15 +141,22 @@ function DoSubtitle() {
141141
line = 70;
142142
textAlign(CENTER);
143143
textFont("Verdana");
144-
textSize(47);
144+
textSize(52);
145145
textLeading(50); // pixels between each line
146146

147+
148+
// fill(0, 70);
149+
// rect(posYtextS, windowWidth - 140, 300);
150+
147151
fill(0, 0, 0, 5); //shadow for subtitle
148152
// text('I can tell you that' + rnnSub, line + 2, posYtextS + 2, windowWidth, 300);
149153
stroke(0);
150-
fill(255, 255, 64);
154+
// fill(255, 255, 64);
155+
fill(255, 255, 120);
156+
157+
151158

152-
text(regexRnnSub, line, posYtextS, windowWidth - 100, 300);
159+
text(regexRnnSub, line, posYtextS, windowWidth - 140, 300);
153160

154161
// text(rnnSub, line, posYtextS, windowWidth - 100, 300);
155162
}
@@ -171,7 +178,7 @@ function extraText() {
171178
textFont('Staatliches');
172179
textFont('Press Start 2P');
173180

174-
textSize(35);
181+
textSize(60);
175182
fill(228, 0, 124); // rosa mexicano
176183
noStroke();
177184
textLeading(45);

0 commit comments

Comments
 (0)