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
296229b4b9
commit
2b66fe45c3
@ -107,6 +107,7 @@ var loseMode = false;
|
||||
|
||||
function preload() {
|
||||
Press = loadFont('assets/Press.ttf');
|
||||
Emoji = loadFont('assets/Emoji.ttf');
|
||||
}
|
||||
|
||||
function setup() {
|
||||
@ -186,6 +187,7 @@ function cars() {
|
||||
);
|
||||
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(100);
|
||||
text(carType, carX, 570);
|
||||
pop();
|
||||
@ -198,6 +200,7 @@ function cars() {
|
||||
}
|
||||
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(100);
|
||||
text(carType2, carX2, 430);
|
||||
pop();
|
||||
@ -210,6 +213,7 @@ function cars() {
|
||||
}
|
||||
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(100);
|
||||
text(carType3, carX3, 185);
|
||||
pop();
|
||||
@ -273,6 +277,7 @@ function keyPressed() {
|
||||
|
||||
function doorKey() {
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(60);
|
||||
text("🔑", keyX, keyY);
|
||||
pop();
|
||||
@ -313,6 +318,7 @@ function rectRect(r1x, r1y, r1w, r1h, r2x, r2y, r2w, r2h) {
|
||||
function door() {
|
||||
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(80);
|
||||
text("🚪", 320, 60);
|
||||
pop();
|
||||
@ -329,6 +335,7 @@ function door() {
|
||||
|
||||
function lifeCount() {
|
||||
push();
|
||||
textFont('Emoji');
|
||||
textSize(50);
|
||||
text("❤️", 510, 50);
|
||||
text("❤️", 570, 50);
|
||||
|
Loading…
x
Reference in New Issue
Block a user