added rectangles to score tab
This commit is contained in:
@@ -76,7 +76,7 @@ function scoremenu() {
|
||||
textAlign(CENTER, CENTER);
|
||||
textSize(50);
|
||||
fill(255, 255, 255);
|
||||
text("Score", width / 2, height / 4);
|
||||
text("Score", width / 2, height / 5);
|
||||
textSize(32);
|
||||
text(letters[currentIndex[0]], width / 2 - 30, height / 3);
|
||||
text(letters[currentIndex[1]], width / 2, height / 3);
|
||||
@@ -97,4 +97,16 @@ function scoremenu() {
|
||||
else {
|
||||
nameDraw(3);
|
||||
}
|
||||
|
||||
push()
|
||||
stroke(4, 217, 255)
|
||||
strokeWeight(5)
|
||||
fill(0, 255, 0, 0)
|
||||
rect(width / 4 * 3, height / 2, width / 4, height / 1.25)
|
||||
rect(width / 4, height / 2, width / 4, height / 1.25)
|
||||
pop()
|
||||
push()
|
||||
text("Your scores", width / 4, height / 6)
|
||||
text("Your achievements", width / 4 * 3, height / 6)
|
||||
pop()
|
||||
}
|
Reference in New Issue
Block a user