mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
Update semag/crossnroad/index.html
This commit is contained in:
parent
81fe8dbc4e
commit
78bbef0648
@ -110,7 +110,7 @@ function preload() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setup() {
|
function setup() {
|
||||||
createCanvas(700, 700);
|
createCanvas(windowWidth, windowHeight);
|
||||||
carSpeed = random(5, 15);
|
carSpeed = random(5, 15);
|
||||||
carType = random(["🚗", "🚙", "🚓"]);
|
carType = random(["🚗", "🚙", "🚓"]);
|
||||||
|
|
||||||
@ -144,6 +144,7 @@ function draw() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
push();
|
push();
|
||||||
|
textFont('Press');
|
||||||
textSize(50);
|
textSize(50);
|
||||||
text("Score: " + score, 10, 50);
|
text("Score: " + score, 10, 50);
|
||||||
pop();
|
pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user